New Old Stk wrote: > > > Sorry Brian, i didn't post the full command I was testing the > connection with. Yes, it had -starttls among other things and it did > work fine. I was able to connect, AUTH PLAIN generated string (below) > and get 235 2.0.0 Authentication successful: > > #perl -MMIME::Base64 -e 'print encode_base64("\0username\0password")' > /AHVzZXJuYW1lAlXXXX&YYYYZZZZ/ > #openssl s_client -starttls smtp -crlf -connect localhost:25 > > 8. If I set mail client to authenticate and use SSL result in log is > as follows: > > > Jun 30 16:47:16 one postfix/smtpd[23346]: connect from > host86-165-212-234.range86-165.btcentralplus.com > <http://host86-165-212-234.range86-165.btcentralplus.com>[86.165.212.234] > Jun 30 16:47:16 one postfix/smtpd[23346]: lost connection after > UNKNOWN from host86-165-212-234.range86-165.btcentralplus.com > <http://host86-165-212-234.range86-165.btcentralplus.com>[86.165.212.234] > Jun 30 16:47:16 one postfix/smtpd[23346]: disconnect from > host86-165-212-234.range86-165.btcentralplus.com > <http://host86-165-212-234.range86-165.btcentralplus.com>[86.165.212.234] >
Some clients use "SSL" to mean the archaic smtps protocol (most famously Outlook and Outlook Express) on port 465. If you uncomment the smtps line in master.cf, you may see a difference. Most modern clients, such as Squirelmail and Thunderbird, use STARTTLS as one of their options when sending email. Brian