[Tickets #11665] Seen/unseen status doesn't match IMAP flags status
bugs at horde.org
bugs at horde.org
Wed Nov 7 10:22:30 UTC 2012
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/11665
------------------------------------------------------------------------------
Ticket | 11665
Created By | arjen+horde at de-korte.org
Summary | Seen/unseen status doesn't match IMAP flags status
Queue | IMP
Version | 6.0.0
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
arjen+horde at de-korte.org (2012-11-07 10:22) wrote:
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;
arjen+horde at de-korte.org (2012-11-07 10:22) uploaded:
IMAP-Cache-Flags-Update.PNG
http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=IMAP-Cache-Flags-Update.PNG&ticket=11665&fn=%2FIMAP-Cache-Flags-Update.PNG
More information about the bugs
mailing list