Fix STARTTLS support detection

Authored by dvratil on Jul 5 2018, 10:06 AM.

Description

Fix STARTTLS support detection

Don't assume that IMAP servers announce capabilities in initial greeting,
the RFC does not require that at all. This assumption caused LoginJob
to fail if user configured STARTTLS but the server did not announce any
capabilities in the greeting.

Now we explicitly ask for capabilities before sending the STARTTLS command
to make sure that STARTTLS is supported.

BUG: 395249
FIXED-IN: 5.8.3

Details

Committed
dvratilJul 5 2018, 10:06 AM
Parents
R177:6823bc083ee4: GIT_SILENT: Prepare 5.8.3
Branches
Unknown
Tags
Unknown