[exim4] Testing and making sense of smtp output
Setup: jessie 64 bit
Freshly configured exim4
I'm quite new to exim4 although I've had it running on another Debian
install for few months now. At any rate I'm not experienced enough to
know how to find the source of a problem once I've gotten to the point
where I'm attempting to send mail.
Watching the smtp conversation but not sure what it is telling me.
There may better ways to get some verbose output. If so, I hope
someone points them out.
I'm using `mailx -v' to get some verbose output regarding the smtp
conversation like the example a couple of para below:
(I'm not sure if this output means it worked or it failed. I can tell
you that nothing is showing up at the other end)
Can any of you experienced exim4 hands interpret this output?
Did the Authentication work or fail?
[NOTE: Just for the information, my lan is a fake one 2xd.{local.lan} was just invented right
out of thin air some yrs ago]
------- ------- ---=--- ------- -------
$ mailx -v -s "TEST $(dtf) $(hostname -f)" reader@newsguy.com < txtmsg.txt
LOG: MAIN
<= harry@2xd.local.lan U=harry P=local S=569
$ delivering 1Xauru-0003TT-Fh
R: smarthost for reader@newsguy.com
T: remote_smtp_smarthost for reader@newsguy.com
Transport port=25 replaced by host-specific port=587
Connecting to mail.messagingengine.com [66.111.4.52]:587 ... connected
SMTP<< 220 mail.messagingengine.com ESMTP ready
SMTP>> EHLO 2xd
SMTP<< 250-mail.messagingengine.com
250-PIPELINING
250-SIZE 71000000
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 STARTTLS
SMTP>> STARTTLS
SMTP<< 220 2.0.0 Start TLS
SMTP>> EHLO 2xd
SMTP<< 250-mail.messagingengine.com
250-PIPELINING
250-SIZE 71000000
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-AUTH PLAIN LOGIN
250 AUTH=PLAIN LOGIN
SMTP>> AUTH PLAIN ************************************
SMTP<< 235 2.0.0 OK
SMTP>> MAIL FROM:<harry@2xd.local.lan> SIZE=1609 AUTH=harry@2xd.local.lan
SMTP>> RCPT TO:<reader@newsguy.com>
SMTP>> DATA
SMTP<< 250 2.1.0 Ok
SMTP<< 250 2.1.5 Ok
SMTP<< 354 End data with <CR><LF>.<CR><LF>
SMTP>> writing message and terminating "."
SMTP<< 250 2.0.0 Ok: queued as E25066800A8
SMTP>> QUIT
LOG: MAIN
=> reader@newsguy.com R=smarthost T=remote_smtp_smarthost H=mail.messagingengine.com [66.111.4.52] X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 DN="C=AU,ST=Victoria,L=Melbourne,O=FastMail Pty Ltd,CN=*.messagingengine.com" A=plain C="250 2.0.0 Ok: queued as E25066800A8"
LOG: MAIN
Completed
Reply to: