Hello,
I've just upgraded to 0.99.10.4 and I think I've spotted a bug
that can corrupt Maildir-index.
Reproduce it like this:
1. Get rid of all indexes
e.g.: find ~/Maildir -name ".*imap.index*" -exec rm -v {} \;
find ~/Maildir -name "dovecot-uidlist" -exec rm -v {} \;
2. Load Mailclient, Enter INBOX once (to have index recreated)
3. Change to LARGEFOLDER (one that takes a minute or so to index)
4. Deliver mail to INBOX *while LARGEFOLDER is still indexing*
5. Wait until LARGEFOLDER has finally opened, then switch back to INBOX
Result (for me):
imap(moe): Corrupted index file /home/moe/Maildir/.INBOX/.imap.index:
index.next_uid (247) > uid_rec.uid (246)
My dovecot runs on linux 2.4.19, Maildir on ext2 (softraid).
best regards