no mail from / for root

Steve Phillips steve at focb.co.nz
Sun Feb 12 23:35:26 UTC 2006


j_70 at comcast.net wrote:
> Thanks for your help with this, I am learning quite a bit as we go.
> 
> ps -aeef | grep mail and 
> ps -aeef | grep master 
> 
> return nothing. Also, /var/log/maillog.1 has entries similar to what is below. Do I need to just open port 25 or enable the mail service, or both?? TIA.
> 
> Feb 12 04:02:01 RHESSV2 sendmail[31843]: g1C951vrB031843: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=34082, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

This would indicate that sendmail is not actually listening, you need to 
do the netstat commands in order to verify this (ps -ef tells you 
processes but you may (or in this case) may not be running a different 
daemon, as in my example, "tcpserver" would not show up in your grep as 
above)

The log message suggests that you are not actually running an MTA and 
this is your problem.

(mailer=relay and relay=[127.0.0.01] as well as "connection refused by 
[127.0.0.1] indicate the mailer is trying to use SMTP as a transport and 
failing as you are not running a listening MTA)

netstat -an | grep LIST | grep :25

If the above returns something then

netstat -anp | grep LIST | grep :25

Otherwise the problem is you are not running the MTA, try

service sendmail start

-- 
Steve.




More information about the redhat-list mailing list