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

Gerald Waugh gwaugh at frontstreetnetworks.com
Mon Sep 20 06:58:43 -05 2010


On Sun, 2010-09-19 at 21:03 -0500, Chuck Tetlow wrote:
> 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. 

access was blocked in /etc/mail/access for host.domain.tld, never did
find out why, but removed the block, rehashed and restarted sendmail all
OK....

Gerald




More information about the Blueonyx mailing list