====== Testing SMTP AUTH connections ====== ---- % perl -MMIME::Base64 -e 'print encode_base64("\000jms1\@jms1.net\000not.my.real.password")' AGptczFAam1zMS5uZXQAbm90Lm15LnJlYWwucGFzc3dvcmQ= % telnet 1.2.3.4 25 220 a.mx.jms1.net NO UCE ESMTP ehlo testing 250-a.mx.jms1.net NO UCE 250-STARTTLS 250-PIPELINING 250 8BITMIME quit % openssl s_client -starttls smtp -crlf -connect 1.2.3.4:25 % openssl s_client -crlf -connect 1.2.3.4:465 220 a.mx.jms1.net NO UCE ESMTP ehlo testing 250-a.mx.jms1.net NO UCE 250-AUTH LOGIN PLAIN 250-AUTH=LOGIN PLAIN 250-PIPELINING 250 8BITMIME AUTH PLAIN AGptczFAam1zMS5uZXQAbm90Lm15LnJlYWwucGFzc3dvcmQ= 235 ok, go ahead (#2.0.0) AUTH PLAIN AGptczFAam1zMS5uZXQAbm90Lm15LnJlYWwucGFzc3dvcmQ= 535 authorization failed (#5.7.0) mail from: 250 ok rcpt to: 250 ok data 354 go ahead From: John To: Nobody Subject: fnord hail eris! . 250 ok 1113954693 qp 29052 quit 221 a.mx.jms1.net NO UCE ===== Links ===== * http://qmail.jms1.net/test-auth.shtml