[Dovecot] corrupt mdbox, force-resync segfaults

Timo Sirainen tss at iki.fi
Thu Nov 29 08:48:40 EET 2012


On 28.11.2012, at 18.54, Metro Domain Admin wrote:

> I could use some help with a corrupt mdbox. doveadm force-resync is
> crashing (see below), but I really need just to get this account
> functioning. What's my next step, as far as deleting index files?

gdb backtrace would be helpful in fixing the crash. http://dovecot.org/bugreport.html

Probably you can do simply:

gdb --args /opt/dovecot/bin/doveadm -Dv force-resync -u cory INBOX
run
bt full

or if that doesn't work (or simply gives "??" lines or other unusable garbage), try:

ulimit -c unlimited
/opt/dovecot/bin/doveadm -Dv force-resync -u cory INBOX
gdb /opt/dovecot/bin/doveadm core
bt full

Also the just released v2.1.11 fixes some potential crashes.



More information about the dovecot mailing list