[Dovecot] How to recover a mail box from an assertion failure

Timo Sirainen tss at iki.fi
Tue Feb 8 21:26:53 EET 2011


On 8.2.2011, at 21.14, Michael Durket wrote:

> Panic: file /home/durket/dovecot-1.2.11/src/lib-index/mail-transaction-log-view.c: line 290 (mail_transaction_log_view_set): assertion failed: (min_file_seq != max_file_seq || max_file_seq != view->head->hdr.file_seq || max_file_offset != (uoff_t)-1 || min_file_offset <= view->head->sync_offset)

So it crashes in index file reading code.

> I realize that there are newer releases of Dovecot (that even may fix this bug) but what I need to know is if there's anything I can do 
> (like having Dovecot recreate indexes or whatnot) that will recover the user's mail (short of having to reconstruct it from backups).

You can just delete dovecot.index* files from the user's mailboxes.



More information about the dovecot mailing list