On 13.1.2012, at 8.20, Kamil Jońca wrote:

> Dovecot 2.0.15, debian package, am I lost some mails? How can I check
> what is in *.broken file?

You can look at the .broken file with text editor for example :)

> --8<---------------cut here---------------start------------->8---
> $doveadm -v purge
> doveadm(kjonca): Error: Corrupted dbox file 
> /home/kjonca/Mail/0/storage/m.6469 (around offset=291530): purging found 
> mismatched offsets (291500 vs 299692, 60/215)

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 and it probably should delete the message 
instead of adding a partially saved message to mailbox.

> doveadm(kjonca): Error: Corrupted dbox file 
> /home/kjonca/Mail/0/storage/m.6469 (around offset=599914): metadata header 
> has bad magic value

This is about the same error as above.

So, in short: Nothing to worry about. Although you could look into why the 
earlier saving crashed in the first place.

Reply via email to