On 2014-01-26 14:17, Tenhult Server wrote:
Hi, i'm trying to send mail with the help of stunnel but i get STARTTLS expected, what is wrong with my setup?

File: stunnel.conf

[outlook-smtp]
protocol = smtp
accept = 127.0.0.1:25
connect = smtp-mail.outlook.com:587

You want
    client = yes
if you want stunnel to act as an SSL client.

Otherwise it tries to act as an SSL server, and negotiate SSL with your client instead of smtp-mail.outlook.com.

Mike