1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-04 18:22:26 +00:00

Don't try TLS with SSL connections

This commit is contained in:
Guillaume Ayoub 2013-05-01 20:24:41 +02:00
parent 0f0bddedc9
commit 45c1647a92

View file

@ -58,6 +58,7 @@ def is_authenticated(user, password):
server_is_local = (IMAP_SERVER == "localhost")
if not connection_is_secure:
try:
connection.starttls()
log.LOGGER.debug("IMAP server connection changed to TLS.")