The protocol directive determines what Stunnel does during the connection setup. "protocol = smtp" tells Stunnel to use STARTTLS semantics for the connection to the server, as described in RFC2487 (similarly to how "protocol = imap" tells it to use STARTTLS for IMAP, per RFC 2595).
-----Original Message----- From: Ben Stover [mailto:bxstover@yahoo.co.uk] Sent: Wednesday, October 16, 2013 11:08 AM To: Stunnel Users Cc: Bucci, David G Subject: RE: EXTERNAL: How to setup stunnel für SMTP over STARTTL S (and not pure SSL)?
Sorry, I went to the webpage with the link you mentioned. There I searched for STARTTLS but NO (!) occurence was found.
What does protocol (here = smtp) to do with the security handshare type (here = STARTTLS).
On Wed, 16 Oct 2013 13:10:29 +0000, Bucci, David G wrote:
Oh, meant to add - look at the "protocol" option, documented here: http://www.stunnel.org/static/stunnel.html
-----Original Message----- From: Bucci, David G Sent: Wednesday, October 16, 2013 8:54 AM To: 'Ben Stover'; Stunnel Users Subject: RE: EXTERNAL: How to setup stunnel für SMTP over STARTTLS (and not pure SSL)?
https://www.stunnel.org/pipermail/stunnel-users/2011-April/003060.html
Yes, it's supported. (you'll get a cert error on that connect, ironically)
-----Original Message----- From: stunnel-users [mailto:stunnel-users-bounces@stunnel.org] On Behalf Of Ben Stover Sent: Wednesday, October 16, 2013 5:56 AM To: Stunnel Users Subject: EXTERNAL: How to setup stunnel für SMTP over STARTTLS (and not pure SSL)?
Assume my mailbox provider offers only SMTP delivery over STARTTLS (and not pure SSL).
How do I have configure stunnel to cope with this protocol?
Lets say the remote smtp server would be
smtp.foobar.com:587
How would a service section in conf file look like?
Thank you Ben
stunnel-users mailing list stunnel-users@stunnel.org https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users