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

Rob Wouters kde at rob-wouters.nl
Mon Aug 22 19:41:14 BST 2011


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


Rob Wouters <kde at rob-wouters.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde at rob-wouters.nl




--- Comment #7 from Rob Wouters <kde rob-wouters nl>  2011-08-22 18:41:14 ---
Patch against kdepimlibs that fixes this bug for me:

--- kimap/loginjob.cpp.orig     2011-08-22 20:27:30.526267893 +0200
+++ kimap/loginjob.cpp  2011-08-22 20:38:11.555674184 +0200
@@ -324,7 +324,9 @@
     }
   } else if ( response.content.size() >= 2 ) {
     if ( d->authState == LoginJobPrivate::Authenticate ) {
-      if
(!d->answerChallenge(QByteArray::fromBase64(response.content[1].toString()))) {
+      //if we're receiving post-login capabilities, ignore them here
+      //capabilities are being set by capabilitiesjob after
+      if (response.content[1].toString()!="CAPABILITY" &&
!d->answerChallenge(QByteArray::fromBase64(response.content[1].toString()))) {
         emitResult(); //error, we're done
       }
     } else if ( response.content[1].toString()=="CAPABILITY" ) {

Please test and let me know if it works and doesn't cause regressions.

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