This has been working for years and recently stopped.  I am a novice here.  Can someone look at this and please tell me what is happening?  It is an old server that does not support TLS so we put Stunnel in front of it.  I am sure the version of stunnel is pretty old.  Maybe a TLS level issue?

 

2021.10.26 14:47:30 LOG7[21968:139797665822784]: SSL options set: 0x01000004

2021.10.26 14:47:30 LOG6[21968:139797665822784]: Initializing service [SMTP Outgoing]

2021.10.26 14:47:30 LOG7[21968:139797665822784]: SSL options set: 0x01000004

2021.10.26 14:47:30 LOG6[21968:139797665822784]: Initializing service [IMAP]

2021.10.26 14:47:30 LOG7[21968:139797665822784]: SSL options set: 0x01000004

2021.10.26 14:47:30 LOG5[21968:139797665822784]: Configuration successful

2021.10.26 14:47:30 LOG7[21968:139797665822784]: Service [POP3 Incoming] (FD=12) bound to 0.0.0.0:110

2021.10.26 14:47:30 LOG7[21968:139797665822784]: Service [SMTP Outgoing] (FD=13) bound to 0.0.0.0:25

2021.10.26 14:47:30 LOG7[21968:139797665822784]: Service [IMAP] (FD=14) bound to 0.0.0.0:143

2021.10.26 14:47:30 LOG7[21974:139797665822784]: Created pid file /var/run/stunnel.pid

2021.10.26 14:48:30 LOG7[21974:139797665822784]: Service [IMAP] accepted (FD=3) from 10.55.3.159:1852

2021.10.26 14:48:30 LOG7[21974:139797665818368]: Service [IMAP] started

2021.10.26 14:48:30 LOG7[21974:139797665818368]: Waiting for a libwrap process

2021.10.26 14:48:30 LOG7[21974:139797665818368]: Acquired libwrap process #0

2021.10.26 14:48:30 LOG7[21974:139797665818368]: Releasing libwrap process #0

2021.10.26 14:48:30 LOG7[21974:139797665818368]: Released libwrap process #0

2021.10.26 14:48:30 LOG7[21974:139797665818368]: Service [IMAP] permitted by libwrap from 10.55.3.159:1852

2021.10.26 14:48:30 LOG5[21974:139797665818368]: Service [IMAP] accepted connection from 10.55.3.159:1852

2021.10.26 14:48:30 LOG6[21974:139797665818368]: connect_blocking: connecting 52.96.87.226:993

2021.10.26 14:48:30 LOG7[21974:139797665818368]: connect_blocking: s_poll_wait 52.96.87.226:993: waiting 10 seconds

2021.10.26 14:48:30 LOG5[21974:139797665818368]: connect_blocking: connected 52.96.87.226:993

2021.10.26 14:48:30 LOG5[21974:139797665818368]: Service [IMAP] connected remote server from 10.55.3.200:51358

2021.10.26 14:48:30 LOG7[21974:139797665818368]: Remote socket (FD=16) initialized

2021.10.26 14:48:30 LOG7[21974:139797665818368]: SNI: sending servername: outlook.office365.com

2021.10.26 14:48:30 LOG7[21974:139797665818368]: SSL state (connect): before/connect initialization

2021.10.26 14:48:30 LOG7[21974:139797665818368]: SSL state (connect): SSLv3 write client hello A

2021.10.26 14:48:30 LOG3[21974:139797665818368]: SSL_connect: Peer suddenly disconnected

2021.10.26 14:48:30 LOG5[21974:139797665818368]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket

2021.10.26 14:48:30 LOG7[21974:139797665818368]: Remote socket (FD=16) closed

2021.10.26 14:48:30 LOG7[21974:139797665818368]: Local socket (FD=3) closed

2021.10.26 14:48:30 LOG7[21974:139797665818368]: Service [IMAP] finished (0 left)