<div dir="ltr">Benjamin<div><br></div><div>Firstly, you'll see 220 at the very start, and then 250 after sending EHLO or HELO. So you were correct the first time, with "expect 220".</div><div><br></div><div>Secondly, the mail server uses STARTTLS, so it's not doing encryption at the point that the EHLO and QUIT strings are sent. The "ssl" option in protocols.cfg assumes SSL/TLS is present during the handshake, immediately after the TCP connection is established, rather than after issuing the "send" string. Try removing the "ssl" option from protocols.cfg and see if that helps.</div><div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 16 Jun 2021 at 05:07, Lists <<a href="mailto:lists@benjamindsmith.com">lists@benjamindsmith.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">After some squinting, I noticed that smtp service on telnet responds with 220 <br>
but over SSL with the openssl command it returns 250. I changed the "expect" <br>
parameter in [smtps] section of protocols.cnf to "250" and it made no <br>
difference. <br>
<br>
Whatever it's complaining about it has something to do with SSL. _______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>