[kmail2] [Bug 276856] message goes back to unread after new mail check

Rodney Baker rodney.baker at iinet.net.au
Thu Feb 7 23:17:53 GMT 2013


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

--- Comment #11 from Rodney Baker <rodney.baker at iinet.net.au> ---
After watching the log file for quite some time (using tail -f) for the
relevant akonadi process, the IMAP STORE command (with \SEEN flag) is not being
sent to the server the first time a mail is fetched. It is only sent on the
second fetch. When sent, the STORE command is being actioned and the response
"OK Store completed" is returned. No errors from the server that I can see.

An example transaction: 

C: A000548 UID FETCH 25270 (BODY.PEEK[] UID)
S: * 65 FETCH ( UID 25270 BODY[] Return-Path:
<opensuse+bounces-143179-rodney.baker=iinet.net.au at opensuse.org>
[...message body removed...]
S: A000548 OK Fetch completed.

The next time the folder is refreshed, note the lack of SEEN flag on UID 25270:

S: * 64 FETCH ( FLAGS () UID 25269 )
S: * 65 FETCH ( FLAGS () UID 25270 )
S: * 66 FETCH ( FLAGS () UID 25271 )
S: * 67 FETCH ( FLAGS () UID 25272 )
S: * 68 FETCH ( FLAGS (\Seen) UID 25273 )
S: * 69 FETCH ( FLAGS () UID 25274 )
S: * 70 FETCH ( FLAGS () UID 25275 )

The next time the message is selected (after another folder refresh): 

S: * 63 FETCH ( FLAGS (\Seen) UID 25268 )
S: * 64 FETCH ( FLAGS () UID 25269 )
S: * 65 FETCH ( FLAGS () UID 25270 )
S: * 66 FETCH ( FLAGS () UID 25271 )
S: * 67 FETCH ( FLAGS (\Seen) UID 25272 )
S: * 68 FETCH ( FLAGS (\Seen) UID 25273 )
S: * 69 FETCH ( FLAGS () UID 25274 )
S: * 70 FETCH ( FLAGS () UID 25275 )
S: A000565 OK Fetch completed.
C: A000566 UID STORE 25270 FLAGS (\Seen)
S: * 65 FETCH ( UID 25270 FLAGS (\Seen) )
S: A000566 OK Store completed.

This pattern is consistently repeatable. I have the full log as a tgz archive -
I'm happy to email it to someone but I'd rather not attach it here.

Rodney.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list