[stunnel-users] stunnel not working properly on Redhat linux (fresh install)

Klaus Kloeser klaus at kloeser.com
Fri Jan 4 16:05:24 CET 2019


Hi Peter,
that works. 
Thank you so much for your help !

Mit freundlichen Grüßen/ best regards
 
Klaus Klöser
klaus at kloeser.com
 
fon: +49 (0) 2921 943 896
cell: +49 (0) 171 802 4064
fax: +49 (0) 2921 943897
 
Diese E-Mail enthält vertrauliche und/ oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
 
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
 

Am 04.01.19, 16:03 schrieb "Peter Pentchev" <roam at ringlet.net>:

    On Fri, Jan 04, 2019 at 03:14:27PM +0100, Klaus Kloeser wrote:
    > Hi,
    > 
    >  
    > 
    > I have set up Stunnel as SSL Wrapper for googlemail on a Redhat Enterprise Linux 7.2 installation.
    > 
    > The stunnel.conf:
    > 
    > output = /var/log/stunnel.log 
    > cert = /etc/pki/tls/certs/2019stunnel.pem 
    > client = yes 
    > sslVersion = TLSv1 
    > ;fips=no 
    > 
    > [ssmtp] 
    > accept = 1925
    > connect=smtp.googlemail.com:587
    
    If you want stunnel to accept plaintext (unencrypted) connections and to
    establish an encrypted (SSL/TLS) connection to smtp.googlemail.com, you
    will either need to change the port from 587 (the "submission" service,
    a kind of simplified SMTP protocol) to 465 (SMTP over TLS), or, if you
    really insist on connecting to the submission service and then starting
    a TLS session, you will need to tell stunnel to start by speaking SMTP
    and issuing a STARTTLS command by also specifying "protocol = smtp".
    Either option (changing the connect line to specify port 465 or adding
    a "protocol = smtp" line) should work, I just tested them on my Debian
    setup.
    
    Hope that helps!
    
    G'luck,
    Peter
    
    -- 
    Peter Pentchev  roam@{ringlet.net,debian.org,FreeBSD.org} pp at storpool.com
    PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
    Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
    





More information about the stunnel-users mailing list