[Bug 249992] Can't log in to IMAP server running dovecot 2.0.1

Oleg Girko ol+kde at infoserver.ru
Thu Feb 2 22:03:55 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=249992





--- Comment #14 from Oleg Girko <ol+kde infoserver ru>  2012-02-02 22:03:54 ---
The patch provided in comment #11 fixes the problem only partially.

Reordering if branches makes LOGIN authentication work, but other
authentication methods get refused when SSL connection is used because the
unsolicited untagged CAPABILITY response to AUTHENTICATE command does not
contain "AUTH=" capabilities.

It's interesting to note that everything works fine if unencrypted connection
is used, because KIMAP::LoginJob does not send CAPABILITY command when
connection is not encrypted, so Dovecot IMAP server does not send unsolicited
untagged CAPABILITY response to AUTHENTICATE command later. Not sending
CAPABILITY command when unencrypted connection is used can be considered as a
separate bug.

The logic in KIMAP::LoginJob::handleResponse() method is difficult to
understand, do I've refactored it and made it more correct.

Please take a look at the following review request:
https://git.reviewboard.kde.org/r/103854/
The patch in this review request fixes this bug.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list