[opensuse] postfix does not listen on external interface
Hi, I'm new to opensuse but veteran of RedHat, Mandriva and Ubuntu. Fresh install of openSuSE 10.3. Postfix listens on localhost but does not listen on eth0. More precisely, when I run "telnet <IP> 25" from an outside PC, I get "Unable to connect to remote host: Connection refused". I need Postfix to listen on eth0. No firewall is installed. "iptables -L INPUT" and "iptables -L OUTPUT" show "POLICY ACCEPT" and no rules are specified. /etc/postfix/main.cf has inet_interfaces commented out. Setting "inet_interfaces=all" does not help. /etc/postfix/master.cf has this line about smtpd: smtp inet n - n - - smtpd Please help. -- Milos Prudek -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Milos Prudek wrote:
I need Postfix to listen on eth0.
/etc/postfix/main.cf has inet_interfaces commented out. Setting "inet_interfaces=all" does not help.
Yes it will, if you don't override it further down in main.cf. Use 'grep inet_interfaces /etc/postfix/main.cf' to see where inet_interfaces is being set. /Per Jessen, Zürich -- http://www.spamchek.com/ - your spam is our business. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Milos Prudek wrote:
Hi,
I'm new to opensuse but veteran of RedHat, Mandriva and Ubuntu.
Fresh install of openSuSE 10.3. Postfix listens on localhost but does not listen on eth0. More precisely, when I run "telnet <IP> 25" from an outside PC, I get "Unable to connect to remote host: Connection refused".
I need Postfix to listen on eth0.
No firewall is installed. "iptables -L INPUT" and "iptables -L OUTPUT" show "POLICY ACCEPT" and no rules are specified.
/etc/postfix/main.cf has inet_interfaces commented out. Setting "inet_interfaces=all" does not help.
/etc/postfix/master.cf has this line about smtpd: smtp inet n - n - - smtpd
Postfix on Opensuse listens on localhost only by default. This will work in any case: postconf -e "inet_interfaces = all" rcpostfix restart check with "netstat -antp | grep ":25" It should also be possible to configure Postfix from within the MTA module in yast. But be careful. Once you configure Postfix manually, Yast will not touch the Postfix config files anymore. -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Postfix on Opensuse listens on localhost only by default.
Indeed. I did not expect the command inet_interfaces=all to be overridden. Yet it is mentioned at the very top of the main.cf file that it could be overriden. It works now. Thank you Sandy and Per. -- Milos Prudek -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Milos Prudek
-
Per Jessen
-
Sandy Drobic