Michael Durket
2011-Feb-08 19:14 UTC
[Dovecot] How to recover a mail box from an assertion failure
I'm running Dovecot version 1.2.11 and getting this assertion error on a user's mail: 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) 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).
Timo Sirainen
2011-Feb-08 19:26 UTC
[Dovecot] How to recover a mail box from an assertion failure
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.