[Dovecot] Bug: empty m-files

Peer Heinlein p.heinlein at heinlein-support.de
Fri Jan 11 15:14:10 EET 2013


Having an empty m-File, doveadm force-resync isn't able to detect and
repair this:

-rw------- 1 vmail vmail  4948043  8. Jan 20:32 m.634
-rw------- 1 vmail vmail  5237411  8. Jan 20:32 m.635
-rw------- 1 vmail vmail        0  9. Jan 16:23 m.636


mail1:~ # doveadm force-resync -u user mailbox INBOX
doveadm(user): Warning: fscking index file
/vmail/example.com/user//mdbox/storage/dovecot.map.index
doveadm(user): Warning: mdbox
/vmail/example.com/user//mdbox/storage: rebuilding indexes
doveadm(user): Error: Corrupted dbox file
/vmail/example.com/user//mdbox/storage/m.636 (around offset=0):
EOF while reading file header
doveadm(user): Error: mdbox rebuild: Failed to fix file
/vmail/example.com/user//mdbox/storage/m.636
doveadm(user): Error: mdbox
/vmail/example.com/user//mdbox/storage: Duplicate GUID
2cafdd2f0224ec50773c0000085c1439 in m.627:16 and m.638:16


Peer

-- 
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

http://www.heinlein-support.de

Tel: 030 / 405051-42
Fax: 030 / 405051-19

Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht
Berlin-Charlottenburg,
Geschäftsführer: Peer Heinlein -- Sitz: Berlin



More information about the dovecot mailing list