On Tue, 2008-09-16 at 10:04 +0100, Yates Ian Mr (ITCS) wrote:
I spoke too soon! Although the patch did reduce the numbers of Panics significantly, I'm still getting Panic messages of the kind below:
dovecot: Sep 16 09:56:46 Warning: IMAP(user): UIDVALIDITY changed (1220425974 -> 1221545790) in mbox file /mail/spool/user dovecot: Sep 16 09:56:46 Panic: IMAP(user): file index-sync.c: line 39 (index_mailbox_set_recent_uid): assertion failed: (seq_range_exists(&ibox->recent_flags, uid))
Yes, UIDVALIDITY changes currently causes this assert. I should fix that some day. They don't really harm much since even without the panic the client would be disconnected anyway.
So the main problem here is why is the UIDVALIDITY changing? Do your users have direct access to the mbox files? http://wiki.dovecot.org/MboxProblems describes the problem.