6.0.0-beta1
7/6/25

[#12748] Disappearing number of unread messages
Summary Disappearing number of unread messages
Queue IMP
Queue Version 6.1.4
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester azurit (at) pobox (dot) sk
Created 10/09/2013 (4288 days ago)
Due
Updated 10/26/2013 (4271 days ago)
Assigned 10/09/2013 (4288 days ago)
Resolved 10/26/2013 (4271 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/26/2013 03:36:16 PM Jan Schneider State ⇒ Not A Bug
 
10/26/2013 03:23:08 PM azurit (at) pobox (dot) sk Comment #14 Reply to this comment
This can be closed, it was bug in Dovecot which is fixed now:
http://hg.dovecot.org/dovecot-2.1/rev/d16e212531ec

Thank you.

10/15/2013 02:02:44 AM Michael Slusarz Comment #13 Reply to this comment
For posterity sake, this is the dovecot thread:

http://markmail.org/message/dpq7qgqfym42ymfj

As I previously stated, this is looking very much like it has nothing 
to do with Horde/IMP.
10/15/2013 01:59:37 AM Michael Slusarz Comment #12 Reply to this comment
Michael, you really SHOULD read people messages - based on what you 
said you didn't read my first message. My inbox had 7 unread 
messages all the time and the information about unread messages is 
appearing and disappearing just like i described in my first message.
Except I did read your message.  And I explained exactly what your 
**logs** showed.  Your logs show no messages in the first access.   
What else am I supposed to say?
I reported tons of real bugs so far and you were always telling me 
that Courier IMAP is broken and i should switch to Dovecot. Now, 
when i finally did it, IMP doesn't work even as good as in Courier. 
I'm using Dovecot from NEWEST Debian (Wheezy) and there's no easy 
way how to install and maintain different version of Dovecot in 
Debian.
Again, what can I tell you?  As my message demonstrated to you on the 
dovecot list, that version of dovecot is broken (at least with your 
configuration).

I stand by my belief that Dovecot is far superior to Courier.
10/14/2013 06:16:28 PM azurit (at) pobox (dot) sk Comment #11 Reply to this comment
Michael, you really SHOULD read people messages - based on what you 
said you didn't read my first message. My inbox had 7 unread messages 
all the time and the information about unread messages is appearing 
and disappearing just like i described in my first message.

I reported tons of real bugs so far and you were always telling me 
that Courier IMAP is broken and i should switch to Dovecot. Now, when 
i finally did it, IMP doesn't work even as good as in Courier. I'm 
using Dovecot from NEWEST Debian (Wheezy) and there's no easy way how 
to install and maintain different version of Dovecot in Debian.

Anyway, you are just telling that it's broken server without any 
investigation. I really heard this several times from you and then it 
turned out to be a bug in IMP.. So, PLEASE, can you, at least, read 
and try to understand my messages?
10/14/2013 05:56:17 PM Michael Slusarz Comment #10 Reply to this comment
...but your first log has this:

C: 4 LIST () "" (INBOX INBOX.Karantena INBOX.Spam) RETURN (STATUS (UNSEEN))
S: * LIST () "." "INBOX"
S: * LIST () "." "INBOX.Karantena"
S: * STATUS "INBOX.Karantena" (UNSEEN 0)
S: * LIST () "." "INBOX.Spam"
S: * STATUS "INBOX.Spam" (UNSEEN 0)
S: 4 OK List completed.

Which indicates that INBOX has NO unread messages.  I don't care about 
messages that came in after the first log, because they are irrelevant 
to your bug report that unseen messages existed on the **first** access.

For the record, your IMAP server appears to be broken anyway.  The 
above response to the LIST-STATUS command is incorrect (it is missing 
an UNSEEN response for INBOX).  Considering that Dovecot stable of the 
2.1 branch is at 2.1.17, your 2.1.7 version is very old.  I would 
recommend upgrading.
10/12/2013 08:35:02 AM azurit (at) pobox (dot) sk Comment #9 Reply to this comment
That's NOT true and you can see it in the logs:

C: 4 SEARCH RETURN (MIN COUNT) UNSEEN
S: * ESEARCH (TAG "4") MIN 5702 COUNT 7

There you can see 7 unseen messages, which is correct. This part of 
communication happened when i whitched from different folder back to 
inbox and this is a time, when number of unseen messages is corrected 
in IMP (for a while).
10/11/2013 09:59:09 PM Michael Slusarz Comment #8 Reply to this comment
According to that log, there was NEVER any unseen messages in that 
mailbox.  So I have no idea why you would see unseen messages appear.

You are going to need to track this down yourself, as I can't 
reproduce (and neither can anybody else).  Nothing changed in 6.1.4 
that would suddenly have caused this either.
10/10/2013 07:35:20 AM azurit (at) pobox (dot) sk Comment #7
New Attachment: imap-ok.log Download
Reply to this comment
Ou sh.t, sorry, i uploaded the wrong file! Here is the correct one.
10/10/2013 12:11:19 AM Michael Slusarz Comment #6 Reply to this comment
Your first issue is that you are NOT connecting to your Dovecot server:

S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION 
STARTTLS] Courier-IMAP ready. Copyright 1998-2010 Double Precision, 
Inc.  See COPYING for distribution information.

Are you sure you don't have a broken proxy somewhere that is 
alternating accesses between the two servers?
10/09/2013 05:08:21 PM azurit (at) pobox (dot) sk Comment #5 Reply to this comment
Dovecot 2.1.7 (Debian Wheezy)
10/09/2013 05:01:31 PM azurit (at) pobox (dot) sk Comment #4
New Attachment: imap.log Download
Reply to this comment
Attaching IMAP log, there are 3 parts:
(1) Communication when i clicked on 'Refresh' while there already was 
an incorrect unread messages information (=IMP was already showing no 
unread messages).

(2) Communication when i opened folder 'Rozpisane'.

(3) Communication when i again opened INBOX and information about 
unread messages was corrected (for a while).

10/09/2013 04:32:48 PM Michael Slusarz Comment #3
State ⇒ Feedback
Reply to this comment
Obviously, this is not reproducible.  At a minimum you will need to 
provide an IMAP log and or AJAX responses to even begin to debug.
10/09/2013 09:29:28 AM azurit (at) pobox (dot) sk Comment #2 Reply to this comment
Firefox 24.0, Kubuntu linux
10/09/2013 07:49:42 AM azurit (at) pobox (dot) sk Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Disappearing number of unread messages
Type ⇒ Bug
Reply to this comment
Number of unread messages next to a folder (i tried only inbox) is 
disappearing. Always reproducable (dynamic view):
1.) See the number of unread messages next to the inbox.
2.) Click on 'Refresh' button and the number disappears like there are 
no unread messages.
3.) Open any other folder, then again open inbox and go to (1).

Problem stared to happen when we switched from Courier to Dovecot.

Saved Queries