On Sun, 2006-12-10 at 20:37 +0100, Cor Bosman wrote:
See if this patch makes it give corrupted index file errors instead:
http://dovecot.org/list/dovecot-cvs/2006-December/007059.html
It does:
Dec 10 18:55:44 dovecot2.xs4all.nl dovecot: IMAP(XXX): Corrupted Index file /var/run/dovecot-index/l/ld/XXX/.INBOX/dovecot.index: Record [27].uid=0 Dec 10 20:07:28 dovecot2.xs4all.nl dovecot: IMAP(XXX): Corrupted Index file /var/run/dovecot-index/d/di/XXX/.INBOX/dovecot.index: Record [1659].uid=0 Dec 10 20:07:33 dovecot2.xs4all.nl dovecot: IMAP(XXX): Corrupted Index file /var/run/dovecot-index/d/di/XXX/.INBOX/dovecot.index: Record [1659].uid=0
Could you send me those broken index and log files? The attached patch copies them to /tmp when index gets corrupted.
The index and log files don't contain any message contents, so it's safe to send them.
BTW. http://dovecot.org/tools/idxview.c and http://dovecot.org/tools/logview.c can be used to look into them if you want to do it yourself. Although I think those can be compiled only against CVS HEAD.