[Akonadi] [Bug 340931] Read status of emails not updated when changed outside KMail, but only for GMail accounts via IMAP

Erik Quaeghebeur kdebugs at equaeghe.nospammail.net
Sat Dec 13 19:10:08 GMT 2014


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

Erik Quaeghebeur <kdebugs at equaeghe.nospammail.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdebugs at equaeghe.nospammail
                   |                            |.net

--- Comment #3 from Erik Quaeghebeur <kdebugs at equaeghe.nospammail.net> ---
This just now started happening to me for a Cyrus IMAP server after updating to
KDE SC 4.14.3 from 4.12.5. I assume there must be some connection to KMail,
because akonadi-server had been updated already to 1.13.0 some weeks before.

My investigation turned up the following:

* When opening the mailbox with kmail, they appeared as unread.

* When opening with akonadi-console, the messages in the mailbox had no flags
(or keywords) set at all.

* When opening the mailbox using Thunderbird, everything worked fine.

* When opening with Trojita, its IMAP implementation complained that there were
non-parseable flags (or did it say keywords? that would be more correct),
namely, "[EXPUNGED]", and "[ARCHIVED]". It is not clear to me whether the '['
and ']' characters are disallowed by the IMAP RFCs (they seem valid in modified
UTF-7, I think.)

I therefore did the following: I used Firefox to remove those keywords, after
which all the other clients behaved as they should: picking up all flags and
keywords. (KMail does not show the keywords, of course, see Bug 283020.)

My conclusion is therefore that the IMAP resource chokes on such keywords. If
these are not invalid according to the RFC, the resource's flag/keyword parser
should be modified to be able to deal with them. If these are invalid, upstream
bugs should be filed to the generators of those keywords and perhaps workaround
code for know invalid keywords could be included.

To verify my conclusion, another affected user should install Trojita and sees
what it lists. (They can of course also use akonadi-console or Thunderbird for
further tests.)

If verified somebody with sufficient IMAP RFC erudition should shine a light on
whether such keywords are valid or not. Then a course of action can be taken.
(Modifying the parser should not be that big of a modification, no?)

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list