On Fri, 2009-08-07 at 16:34 -0400, Timo Sirainen wrote: > On Mon, 2009-08-03 at 14:05 +0200, Sandro Tosi wrote: > > > This should help: http://hg.dovecot.org/dovecot-1.1/rev/12670c6d0c10 > > > > > Hi Timo, > > as Joel pointed out (privately) the patch you reference above is already > > included in 1.1.3 (released on Mar 2009, while the patch is from Sep '08). > > 1.1.13 you mean. And actually I checked that before giving the link, but > looks like I also looked at 1.1.3 release date instead of 1.1.13 :) > > Anyway, can you reproduce this easily with some mailbox? Could you send > me such mailbox's dovecot.index, dovecot.index.log and dovecot-uidlist > files? None of them contain anything sensitive about the mailbox. After > that you can just delete dovecot.index* files and it should work again > (until it reaches the same buggy condition again).
I looked at it a bit more closely. I don't think that condition should ever happen normally. Anyway I changed the code so that it'll reset the sort indexes automatically instead of crashing: http://hg.dovecot.org/dovecot-1.1/rev/fd48a9c61b6c
signature.asc
Description: This is a digitally signed message part