Hi,
I just tried to configure stunnel as proxy between an email client (Outlook Express) and the email server (SMTP and IMAP). The problem is that the connection times out in the client while synchronising the IMAP folders. But I can send emails from the client. This is my relatively basic configuration:
[SMTP] client = yes accept = 25 connect = smtp.office365.com:587 protocol = smtp
[IMAP] client = yes accept = 143 connect = outlook.office365.com:993 protocol = imap
Any help would be greatly appreciated! Regards, Ian.
Hi Ian,
SMTP port 587 is for SMTP-with-STARTTLS, which is good. However, port 993 is for IMAP-over-TLS, not IMAP-with-STARTTLS. You might have more luck with port 143 there (stunnel should do the STARTTLS bit for you, although it's always worth making sure).
-- Mike
Hi Mike This indeed fixed the issues I've been having! I can now synchronize all my emails in the client. I did not pay much attention to the ports and their relation with STARTTLS. Thanks a bunch for the help!
Ian.