pulb / mailnag

An extensible mail notification daemon
GNU General Public License v2.0
254 stars 32 forks source link

UNSUPPORTED_PROTOCOL error in IMAP connection #176

Closed philcok closed 5 years ago

philcok commented 5 years ago

Hello, Since last update of my Debian testing, mailnag stop working with the following error :

ERROR (2018-12-14 11:12:22): Failed to connect to account 'Exchange' ([SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:727)).

I have only one IMAP account (on an Exchange server).

A tshark capture seems to points a protocol version error :

10.7.1.135 > 10.1.1.30 TLSv1 583 Client Hello 10.1.1.30 > 10.7.1.135 TLSv1 567 Server Hello, Certificate, Server Key Exchange, Server Hello Done 10.7.1.135 > 10.1.1.30 TLSv1 73 Alert (Level: Fatal, Description: Protocol Version)

Same alert with TLS (no SSL)

Can you help ? Thanks. Phil

philcok commented 5 years ago

Fixed ! This is an openssl issue : latest upgrade force "MinProtocol = TLSv1.2" in /etc/ssl/openssl.cnf Looks not compatible with the company Exchange server... I fallback to "MinProtocol = TLSv1.0" and mailnag is now happy.