modoboa / modoboa-webmail

The webmail of Modoboa
MIT License
73 stars 48 forks source link

Webmail error with STARTTLS #179

Closed 0xNeffarion closed 5 years ago

0xNeffarion commented 5 years ago

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)

tonioo commented 5 years ago

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

0xNeffarion commented 5 years ago

These are the settings and ports I use:

picture1 picture2

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

0xNeffarion commented 5 years ago

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

tonioo commented 5 years ago

@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.

0xNeffarion commented 5 years ago

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

tonioo commented 5 years ago

Yes.

Le 30/10/2018 à 14:42, Vasco a écrit :

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/modoboa/modoboa-webmail/issues/179#issuecomment-434305244, or mute the thread https://github.com/notifications/unsubscribe-auth/AAgc7jPmylmxqP18REplCWL1m6Lr1qOTks5uqFdZgaJpZM4YAzpW.

0xNeffarion commented 5 years ago

@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?

tonioo commented 5 years ago

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

0xNeffarion commented 5 years ago

Thank you, this is resolved now :+1: :)