Hi,
Just today, Thunderbird started throwing errors when accessing a particular mail folder. Looking in the logs showed this:
dovecot: Aug 09 15:36:31 Error: IMAP(nmenere): Corrupted index file /imap/mailboxes/nmenere/shared-settings/jira-support/index/.INBOX.Triaged/dovecot.index: messages_count too large (51 > 39)
This is a new user's first attempt to access a shared jira-support/ folder, so there is no chance of their index files being corrupt. Deleting the dovecot* files didn't help. Neither did 'cp -rp .INBOX.Triaged .INBOX._Triaged' and then subscribing to the new folder.
In fact, the problem seems to be with the files in cur/. There are 51 in total, and 39 of them have an 'i' flag:
1155084961.P27685Q5.redback.sydney.atlassian.com:2,Sbrk 1155084979.P27685Q6.redback.sydney.atlassian.com:2,Sbtk 1155085103.P27685Q10.redback.sydney.atlassian.com:2,Sbwk 1155085175.P28321Q1.redback.sydney.atlassian.com:2,Sbcki 1155085221.P27685Q12.redback.sydney.atlassian.com:2,Sbwk 1155085228.P28321Q4.redback.sydney.atlassian.com:2,Sbki 1155085231.P28321Q5.redback.sydney.atlassian.com:2,Sbki 1155085246.P28321Q6.redback.sydney.atlassian.com:2,Sbki
Loading the maildir in mutt and re-saving them all to a clean maildir fixes the problem, by resetting the flags.
Going through the logs, I see other users hitting this problem with other mailboxes.
Anyone know what 'i' means? I guess it's a dovecot extension?
I should mention that this happened a few months ago too, with 1.0b8 (I think).
This is all running on a linux box, mail delivered with procmail, no special settings.
Anyone seen this before?
Cheers, Jeff