I have never heard of using openssl s_client instead of telnet so I tried to
figure out how to use it. I could connect to my server with the following.
openssl s_client -connect 10.0.1.1:25 -starttls smtp
And I can do "HELO" and "MAIL FROM:" but when I try to enter "RCPT TO:" I just
get this output and I can't go further.
RENEGOTIATING
depth=3 /C=SE/O=AddTrust AB/OU=AddTrust External TTP
Network/CN=AddTrust External CA Root
verify error:num=19:self signed certificate in certificate chain
verify return:0
Do you know what is going on? Maybe my certificate on my server is
misconfigured and I didn't even know it?...
James
> On Nov 30, 2017, at 1:55 PM, Benny Pedersen <[email protected]> wrote:
>
> Yuri Ferreira skrev den 2017-11-30 17:49:
>
>> someone help-me ?
>
> to get more help:
>
> postconf -nf
> postconf -Mf
>
> on pastebin with a link to maillist
>
> you should stop using telnet to test ssl, use openssl s_client ... to replace
> it
>
> man openssl
>
> if you see AUTH on port 25 yoy maked a mistake, but if you see STARTTLS it
> works as best it could
>
> enable smtpd_sasl on port 587 and 465, i know some will hit me now, but
> clients sometimes need port 465 depending on clients