Sendmail on RHEL 4 not listening on all interfaces
Posted on 2008-06-14
Good morning all. I've got a RHEL 4 machine with sendmail installed. I've modified /etc/mail/sendmail.mc to listen on all interfaces but when I do a netstat -tulpn | grep sendmail I get:
[root@db2 mail]# netstat -tulpn | grep sendmail
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 8108/sendmail: acce
As shown it's only listening on 127.0,0.1 port 25. In the sendmail.mc file I uncommented and edited the following lines:
dnl # The following causes sendmail to only listen on the IPv4 loopback address
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
As you might expect I can telnet to port 25 from localhost but from nowhere else. What is causing this no not listen on all interfaces? What am I doing wrong here? Just stumped.
Thanks in advance!