mail / mailx question

Paul Allen Newell pnewell at cs.cmu.edu
Fri Jul 8 21:46:22 UTC 2011


On 7/8/2011 5:44 AM, Steven Stern wrote:
> What do you see in /var/log/maillog when you try to send a message
> outside your system?
>
Jul  7 22:18:11 yoyo sendmail[2893]: p685IBvb002893: 
from=<paul at localhost.localdomain>, size=528, class=0, nrcpts=2, 
msgid=<201107080518.p685IBV1002892 at localhost.localdomain>, proto=ESMTP, 
daemon=MTA, relay=yoyo [127.0.0.1]

Jul  7 22:18:11 yoyo sendmail[2892]: p685IBV1002892: 
to=root at localhost,pnewell at cs.cmu.edu, ctladdr=paul (500/500), 
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60267, 
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p685IBvb002893 
Message accepted for delivery)

Jul  7 22:18:12 yoyo sendmail[2894]: p685IBvb002893: 
to=<root at localhost.localdomain>, ctladdr=<paul at localhost.localdomain> 
(500/500), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=60723, 
dsn=2.0.0, stat=Sent

Jul  7 22:24:12 yoyo sendmail[2894]: p685IBvb002893: 
to=<pnewell at cs.cmu.edu>, ctladdr=<paul at localhost.localdomain> (500/500), 
delay=00:06:01, xdelay=00:06:00, mailer=esmtp, pri=60723, 
relay=mx-lb-02.srv.cs.cmu.edu. [128.2.217.9], dsn=4.0.0, stat=Deferred: 
Connection timed out with mx-lb-02.srv.cs.cmu.edu.

[power down machine, restart @2:00pm 08jul11]

Jul  8 14:09:16 yoyo sendmail[1513]: p685IBvb002893: 
to=<pnewell at cs.cmu.edu>, ctladdr=<paul at localhost.localdomain> (500/500), 
delay=15:51:05, xdelay=00:06:01, mailer=esmtp, pri=150723, 
relay=mx-lb-03.srv.cs.cmu.edu. [128.2.217.14], dsn=4.0.0, stat=Deferred: 
Connection timed out with mx-lb-03.srv.cs.cmu.edu.

Jul  8 14:09:16 yoyo sendmail[1513]: p685IBvb002893: p68L3Ek2001513: 
sender notify: Warning: could not send message for past 4 hours

I can see a copy in /var/spool/mail/root and, in /var/spool/mail/paul, I 
can see the send to root at localhost and pnewell at cs.cmu.edu plus the 
mailings of the time-out failures et al that are in /var/log/maillog

Thanks,
Paul


More information about the users mailing list