[stunnel-users] Looking for help - Stunnel works with Gmail but not with my provider

Verberne, Pieter pab.verberne at gmail.com
Sat Mar 31 23:03:05 CEST 2012


Hello,

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:
    SSL_connect: 1408F10B: error:1408F10B:SSL 
routines:SSL3_GET_RECORD:wrong version number

Any help would be highly appreciated.

Pieter Verberne


PC: i7
OS: Windows 7 - 64bits
Stunnel version: 4.53

When sending an e-mail from my PC with Thunderbird 2.0 I can 
successfully use TLS but not SSL.
My provider says about secure smtp connections on their website:
    Outgoing mail server                                                
         smtp.ziggo.nl (port number 587)
    Use of SSL (Secure Socket Layer) / TLS                          yes
    For this server is verification required / identity check      yes
    User name                                                            
            your e-mail address
    Password                                                            
              your e-mail password

Stunnel.conf:
    # GLOBAL OPTIONS

    debug = 7
    output = D:\Pieter\Temp\stunnel-log.txt
    fips = no
    cert = stunnel.pem

    # SERVICE-LEVEL OPTIONS
 
    [SMTP Ziggo]
    client = yes
    options = NO_SSLv2
    options = NO_SSLv3
    sslVersion = TLSv1
    accept = 587
    connect = smtp.ziggo.nl:587

stunnel-log.txt:
    2012.03.31 12:04:33 LOG7[2460:2516]: No limit detected for the 
number of clients
    2012.03.31 12:04:33 LOG5[2460:2516]: stunnel 4.53 on 
x86-pc-mingw32-gnu platform
    2012.03.31 12:04:33 LOG5[2460:2516]: Compiled/running with OpenSSL 
0.9.8s-fips 4 Jan 2012
    2012.03.31 12:04:33 LOG5[2460:2516]: Threading:WIN32 
SSL:+ENGINE+OCSP+FIPS Auth:none Sockets:SELECT+IPv6
    2012.03.31 12:04:33 LOG5[2460:2516]: Reading configuration from file 
stunnel.conf
    2012.03.31 12:04:33 LOG5[2460:2516]: FIPS mode is disabled
    2012.03.31 12:04:33 LOG7[2460:2516]: Compression not enabled
    2012.03.31 12:04:34 LOG7[2460:2516]: Snagged 64 random bytes from 
C:/.rnd
    2012.03.31 12:04:34 LOG7[2460:2516]: Wrote 1024 new random bytes to 
C:/.rnd
    2012.03.31 12:04:34 LOG7[2460:2516]: PRNG seeded successfully
    2012.03.31 12:04:34 LOG6[2460:2516]: Initializing service section 
[SMTP Ziggo]
    2012.03.31 12:04:34 LOG7[2460:2516]: Certificate: stunnel.pem
    2012.03.31 12:04:34 LOG7[2460:2516]: Certificate loaded
    2012.03.31 12:04:34 LOG7[2460:2516]: Key file: stunnel.pem
    2012.03.31 12:04:34 LOG7[2460:2516]: Private key loaded
    2012.03.31 12:04:34 LOG7[2460:2516]: SSL options set: 0x03000004
    2012.03.31 12:04:34 LOG5[2460:2516]: Configuration successful
    2012.03.31 12:04:34 LOG7[2460:2516]: Service [SMTP Ziggo] (FD=308) 
bound to 0.0.0.0:587
    2012.03.31 12:06:01 LOG7[2460:2516]: Service [SMTP Ziggo] accepted 
(FD=436) from 192.168.3.11:49195
    2012.03.31 12:06:01 LOG7[2460:2516]: Creating a new thread
    2012.03.31 12:06:01 LOG7[2460:2516]: New thread created
    2012.03.31 12:06:01 LOG7[2460:3652]: Service [SMTP Ziggo] started
    2012.03.31 12:06:01 LOG5[2460:3652]: Service [SMTP Ziggo] accepted 
connection from 192.168.3.11:49195
    2012.03.31 12:06:01 LOG6[2460:3652]: connect_blocking: connecting 
212.xx.xx.x:587
    2012.03.31 12:06:01 LOG7[2460:3652]: connect_blocking: s_poll_wait 
212.xx.xx.x:587: waiting 10 seconds
    2012.03.31 12:06:01 LOG5[2460:3652]: connect_blocking: connected 
212.xx.xx.x:587
    2012.03.31 12:06:01 LOG5[2460:3652]: Service [SMTP Ziggo] connected 
remote server from 192.168.3.11:49196
    2012.03.31 12:06:01 LOG7[2460:3652]: Remote socket (FD=460) initialized
    2012.03.31 12:06:01 LOG3[2460:3652]: *SSL_connect: 1408F10B: 
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number*
    2012.03.31 12:06:01 LOG5[2460:3652]: Connection reset: 0 byte(s) 
sent to SSL, 0 byte(s) sent to socket
    2012.03.31 12:06:01 LOG7[2460:3652]: Remote socket (FD=460) closed
    2012.03.31 12:06:01 LOG7[2460:3652]: Local socket (FD=436) closed
    2012.03.31 12:06:01 LOG7[2460:3652]: Service [SMTP Ziggo] finished 
(0 left)
    2012.03.31 12:18:01 LOG7[2460:2516]: Dispatching signals from the 
signal pipe
    2012.03.31 12:18:04 LOG7[2460:2516]: Processing SIGNAL_TERMINATE

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20120331/81a82903/attachment.html>


More information about the stunnel-users mailing list