[Users] "Read" status reversed on IMAP account

Mirosław Zalewski miniopl at poczta.onet.pl
Wed Sep 4 19:05:34 CEST 2013


Hi

I have been using Claws-Mail (3.9.2 from Debian testing repository) for
few days. Mostly everything works as expected, but there is one thing
that does not.

Claws-Mail goes "crazy" for one particular IMAP account and inverts
"read" status for all messages - that is, messages that are read are
marked as unread, and messages that are unread are marked as read.
It always happens after checking for new mails. Usually first check
triggers this behavior. The next one "fixes" it, that is brings status
of all messages to correct one. Next one will invert statuses, and next
one bring them back. That goes repeatedly.

There is picture showing this issue:
http://imgur.com/ndzKH5z
direct link: http://i.imgur.com/ndzKH5z.png
At upper part is browser window with webmail for this account opened;
at lower part, there is Claws-Mail. As you can see in webmail, there is
only one unread message (marked as bold), received at 13:34. But
Claws-Mail treats this one message as read, while all others as unread.

Since this happens only for this one account (I am also using two other
IMAP accounts and one POP3 account), I can believe that this is
problem with server configuration. But since I know nothing about IMAP 
protocol, and "tech" support of company providing service will most likely
dismiss my concerns with "use one of supported e-mail clients" message,
I write to you first.

So, questions are:
1. Is this known issue in Claws-Mail? If so, is there workaround for it?
How can I apply it?
2. If it has been not reported yet, how can I get meaningful
debugging information for Claws-Mail developers?
3. How can I check if this is problem with company server?
If it turn out it is, how can I prove them that problem is on their end?

Thanks in advance for tips, pointers and answers.

I am attaching output of claws-mail -v and part of network log (with
HTML-style comments between) below. Please let me know if additional
info is required.

#v+
claws-mail --version-full Claws Mail version
3.9.2 runtime GTK+ 2.24.20 / GLib
2.36.4 buildtime GTK+ 2.24.20 / GLib
2.36.4 Compiled-in
features:
 compface
 aspell
 gnutls
 ipv6
 iconv
 jpilot
 ldap
 libetpan 1.0
 libsm
 NetworkManager
#v-

