Summary: | A lot of error message from akonadi when checkin my imap account | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | humufr |
Component: | IMAP resource | Assignee: | Christian Mollekopf <chrigi_1> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kdepim-bugs, mollekopf, msylwester, vkrause |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdepim-runtime/8522659fe6acc8aaecf63bddfae3629ddb1f370c | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
Full imap log
Proposed patch |
Description
humufr
2013-12-03 05:21:46 UTC
We will need an imap traffic log and the server used to debug this: http://techbase.kde.org/Projects/PIM/Akonadi/Debug_IMAP I'm having same problem, but out of several of IMAP servers I only see it with yahoo.com (server imap.mail.yahoo.com) I believe this is the relevant log part: C: A000015 SELECT "INBOX" S: * 2 EXISTS S: * 0 RECENT S: * OK UIDs valid [ UIDVALIDITY 1369207707 ] S: * OK Predicted next UID [ UIDNEXT 3 ] S: * FLAGS ( \Answered \Deleted \Draft \Flagged \Seen $Forwarded $Junk $NotJunk ) S: * OK Permanent flags [ PERMANENTFLAGS ( \Answered \Deleted \Draft \Flagged \Seen $Forwarded $Junk $NotJunk ) ] S: * OK [ HIGHESTMODSEQ 5943332287725699072 ] S: A000015 OK SELECT completed; now in selected state [ READ-WRITE ] C: A000016 FETCH 1:2 (FLAGS UID) (CHANGEDSINCE 5943332287725699072) S: A000016 BAD FETCH Additional arguments found after last expected argument [ CLIENTBUG ] Created attachment 84183 [details]
Full imap log
Thanks for the debuginfo. It looks like we're unconditionally sending CHANGEDSINCE even if the server doesn't support CONDSTORE. Created attachment 85031 [details]
Proposed patch
This seems to fix this for me: the CHANGEDSINCE should only be added when HIGHESTMODSEQ is set and the server reports support for CONDSTORE.
Git commit 8522659fe6acc8aaecf63bddfae3629ddb1f370c by Christian Mollekopf. Committed on 19/02/2014 at 15:27. Pushed by cmollekopf into branch 'master'. Only set changedsince if CONDSTORE is available. Thanks to Michal Sylwester for the patch. M +3 -1 resources/imap/retrieveitemstask.cpp http://commits.kde.org/kdepim-runtime/8522659fe6acc8aaecf63bddfae3629ddb1f370c |