10 Apr
2004
10 Apr
'04
2:27 a.m.
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:
- Get rid of all indexes e.g.: find ~/Maildir -name ".*imap.index*" -exec rm -v {} \; find ~/Maildir -name "dovecot-uidlist" -exec rm -v {} \;
- Load Mailclient, Enter INBOX once (to have index recreated)
- Change to LARGEFOLDER (one that takes a minute or so to index)
- Deliver mail to INBOX *while LARGEFOLDER is still indexing*
- 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