On Wed, 2008-04-09 at 11:11 -0700, richs@whidbey.net wrote:
We just came across a mailbox today that, when accessed via POP3 or IMAP, crashes Dovecot. It seems to be another index-related corruption issue (as removing "dovecot.index" for INBOX fixed it);
Using POP3:
dovecot: Apr 09 10:28:14 Warning: POP3(USERNAME): Maildir /mail/USERNAME/Maildir: UIDVALIDITY changed (1145576765 -> 1207677483)
Why is the UIDVALIDITY changing? This happens if index file contains a different UIDVALIDITY than dovecot-uidlist. Are both maildir and indexes stored on NFS? Do you delete dovecot-uidlist sometimes?
dovecot: Apr 09 10:28:14 Panic: POP3(USERNAME): file index-sync.c: line 39 (index_mailbox_set_recent_uid): assertion failed: (seq_range_exists(&ibox->recent_flags, uid))
This most likely happens because of the above. I'll see if I can get it fixed, but it's just a side effect.