running sendmail

John Vasileff john.lists at gmail.com
Tue Jan 18 12:27:01 CST 2005


On Tue, 18 Jan 2005 12:45:34 -0500, Mark Eyman <meyman at higherone.com> wrote:
> I'm not sure if this is the right forum to ask this question, but let's try.
> 
> I have sendmail preinstalled on poweredge 750 running es 3.0.
> 
> # ps -ef | grep sendmail
> root      2599     1  0 Jan14 ?        00:00:03 sendmail: accepting connections
> smmsp     2608     1  0 Jan14 ?        00:00:00 sendmail: Queue runner at 01:00:00 for /var/spool/clientmqueue
> #
> 
> If I test on a localhost, things look fine:
> 
> # telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> 220 hostname ESMTP Sendmail 8.12.11/8.12.11; Tue, 18 Jan 2005 12:24:19 -0500
> 
> But when I go remotely, connection is refused:
> 
> $ telnet 172.16.2.26 25
> Trying 172.16.2.26...
> telnet: Unable to connect to remote host: Connection refused
> 
> Any idea what could cause this behavior?
> Thanks
> -Mark

If you are using RHEL or Fedora, check out /etc/mail/sendmail.mc :

dnl #
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.
dnl #
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

You can also see the ip addresses/ports sendmail is listening on with
'netstat -anp'.

John




More information about the Linux-PowerEdge mailing list