[Dovecot] messages_count too large (1121 > 1115)
I've seen this was mentioned before but remains unsolved. I upgraded Dovecot from 0.99 to v1.0.alpha4 yesterday and it rendered my inbox inaccessible:
Dec 15 00:09:07 sand dovecot: imap(willers): Corrupted index file /home/willers/mail/.imap/INBOX/dovecot.index: messages_count too large (1121 > 1115)
I've since moved that inbox away so I can view my new mail again. The error has moved with the mbox file:
Dec 15 00:27:41 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 00:27:41 sand dovecot: child 83886 (imap) killed with signal 11
This is on FreeBSD 4.8 (yes, yes ... but: "up 687 days" which is quite nice) all running on local disk. So earlier suspicions about NFS or MacOS X are out of the window.
One day I'll move move from mbox to dir format and the problem will go away, in the meanwhile, I thought it would be good to resolve this issue. Let me know how I can help to get to the bottom of this.
- mo
Moritz Willers wrote:
Dovecot from 0.99 to v1.0.alpha4 yesterday and it rendered my inbox /home/willers/mail/.imap/INBOX/dovecot.index: messages_count too large
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.
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
participants (2)
-
Jakob Hirsch
-
Moritz Willers