[BlueOnyx:05434] Re: root can't send mail

Chuck Tetlow chuck at tetlow.net
Sun Sep 19 21:03:25 -05 2010


I don't know if you've resolved this problem by now Gerald.  But "Service unavailable" typically means the server isn't running.  So either Sendmail is not running/accepting e-mail messages (most likely), or its not tied to that loopback port (unlikely), or your firewall rules are blocking that port (again unlikely).

To test, try the command "service sendmail start".  If you get a OK back (no error), try that test message again.  If the test message works - your server was dead for some reason.  Check to see if there is an entry in /etc/rc.d/rc3.d that starts the Sendmail server (S80sendmail).

If it doesn't work, check your firewall rules with "iptables -L -n".  Look to see if there are any rules blocking TCP port 25.  And look to see if there is a permit all to 127.0.0.1.  There should be one under the "Chain acctin"  that looks like "           all  --  0.0.0.0/0            127.0.0.1 "

Last, use "netstat -na" and look for the server listening on the e-mail port.  Like this:
"tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN"

Good luck.  And post back if you need any help.

Chuck

---------- Original Message -----------
From: "Gerald Waugh" <gwaugh at frontstreetnetworks.com> 
To: "BlueOnyx General Mailing List" <blueonyx at blueonyx.it> 
Sent: Thu, 9 Sep 2010 12:22:21 -0500 
Subject: [BlueOnyx:05371]  root can't send mail

> I have searched all over tried a dozen things 
> But when ever root attempts to sendmail I get errors like this on just one server. 
> I found this problem when investigating the lack of logwatch reports from this serverr 
> 
> this test sent to me 
> echo "test" | mail -s test gwaugh at frontstreetnetworks.com' 
> 
> Sep  9 10:14:53 s7 sendmail[25448]: o89HErwt025448: to=gwaugh at frontstreetnetworks.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30055, relay=[127.0.0.1] [127.0.0.1], dsn=5.0.0, stat=Service unavailable 
> 
> echo "test" | mail -s test admin 
> Sep  9 10:19:11 s7 sendmail[25708]: o89HJAai025708: to=admin, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30030, relay=[127.0.0.1] [127.0.0.1], dsn=5.0.0, stat=Service unavailable 
> 
> ideas? 
> 
> Gerald 
> 
> _______________________________________________ 
> Blueonyx mailing list 
> Blueonyx at blueonyx.it 
> http://www.blueonyx.it/mailman/listinfo/blueonyx 
------- End of Original Message -------
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20100919/8a1a6444/attachment.html>


More information about the Blueonyx mailing list