6.0.0-beta1
8/11/25

[#12873] The "seen" flag does not stick
Summary The "seen" flag does not stick
Queue IMP
Queue Version 6.1.5
Type Bug
State No Feedback
Priority 1. Low
Owners
Requester nsemenova (at) parallels (dot) com
Created 12/04/2013 (4268 days ago)
Due
Updated 01/13/2014 (4228 days ago)
Assigned 12/04/2013 (4268 days ago)
Resolved 01/08/2014 (4233 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/13/2014 07:54:22 PM Michael Slusarz Comment #9 Reply to this comment
Ping?
I know the ping was not sent to us, but to keep you updated, several 
of our users still have problems with non-persisting IMAP flags. Any 
chance of figuring out what changed between the working 5.0.4 and 
this version of Imp?
Thousands of lines of code (if not tens of thousands of lines).   
Including library/Horde package code.  So that's not the way to 
approach this.

The only proper way to approach is to determine what is occurring in 
the current code, rather than trying to figure out the changes.
01/09/2014 03:19:47 PM vmkari (at) cc (dot) helsinki (dot) fi Comment #8 Reply to this comment
Ping?
I know the ping was not sent to us, but to keep you updated, several 
of our users still have problems with non-persisting IMAP flags. Any 
chance of figuring out what changed between the working 5.0.4 and this 
version of Imp?
01/08/2014 06:44:55 PM Michael Slusarz State ⇒ No Feedback
 
12/27/2013 09:43:47 PM Michael Slusarz Comment #7 Reply to this comment
I would guess your IMAP server is broken.  It is most likely not 
correctly marking the message as seen during a non-peek FETCH.  But 
would need IMAP logs to verify.
Ping?
12/07/2013 03:25:38 AM Michael Slusarz Comment #6 Reply to this comment
The flag gets correctly written to the IMAP server, so IMP gets it 
right after page reload.
This is exactly opposite of what the OP is reporting - there the 
message is correctly flagged and on reload, the message is reset to 
the previous flag state.
12/07/2013 03:23:35 AM Michael Slusarz Comment #5 Reply to this comment
The "seen" flag does not stick: you read a message, reload the page 
(hit F5) , the message is marked as 'unread' again.
I would guess your IMAP server is broken.  It is most likely not 
correctly marking the message as seen during a non-peek FETCH.  But 
would need IMAP logs to verify.



To further debug this issue, we need details of the IMP -> IMAP/POP 
communication.

To enable debugging, see instructions contained in 
imp/config/backends.php (the 'debug' config parameter).

Debugging should not be enabled on a production server,   Attach/post 
only the portion of the log that directly deals with the problem 
reported (it may be simplest to clear the log file and then perform 
the event that causes the error).
12/05/2013 08:19:40 AM vmkari (at) cc (dot) helsinki (dot) fi Comment #4 Reply to this comment
We emptied the IMAP caches using:

   imp-query-imap-cache --purge

but the problem still exists. Actually I did not believe purging imap 
cache would help, because when we updated our Webmail servers last 
Friday, all of them were rebooted and the imap caches started up as 
being empty anyway.

We would be extremely grateful for a solution. Thanks for your help.
12/04/2013 11:32:20 AM Jan Schneider Comment #3
State ⇒ Feedback
Reply to this comment
Try emptying the IMAP cache with imp-query-imap-cache.
12/04/2013 10:27:58 AM jukka (dot) huhta (at) helsinki (dot) fi Comment #2 Reply to this comment
We're seeing this too (after groupware webmail edition upgrade 5.0.4 
-> 5.1.3) and have constant reports from users of different browsers. 
I also saw similar with \Deleted flags: messages that were already 
marked deleted were suddenly shown as not deleted ones when I deleted 
another message.

The flag gets correctly written to the IMAP server, so IMP gets it 
right after page reload.
12/04/2013 09:05:02 AM nsemenova (at) parallels (dot) com New Attachment: 5.txt
 
12/04/2013 09:02:45 AM nsemenova (at) parallels (dot) com Comment #1
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ The "seen" flag does not stick
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
The "seen" flag does not stick: you read a message, reload the page 
(hit F5) , the message is marked as 'unread' again.

Steps to reproduce:

1. Send a message
2.  Click on the message to "see" it (do not use mark as ... seen)
3. Make sure that the message is marked as seen (it is not bold any more)
4. Hit F5 to refresh the page
5. Check the message, it is marked as 'unseen' (bold) again

Saved Queries