problems with mail

Jeff Vian jvian10 at charter.net
Tue Jun 22 18:43:06 UTC 2004



Alexander Dalloz wrote:

>Am Mo, den 21.06.2004 schrieb Jeff Vian um 23:04:
>
>  
>
>>We recently had an extended power outage at a remote site and one of my 
>>servers was shutdown hard.
>>
>>After power was restored (3 days later) and it came back up I have been 
>>having problems with mail.
>>I first noticed it when my daily logwatch reports were no longer being sent.
>>On further investigation I find that I cannot even send mail from one 
>>user to another on the same box.  
>>
>>I have done a complete update, replaced procmail and sendmail, rechecked 
>>all the configs in case something had gotten hosed, and rebooted several 
>>times as well as restarting services.  Nothing has worked so far.
>>
>>Does anyone have pointers on where to look for this type problem?
>>    
>>
>
>What does the /var/log/maillog say when trying to send a mail locally?
>Does the sendmail daemon run (2 processes!)? Please provide us with
>error messages or don't you get any feedback when sending a mail? How do
>you send? If you send a test mail locally by running something like
>"date | mail -s "test mail" recipient at localhost", is that accepted
>without any complaint?
>
>Alexander
>  
>
These are in maillog, from todays logwatch and some of the queued 
messages that have not been delivered.

Jun 22 04:03:00 www sendmail[1625]: i5M930GG001625: from=root, 
size=66223, class=0, nrcpts=1, 
msgid=<200406220903.i5M930GG001625 at www.chartertexas.org>, 
relay=root at localhost
Jun 22 04:03:01 www sendmail[1625]: i5M930GG001625: to=root, 
ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, 
pri=30053, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 
Connection refused by [127.0.0.1]
Jun 22 04:29:17 www sm-msp-queue[1772]: i5M930GG001625: to=root, 
ctladdr=root (0/0), delay=00:26:17, xdelay=00:00:00, mailer=relay, 
pri=120053, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 
Connection refused by [127.0.0.1]
Jun 22 04:29:18 www sm-msp-queue[1772]: i5M0THHE001357: 
to=<jeff at www.chartertexas.org>, delay=08:59:58, xdelay=00:00:00, 
mailer=relay, pri=841492,
relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by 
[127.0.0.1]


Sending mail using pine from one user to another -->   accepted with no 
messaages

using the command you provided completes with no messages at all, but 
the maillog shows this for the attempt.

Jun 22 12:35:14 www sendmail[1954]: i5MHZEcP001954: from=root, size=68, 
class=0, nrcpts=1, 
msgid=<200406221735.i5MHZEcP001954 at www.chartertexas.org>, 
relay=root at localhost
Jun 22 12:35:14 www sendmail[1954]: i5MHZEcP001954: to=jeff at localhost, 
ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, 
pri=30039, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 
Connection refused by [127.0.0.1]


from ps output I get
root       670  0.0  0.4  6136  860 ?        S    Jun21   0:00 sendmail: 
accepting connections
smmsp      679  0.0  0.4  5928  792 ?        S    Jun21   0:00 sendmail: 
Queue runner at 01:00:00 for /var/spool/clientmqueue


Sendmail is running with 2 processes as it should be, and restarted 
yesterday while I was trying to fix it..
The only errors indicate localhost is not accepting connections.

This exact config has worked flawlessly for months until the power 
outage, which seems to have broken something.

Can you point to a likely point of failure?

I have even run the make command again to recreate the sendmail.cf file.






More information about the fedora-list mailing list