Hi,
I know that stunnel is not supported by avast but I have seen it advocated in the forums for use with avast to scan e-mail and since I have not got any responses to my e-mail there I am asking for helo from the stunnel users here.
I am using stunnel 4.15, Mozilla Thunderbrd 1.5.0.4 on Windows XP SP1 and avast version 4.7.844.
I facing the problem that when I try to send SMTP over TLS through my gmail account, stunnel crashes.
my relevant stunnel configurations is
client=yes
options=ALL
...
; SMTP service, listens on localhost:250
[gmail-smtps]
protocol=smtp
accept=localhost:250
connect=smtp.gmail.com:587
The stunnel log file is as follows
2006.06.14 03:17:15 LOG5[3956:3512]: stunnel 4.15 on x86-pc-mingw32-gnu
with OpenSSL 0.9.7i 14 Oct 2005
2006.06.14 03:17:15 LOG5[3956:3512]: Threading:WIN32 SSL:ENGINE
Sockets:SELECT,IPv6
2006.06.14 03:17:15 LOG5[3956:3600]: No limit detected for the number of
clients
2006.06.14 03:17:15 LOG7[3956:3600]: FD 172 in non-blocking mode
2006.06.14 03:17:15 LOG7[3956:3600]: SO_REUSEADDR option set on accept
socket
2006.06.14 03:17:15 LOG7[3956:3600]: gmail-pop3s bound to 127.0.0.1:1100
2006.06.14 03:17:15 LOG7[3956:3600]: FD 180 in non-blocking mode
2006.06.14 03:17:15 LOG7[3956:3600]: SO_REUSEADDR option set on accept
socket
2006.06.14 03:17:15 LOG7[3956:3600]: gmail-smtps bound to 127.0.0.1:250
....# info about other mail connections
2006.06.14 03:17:26 LOG7[3956:3600]: gmail-smtps accepted FD=236 from
127.0.0.1:3665
2006.06.14 03:17:26 LOG7[3956:3600]: Creating a new thread
2006.06.14 03:17:26 LOG7[3956:3600]: New thread created
2006.06.14 03:17:26 LOG7[3956:2812]: gmail-smtps started
2006.06.14 03:17:26 LOG7[3956:2812]: FD 236 in non-blocking mode
2006.06.14 03:17:26 LOG7[3956:2812]: TCP_NODELAY option set on local socket
2006.06.14 03:17:26 LOG5[3956:2812]: gmail-smtps connected from
127.0.0.1:3665
2006.06.14 03:17:26 LOG7[3956:2812]: FD 268 in non-blocking mode
2006.06.14 03:17:26 LOG7[3956:2812]: gmail-smtps connecting
64.233.167.111:587
2006.06.14 03:17:26 LOG7[3956:2812]: connect_wait: waiting 10 seconds
2006.06.14 03:17:26 LOG7[3956:2812]: connect_wait: connected
2006.06.14 03:17:26 LOG7[3956:2812]: Remote FD=268 initialized
2006.06.14 03:17:26 LOG7[3956:2812]: TCP_NODELAY option set on remote socket
2006.06.14 03:17:26 LOG5[3956:2812]: Negotiations for smtp (client side)
started
2006.06.14 03:17:26 LOG7[3956:2812]: <- 220 mx.gmail.com ESMTP
w66sm450524pyw
2006.06.14 03:17:26 LOG7[3956:2812]: -> 220 mx.gmail.com ESMTP
w66sm450524pyw
<logfile ends>
I have seen it mentioned elsewhere here that people have got SMTP over TLS working via stunnel. Somehow it is not working for me. What mistake am I making that SMTP over TLS via stunnel is not working for me?
Fortunately it seems that gmail supports SMTP over SSL too
(smtp.gmail.com:465) and I am using that. However I am also facing this
problem with another account which unfortunately allows SMTP only over TLS.
Thanks,
Shatadal.