modoboa/modoboa-webmail

Webmail error with STARTTLS

0xNeffarion opened this issue · 9 comments

I'm getting the following error when trying to open the Modoboa webmail once I enable STARTTLS on IMAP settings

Error: Connection to IMAP server failed: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:590)

@0xNeffarion Which python version? What port did you configure?

These are the settings and ports I use:

picture1
picture2

I have both python3 v3.5.2 and python v2.7.12 installed

I can use roundcube fine by the way, which I have installed off the side. Its just the modoboa webmail which crashes at start

@0xNeffarion Try using port 993 (imaps). Modoboa webmail does not propose STARTTLS for IMAP yet because Python2 does not... We're going to drop python2 support soon and then, we'll propose STARTTLS for IMAP.

How do I make it use IMAPS? Do I just change the port to 993?

@tonioo Thank you, it works now.

Something aside though, I tried to make SMTP only work with SSL/TLS (by checking the box on the picture instead of STARTTLS) and it doesn't work when I try to connect to it via Thunderbird. Is there something else needed?

You should use port 587, port 25 is dedicated to server-to-server communications.

Thank you, this is resolved now 👍 :)