huge mdbox broken / Log synchronization error

Florian Lohoff f at
Wed May 5 12:42:32 EEST 2021

its the second time in 6 Month i have issues with a huge mdbox. It
broken in November and i restored from backup because force-resync
twice didnt fix it. (And restore from borg-backup was MUCH faster
than force-resync)

This time i have heavy delivery into that mailbox (postfix concurrency 1) 
and i tried merging folders with doveadm move. The move froze and now
i seem to have a broken mdbox:

Errors are:

May 05 10:21:09 lda(inbox at Error: Log
	synchronization error at seq=2736,offset=135540 for
	Extension record inc drops number below zero (uid=7757856, diff=-1,


root at pax:~# doveadm -D -v force-resync -u inbox at \*

now. Although this will mostly likely take 8-10 hours. 

Mailbox is 44GByte (Compressed mdbox) and 220K folders.

This is dovecot on Debian/Stretch 

dovecot-core            1:2.2.27-3+deb9u7
dovecot-imapd           1:2.2.27-3+deb9u7
dovecot-ldap            1:2.2.27-3+deb9u7
dovecot-managesieved    1:2.2.27-3+deb9u7
dovecot-pop3d           1:2.2.27-3+deb9u7
dovecot-sieve           1:2.2.27-3+deb9u7
dovecot-solr            1:2.2.27-3+deb9u7

Florian Lohoff                                                     f at
   Any sufficiently advanced technology is indistinguishable from magic.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <>

More information about the dovecot mailing list