network log ( http://pastebin.com/wyKKXcrf ):
#v+
<!-- fetch new mails; status for all messages is correct right now-->
[18:37:21] IMAP4> 101 UID SEARCH ALL 
[18:37:21] IMAP4< * SEARCH 1 2 3 4 5 7 11 13 15 17 19 21 23 25 27 29 31 33 35 37[... - 8128 bytes more]
[18:37:21] IMAP4< 29 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941[... - 4259 bytes more]
[18:37:21] IMAP4< 101 OK SEARCH completed. 
[18:37:21] IMAP4> 102 UID SEARCH UNSEEN 
[18:37:21] IMAP4< * SEARCH 1 2 3 4 5 7 11 13 15 17 19 21 23 25 27 29 31 33 35 37[... - 8128 bytes more]
[18:37:21] IMAP4< 29 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941[... - 4259 bytes more]
[18:37:21] IMAP4< 102 OK SEARCH completed. 
[18:37:21] IMAP4> 103 UID SEARCH FLAGGED 
[18:37:21] IMAP4< * SEARCH  
[18:37:21] IMAP4< 103 OK SEARCH completed. 
[18:37:21] IMAP4> 104 UID SEARCH ANSWERED 
[18:37:21] IMAP4< * SEARCH 29 33 46 76 87 108 112 116 118 120 145 148 151 171 17[... - 3894 bytes more]
[18:37:21] IMAP4< 104 OK SEARCH completed. 
[18:37:21] IMAP4> 105 UID SEARCH DELETED 
[18:37:21] IMAP4< * SEARCH  
[18:37:21] IMAP4< 105 OK SEARCH completed. 
[18:37:21] IMAP4> 106 STATUS Sent (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:22] IMAP4< * STATUS "Sent" (MESSAGES 1618 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:22] IMAP4< 106 OK STATUS completed. 
[18:37:22] IMAP4> 107 STATUS Drafts (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:22] IMAP4< * STATUS "Drafts" (MESSAGES 0 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:22] IMAP4< 107 OK STATUS completed. 
[18:37:22] IMAP4> 108 STATUS Queue (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:22] IMAP4< * STATUS "Queue" (MESSAGES 0 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:22] IMAP4< 108 OK STATUS completed. 
[18:37:22] IMAP4> 109 STATUS Trash (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:23] IMAP4< * STATUS "Trash" (MESSAGES 0 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:23] IMAP4< 109 OK STATUS completed. 
[18:37:23] IMAP4> 110 STATUS "@DZIA&AUE-ANIA" (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:24] IMAP4< * STATUS "@DZIA&AUE-ANIA" (MESSAGES 0 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:24] IMAP4< 110 OK STATUS completed. 
[18:37:24] IMAP4> 111 STATUS "KNSS UAM" (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:24] IMAP4< * STATUS "KNSS UAM" (MESSAGES 442 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:24] IMAP4< 111 OK STATUS completed. 
[18:37:24] IMAP4> 112 STATUS "@OCZEKIWANE" (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:24] IMAP4< * STATUS "@OCZEKIWANE" (MESSAGES 0 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:24] IMAP4< 112 OK STATUS completed. 
[18:37:24] IMAP4> 113 STATUS Spam (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:24] IMAP4< * STATUS "Spam" (MESSAGES 0 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:24] IMAP4< 113 OK STATUS completed. 
<!-- status of all messages is inverted right now; search for new mails again -->
[18:37:47] IMAP4> 115 UID SEARCH ALL 
[18:37:47] IMAP4< * SEARCH 1 2 3 4 5 7 11 13 15 17 19 21 23 25 27 29 31 33 35 37[... - 8128 bytes more]
[18:37:47] IMAP4< 29 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941[... - 4259 bytes more]
[18:37:47] IMAP4< 115 OK SEARCH completed. 
[18:37:47] IMAP4> 116 UID SEARCH SEEN 
[18:37:47] IMAP4< * SEARCH 1 2 3 4 5 7 11 13 15 17 19 21 23 25 27 29 31 33 35 37[... - 8128 bytes more]
[18:37:47] IMAP4< 29 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941[... - 4259 bytes more]
[18:37:47] IMAP4< 116 OK SEARCH completed. 
[18:37:47] IMAP4> 117 UID SEARCH FLAGGED 
[18:37:47] IMAP4< * SEARCH  
[18:37:47] IMAP4< 117 OK SEARCH completed. 
[18:37:47] IMAP4> 118 UID SEARCH ANSWERED 
[18:37:47] IMAP4< * SEARCH 29 33 46 76 87 108 112 116 118 120 145 148 151 171 17[... - 3894 bytes more]
[18:37:47] IMAP4< 118 OK SEARCH completed. 
[18:37:47] IMAP4> 119 UID SEARCH DELETED 
[18:37:47] IMAP4< * SEARCH  
[18:37:47] IMAP4< 119 OK SEARCH completed. 
[18:37:47] IMAP4> 120 STATUS Sent (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:51] IMAP4< * STATUS "Sent" (MESSAGES 1618 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:51] IMAP4< 120 OK STATUS completed. 
[18:37:51] IMAP4> 121 STATUS Drafts (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:52] IMAP4< * STATUS "Drafts" (MESSAGES 0 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:52] IMAP4< 121 OK STATUS completed. 
[18:37:52] IMAP4> 122 STATUS Queue (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:52] IMAP4< * STATUS "Queue" (MESSAGES 0 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:52] IMAP4< 122 OK STATUS completed. 
[18:37:52] IMAP4> 123 STATUS Trash (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:53] IMAP4< * STATUS "Trash" (MESSAGES 0 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:53] IMAP4< 123 OK STATUS completed. 
[18:37:53] IMAP4> 124 STATUS "@DZIA&AUE-ANIA" (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:54] IMAP4< * STATUS "@DZIA&AUE-ANIA" (MESSAGES 0 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:54] IMAP4< 124 OK STATUS completed. 
[18:37:54] IMAP4> 125 STATUS "KNSS UAM" (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:54] IMAP4< * STATUS "KNSS UAM" (MESSAGES 442 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:54] IMAP4< 125 OK STATUS completed. 
[18:37:54] IMAP4> 126 STATUS "@OCZEKIWANE" (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:55] IMAP4< * STATUS "@OCZEKIWANE" (MESSAGES 0 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:55] IMAP4< 126 OK STATUS completed. 
[18:37:55] IMAP4> 127 STATUS Spam (MESSAGES UIDNEXT UIDVALIDITY UNSEEN) 
[18:37:56] IMAP4< * STATUS "Spam" (MESSAGES 0 UIDNEXT 7094 UIDVALIDITY 1377241625 UNSEEN 0) 
[18:37:56] IMAP4< 127 OK STATUS completed. 
<!-- status of all messages is correct again-->
#v-
-- 
Best regards
Mirosław Zalewski



More information about the Users mailing list