On 15 Dec 2005, at 12:11, Jakob Hirsch wrote:
Dovecot should detect invalid indexes, but this didn't always work
in the past, so it's a good idea to erase indexes when switching versions.
Thanks. Forget to mention it, I did that several times as well, both
on the inbox as well as the moved mbox file's index.
I gave compiling 1.0.alpha5 a try today as Timo mentions many mbox
fixes in the release notes; stopped dovecot, installed alpha5,
removed the index and everything else relating to the mbox file in
the .imap directory, started dovecot and fired up my mail client:
Dec 15 23:33:19 sand dovecot: Dovecot v1.0.alpha5 starting up
Dec 15 23:33:25 sand dovecot: imap-login: Login: user=<willers>,
method=PLAIN, rip=192.168.1.1, lip=192.168.1.11, TLS
Dec 15 23:33:26 sand dovecot: imap(willers): Corrupted index file /
home/willers/mail/old-inbox/.imap/200407-200512/dovecot.index:
messages_count too large (1121 > 1115)
Dec 15 23:33:26 sand dovecot: child 91377 (imap) killed with signal 11
I'm amazed how quickly it gets to that mbox and has a corrupt index
file for it, though.
bummer - mo