[PLUG] Confusing SMTP error message

Jim Garrison jhg at jhmg.net
Sun Mar 11 21:01:01 UTC 2018


On 3/11/2018 5:46 AM, Rich Shepard wrote:
> On Sat, 10 Mar 2018, Jim Garrison wrote:
> 
>> What do you see in the SMTP server log?
> 
> Jim,
> 
>   I should have written that I found nothing in the mail log when checking
> for 'not sent'  and 'Sending'.

Try to match up the lines in the SMTP server log with the email, don't
just look for failures.  Open the log in "less" and then search for the
recipient around the correct date and time, then copy/paste all lines
starting with the "connect" through the "disconnect" for that
transaction.  There should be two separate sets of log entries, the
first for the delivery from your local client to your SMTP server, and
then a set for the delivery from your SMTP server to the recipient's MX.

Here's a sample from my SMTP server (emails and IPs obfuscated)

Transaction log from localhost to SMTP server
(line-broken for readability):

Mar 11 16:34:31 smtp postfix/smtpd[9075]:
    connect from c-xx-xx-xx-xx.hsd1.or.comcast.net[xx.xx.xx.xx]

Mar 11 16:34:31 smtp postfix/smtpd[9075]:
    E7D1E4093E: client=c-xx-xx-xx-xx.hsd1.or.comcast.net[xx.xx.xx.xx],
    sasl_method=PLAIN, sasl_username=zzzzz at mydomain.com

Mar 11 16:34:32 smtp postfix/cleanup[9079]:
    E7D1E4093E: message-id=
    <4c261aed-bba1-dbd8-0bd9-c81704b9f308 at mydomain.com>

Mar 11 16:34:32 smtp opendkim[1092]:
    E7D1E4093E: DKIM-Signature field added
    (s=smtp, d=mydomain.com)

Mar 11 16:34:32 smtp postfix/qmgr[1422]:
    E7D1E4093E: from=<zzzzz at mydomain.com>, size=1202, nrcpt=1
    (queue active)

Mar 11 16:34:32 smtp postfix/smtpd[9075]:
    disconnect from c-xx-xx-xx-xx.hsd1.or.comcast.net[xx.xx.xx.xx]


Transaction lot for delivery to recipient MX:

Mar 11 16:34:33 smtp postfix/smtp[9080]:
    E7D1E4093E: to=<recipient at comcast.net>,
    relay=mx2.comcast.net[68.87.20.5]:25, delay=1.6,
    delays=0.32/0.01/0.54/0.73, dsn=2.0.0, status=sent
    (250 2.0.0 v7fseyDtOI00qv7fse8ivI mail accepted for delivery)

Mar 11 16:34:33 smtp postfix/qmgr[1422]: E7D1E4093E: removed






More information about the PLUG mailing list