6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/17/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11665] Seen/unseen status doesn't match IMAP flags status
*
Your Email Address
*
Spam protection
Enter the letters below:
. .\ /. ..__ .__ |__| >< |__|[__)[__) | |/ \| || \[__)
Comment
> If I enable the cache in imp/config/backends.local.php (I'm using the > advanced IMAP server) > > $servers['advanced']['cache'] = true; > > the seen/unseen status of messages in the folder summary doesn't > always reflect the actual IMAP flag status (see attached picture, in > the stable version of IMP 6 all messages in the Virtual Inbox should > be marked as unseen). For most messages, it is correct, but sometimes > messages are incorrectly marked as unseen. > > The attached screenshot was made by going to the folder where I store > all Horde related mail, selecting all messages and then marking them > as unseen. Immediately afterwards, the messagelist is displayed with > all messages as unseen (as expected). If I now go to another folder > and back to the Horde folder, it looks as if I didn't change the > flags as it shows exactly as before. > > After logging out and logging in again, all messages from this folder > are now listed in the Virtual Inbox (as expected). But the > seen/unseen status is as before, some are marked as seen and some as > unseen. In the stable version of IMP this should not be possible, as > all messages in the Virtual Inbox have the unseen flag set (otherwise > they wouldn't be in the Virtual Inbox), so the status must have been > cached somewhere. > > If I then go back to the Horde folder and mark all messages are seen, > the messagelist shows all messages as seen (correct). But if I go to > another folder and then back to the Horde folder, the same messages > as before all this is marked as unseen (as if the flags were not > changed). > > After logging out and logging in again, there are no more messages in > the Virtual Inbox (as expected), but the seen/unseen status in the > messagelist still shows that some messages are unseen and some seen. > By the way, this is not random, each time the same messages are > marked as seen. > > If I disable the IMAP cache by > > $servers['advanced']['cache'] = false; > > this doesn't happen and the seen/unseen status as shown in the > messagelist always follows the actual IMAP status. > > I use the following cache settings: > > $conf['cache']['default_lifetime'] = 86400; > $conf['cache']['params']['driverconfig'] = 'horde'; > $conf['cache']['driver'] = 'Sql'; > $conf['cache']['compress'] = false; > $conf['cache']['use_memorycache'] = 'Memcache'; > $conf['cachecssparams']['driver'] = 'filesystem'; > $conf['cachecssparams']['lifetime'] = 86400; > $conf['cachecssparams']['compress'] = 'php'; > $conf['cachecss'] = true; > $conf['cachejsparams']['driver'] = 'filesystem'; > $conf['cachejsparams']['compress'] = 'php'; > $conf['cachejsparams']['lifetime'] = 86400; > $conf['cachejs'] = true; > $conf['cachethemesparams']['check'] = 'appversion'; > $conf['cachethemesparams']['lifetime'] = 604800; > $conf['cachethemes'] = true; > $conf['sessionhandler']['type'] = 'Memcache'; > $conf['sessionhandler']['memcache'] = false; > $conf['memcache']['hostspec'] = array('localhost'); > $conf['memcache']['port'] = array('11211'); > $conf['memcache']['weight'] = array(); > $conf['memcache']['persistent'] = true; > $conf['memcache']['compression'] = false; > $conf['memcache']['large_items'] = true; > $conf['memcache']['enabled'] = true;
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers