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

John Baldwin jhb at FreeBSD.org
Mon Jan 5 15:41:03 GMT 2015


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

--- Comment #4 from John Baldwin <jhb at FreeBSD.org> ---
RFC 3501 contains a BNF at the end that specifies this for a flag name:

flag-keyword    = atom

atom            = 1*ATOM-CHAR

ATOM-CHAR       = <any CHAR except atom-specials>

atom-specials   = "(" / ")" / "{" / SP / CTL / list-wildcards /
                  quoted-specials / resp-specials

list-wildcards  = "%" / "*"

quoted-specials = DQUOTE / "\"

resp-specials   = "]"

So it does seem that at least ']' is invalid though '[' may be valid.

However, I wonder if those brackets are just in the dialog your test program
showed you and not in the actual flags on your server?  I did a manual IMAP
connection to my Cyrus IMAP server and examined one of the e-mails in question.
 I don't see any flags with brackets in their name:

4 select "INBOX.njvine"
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen $Forwarded KMAILFORWARDED
KMAILTODO KMAILWATCHED KMAILIGNORED $TODO $WATCHED $IGNORED Junk NonJunk
$REPLIED)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $Forwarded
KMAILFORWARDED KMAILTODO KMAILWATCHED KMAILIGNORED $TODO $WATCHED $IGNORED Junk
NonJunk $REPLIED \*)]  
* 763 EXISTS
* 0 RECENT
...
4 OK [READ-WRITE] Completed
5 fetch 763 all
* 763 FETCH (FLAGS (\Seen) INTERNALDATE "23-Dec-2014 16:04:26 -0500"
RFC822.SIZE 29456 ENVELOPE ( <redacted> ))
5 OK Completed (0.000 sec)

As you can see, the only flag on this message is \SEEN, and yet kmail refuses
to consider it read.  In akonadiconsole I can confirm that I do not see \SEEN
as a flag for this message even though the server reports \SEEN as set above. 
Interestingly, the modification time of the message in akonadiconsole is right
now (Jan 5, 15:32:48 UTC) though it reports a revision of 1 (and the message
itself was marked read via a different mail client (probably Mail on iOS) about
a week ago).

With the volume of e-mail I get each day on various FreeBSD lists, this bug has
made kmail useless for me since things are only counted as read reliably in
kmail on my desktop at home if I only ever read e-mail on my desktop at home. 
Entirely defeats the point of using an IMAP server for mail.

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



More information about the Kdepim-bugs mailing list