On Sun, Sep 11, 2016 at 01:05:29PM -0700, Mark Hannig wrote:
Can you please help me. Stunnel has been working fine for months and I just started getting these errors in the last day or two. Thank you:
2016.09.11 13:43:38 LOG5[10]: Service [ssmtp] accepted connection from 46.101.193.127:33818 2016.09.11 13:43:40 LOG3[10]: SSL_accept: Peer suddenly disconnected 2016.09.11 13:43:40 LOG5[10]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket 2016.09.11 13:43:40 LOG5[11]: Service [ssmtp] accepted connection from 46.101.193.127:34154 2016.09.11 13:43:40 LOG3[11]: SSL_accept: 1408A10B: error:1408A10B:SSL routines:ssl3_get_client_hello:wrong version number 2016.09.11 13:43:40 LOG5[11]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket 2016.09.11 13:43:40 LOG5[12]: Service [ssmtp] accepted connection from 46.101.193.127:34254 2016.09.11 13:43:42 LOG3[12]: s_connect: connect 127.0.0.1:25: Connection refused (WSAECONNREFUSED) (10061)
[snip]
Hmm, sorry that I didn't spot this earlier... but this message means that stunnel tried to connect to the service that you've told it to connect to (your real service, the SMTP server that you're trying to protect using SSL), and that service was not accepting connections at the time.
If the problem persists, can you make sure that your SMTP server is running and actually listening on the localhost address?
G'luck, Peter