<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-html" lang="x-unicode">
<font face="Arial">Hello,<br>
<br>
I have successfully used stunnel with blat to send e-mails from my
gmail accounts. Getting this to work with my new internet provider
"Ziggo" in The Netherlands seems impossible, despite days spent on
the internet searching for help and trying numerous configurations.
Whatever I do, there is always this message:<br>
SSL_connect: 1408F10B: error:1408F10B:SSL
routines:SSL3_GET_RECORD:wrong version number<br>
<br>
Any help would be highly appreciated.<br>
<br>
Pieter Verberne<br>
<br>
<br>
PC: i7 <br>
OS: Windows 7 - 64bits<br>
Stunnel version: 4.53<br>
<br>
When sending an e-mail from my PC with Thunderbird 2.0 I can
successfully use TLS but not SSL.<br>
My provider says about secure smtp connections on their website:<br>
Outgoing mail server
smtp.ziggo.nl (port number 587)<br>
Use of SSL (Secure Socket Layer) / TLS yes<br>
For this server is verification required / identity check yes<br>
User name
your e-mail address<br>
Password
your e-mail password<br>
<br>
Stunnel.conf:<br>
# GLOBAL OPTIONS<br>
<br>
debug = 7<br>
output = D:\Pieter\Temp\stunnel-log.txt<br>
fips = no <br>
cert = stunnel.pem<br>
<br>
# SERVICE-LEVEL OPTIONS<br>
<br>
[SMTP Ziggo]<br>
client = yes<br>
options = NO_SSLv2<br>
options = NO_SSLv3<br>
sslVersion = TLSv1<br>
accept = 587<br>
connect = smtp.ziggo.nl:587<br>
<br>
stunnel-log.txt:<br>
2012.03.31 12:04:33 LOG7[2460:2516]: No limit detected for the
number of clients<br>
2012.03.31 12:04:33 LOG5[2460:2516]: stunnel 4.53 on
x86-pc-mingw32-gnu platform<br>
2012.03.31 12:04:33 LOG5[2460:2516]: Compiled/running with OpenSSL
0.9.8s-fips 4 Jan 2012<br>
2012.03.31 12:04:33 LOG5[2460:2516]: Threading:WIN32
SSL:+ENGINE+OCSP+FIPS Auth:none Sockets:SELECT+IPv6<br>
2012.03.31 12:04:33 LOG5[2460:2516]: Reading configuration from
file stunnel.conf<br>
2012.03.31 12:04:33 LOG5[2460:2516]: FIPS mode is disabled<br>
2012.03.31 12:04:33 LOG7[2460:2516]: Compression not enabled<br>
2012.03.31 12:04:34 LOG7[2460:2516]: Snagged 64 random bytes from
C:/.rnd<br>
2012.03.31 12:04:34 LOG7[2460:2516]: Wrote 1024 new random bytes to
C:/.rnd<br>
2012.03.31 12:04:34 LOG7[2460:2516]: PRNG seeded successfully<br>
2012.03.31 12:04:34 LOG6[2460:2516]: Initializing service section
[SMTP Ziggo]<br>
2012.03.31 12:04:34 LOG7[2460:2516]: Certificate: stunnel.pem<br>
2012.03.31 12:04:34 LOG7[2460:2516]: Certificate loaded<br>
2012.03.31 12:04:34 LOG7[2460:2516]: Key file: stunnel.pem<br>
2012.03.31 12:04:34 LOG7[2460:2516]: Private key loaded<br>
2012.03.31 12:04:34 LOG7[2460:2516]: SSL options set: 0x03000004<br>
2012.03.31 12:04:34 LOG5[2460:2516]: Configuration successful<br>
2012.03.31 12:04:34 LOG7[2460:2516]: Service [SMTP Ziggo] (FD=308)
bound to 0.0.0.0:587<br>
2012.03.31 12:06:01 LOG7[2460:2516]: Service [SMTP Ziggo] accepted
(FD=436) from 192.168.3.11:49195<br>
2012.03.31 12:06:01 LOG7[2460:2516]: Creating a new thread<br>
2012.03.31 12:06:01 LOG7[2460:2516]: New thread created<br>
2012.03.31 12:06:01 LOG7[2460:3652]: Service [SMTP Ziggo] started<br>
2012.03.31 12:06:01 LOG5[2460:3652]: Service [SMTP Ziggo] accepted
connection from 192.168.3.11:49195<br>
2012.03.31 12:06:01 LOG6[2460:3652]: connect_blocking: connecting
212.xx.xx.x:587<br>
2012.03.31 12:06:01 LOG7[2460:3652]: connect_blocking: s_poll_wait
212.xx.xx.x:587: waiting 10 seconds<br>
2012.03.31 12:06:01 LOG5[2460:3652]: connect_blocking: connected
212.xx.xx.x:587<br>
2012.03.31 12:06:01 LOG5[2460:3652]: Service [SMTP Ziggo] connected
remote server from 192.168.3.11:49196<br>
2012.03.31 12:06:01 LOG7[2460:3652]: Remote socket (FD=460)
initialized<br>
2012.03.31 12:06:01 LOG3[2460:3652]: <b>SSL_connect: 1408F10B:
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number</b><br>
2012.03.31 12:06:01 LOG5[2460:3652]: Connection reset: 0 byte(s)
sent to SSL, 0 byte(s) sent to socket<br>
2012.03.31 12:06:01 LOG7[2460:3652]: Remote socket (FD=460) closed<br>
2012.03.31 12:06:01 LOG7[2460:3652]: Local socket (FD=436) closed<br>
2012.03.31 12:06:01 LOG7[2460:3652]: Service [SMTP Ziggo] finished
(0 left)<br>
2012.03.31 12:18:01 LOG7[2460:2516]: Dispatching signals from the
signal pipe<br>
2012.03.31 12:18:04 LOG7[2460:2516]: Processing SIGNAL_TERMINATE<br>
<br>
</font>
</div>
</body>
</html>