On 28.1.2012, at 23.04, Timo Sirainen wrote: > 299692 - 291500 = 8192 = output stream's buffering size. I guess what > happened is that sometimes earlier Dovecot crashed while it was saving a > message, but it had managed to write 8192 bytes. Now purging notices the > extra 8192 bytes and wonders what to do about them, so it starts index > rebuild, which probably adds it as a new message to mailbox. > > In future this check probably should be done before appending the next > message to mdbox, so it's noticed earlier
Done: http://hg.dovecot.org/dovecot-2.1/rev/bde005e302e0 > and it probably should delete the message instead of adding a partially saved > message to mailbox. Not done. Safer to not delete any data.