I have been using stunnel and Blat for several years to send emails. Recently all the emails stopped. Interestingly I also use PowerShell to send emails and they all stopped as well. That would seem to point to something external but I have no clue what that
might be. I have searched the web and have found several posts talking about (Error: Not a Socket) from Blat log but I have been unable to find a solution. In any event for stunnel I have added below the config file and the log file with debug = 7 enabled
and a screen shot of netstat -an. I also believe I am running the latest version of Stunnel and Blat. Just for additional info I have attached my powershell program and the resultant error. Any help on this issue would be greatly appreciated. Incidentally
I am not a stunnel or Blat person I just want things to work like they were.
2022.05.21 15:03:04 LOG5[5916:5920]: Reading configuration from file stunnel.conf
2022.05.21 15:03:04 LOG7[5916:5920]: PRNG seeded successfully
2022.05.21 15:03:05 LOG7[5916:5920]: SSL context initialized for service ssmtp
2022.05.21 15:03:05 LOG5[5916:5920]: Configuration successful
2022.05.21 15:03:05 LOG5[5916:5920]: No limit detected for the number of clients
2022.05.21 15:03:05 LOG7[5916:5920]: accept socket: FD=700 allocated (non-blocking mode)
2022.05.21 15:03:05 LOG7[5916:5920]: Option SO_REUSEADDR set on accept socket
2022.05.21 15:03:05 LOG7[5916:5920]: Service ssmtp bound to 127.0.0.1:25
2022.05.21 15:03:05 LOG7[5916:5920]: Service ssmtp opened FD=700
2022.05.21 15:03:05 LOG5[5916:5920]: stunnel 4.36 on x86-pc-mingw32-gnu with OpenSSL 1.0.0d 8 Feb 2
2022.05.21 15:03:05 LOG5[5916:5920]: Threading:WIN32 SSL:ENGINE Auth:none Sockets:SELECT, IPv6
2022.05.21 15:39:56 LOG7[5916:7748]: local socket: FD=692 allocated (non-blocking mode)
2022.05.21 15:39:56 LOG7[5916:7748]: Service ssmtp accepted FD=692 from 127.0.0.1:62680
2022.05.21 15:39:56 LOG7[5916:7748]: Creating a new thread
2022.05.21 15:39:56 LOG7[5916:7748]: New thread created
2022.05.21 15:39:56 LOG7[5916:11272]: Service ssmtp started
2022.05.21 15:39:56 LOG7[5916:11272]: Option TCP_NODELAY set on local socket
2022.05.21 15:39:56 LOG5[5916:11272]: Service ssmtp accepted connection from 127.0.0.1:62680
2022.05.21 15:39:56 LOG7[5916:11272]: remote socket: FD=740 allocated (non-blocking mode)
2022.05.21 15:39:56 LOG6[5916:11272]: connect_blocking: connecting 204.79.197.212:587
2022.05.21 15:39:56 LOG7[5916:11272]: connect_blocking: s_poll_wait 204.79.197.212:587: waiting 10 seconds
2022.05.21 15:40:06 LOG3[5916:11272]: connect_blocking: s_poll_wait 204.79.197.212:587: TIMEOUTconnect exceeded
2022.05.21 15:40:06 LOG5[5916:11272]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
Partial screen shot of netstat -an
TCP 127.0.0.1:25 0.0.0.0:0 LISTENING
TCP 127.0.0.1:4444 0.0.0.0:0 LISTENING
TCP 127.0.0.1:5354 0.0.0.0:0 LISTENING
TCP 127.0.0.1:5354 127.0.0.1:53941 ESTABLISHED
TCP 127.0.0.1:5354 127.0.0.1:58943 ESTABLISHED
TCP 127.0.0.1:8884 0.0.0.0:0 LISTENING
TCP 127.0.0.1:9012 0.0.0.0:0 LISTENING
TCP 127.0.0.1:27015 0.0.0.0:0 LISTENING
TCP 127.0.0.1:33555 0.0.0.0:0 LISTENING
TCP 127.0.0.1:42424 0.0.0.0:0 LISTENING
TCP 127.0.0.1:53941 127.0.0.1:5354 ESTABLISHED
TCP 127.0.0.1:58943 127.0.0.1:5354 ESTABLISHED
TCP 127.0.0.1:60485 0.0.0.0:0 LISTENING
TCP 127.0.0.1:60961 0.0.0.0:0 LISTENING
TCP 127.0.0.1:62433 0.0.0.0:0 LISTENING
2022.05.21 15:40:06 LOG7[5916:11272]: Service ssmtp finished (0 left)
2022.05.21 15:40:06 LOG7[5916:11272]: str_stats: 0 blocks, 0 bytes
2022.05.21 15:39:56 (Sat)------------Start of Session-----------------
Blat v3.2.19 (build : Nov 18 2017 03:14:35)
32-bit Windows, Full, Unicode
Error: Connection to server was dropped.
*** Error *** SMTP server error
Error: Not a socket.
Error: Not a socket.
2022.05.21 15:40:06 (Sat)-------------End of Session------------------