Changeset c02f29ca104d badly breaks LMTP/mdbox

Thomas Leuxner tlx at leuxner.net
Tue Jan 20 08:41:04 UTC 2015


* Timo Sirainen <tss at iki.fi> 2015.01.20 06:42:

> Should be fixed now. I think I'm now done for a while with the new core development work that was needed, so things shouldn't break so easily for a while. Although the body.snippet stuff still needs some more work.

Looks good now after some testing. On a related note: Is there some tool/script available which can rebuild indexes in such a scenario? Since a whole 'm.' file has been corrupted the only way to mitigate this was restoring from a backup. As I don't want to do high frequency snapshots I wonder how to cope with mdbox corruptions?

Jan 17 10:15:45 nihlus dovecot: lmtp(tlx at leuxner.net): Warning: fscking index file /var/vmail/public/storage/dovecot.map.index
Jan 17 10:15:45 nihlus dovecot: lmtp(tlx at leuxner.net): Warning: mdbox /var/vmail/public/storage: rebuilding indexes
Jan 17 10:15:45 nihlus dovecot: lmtp(tlx at leuxner.net): Error: Corrupted dbox file /var/vmail/public/storage/m.132 (around offset=1): Invalid dbox version
Jan 17 10:15:45 nihlus dovecot: lmtp(tlx at leuxner.net): Error: mdbox rebuild: Failed to fix file /var/vmail/public/storage/m.132
Jan 17 10:15:45 nihlus dovecot: lmtp(tlx at leuxner.net): Error: Corrupted dbox file /var/vmail/public/storage/m.131 (around offset=1): Invalid dbox version
Jan 17 10:15:45 nihlus dovecot: lmtp(tlx at leuxner.net): Error: mdbox rebuild: Failed to fix file /var/vmail/public/storage/m.131
Jan 17 10:15:45 nihlus dovecot: lmtp(tlx at leuxner.net): Error: Corrupted dbox file /var/vmail/public/storage/m.130 (around offset=1): Invalid dbox version
Jan 17 10:15:45 nihlus dovecot: lmtp(tlx at leuxner.net): Error: mdbox rebuild: Failed to fix file /var/vmail/public/storage/m.130
Jan 17 10:15:45 nihlus dovecot: lmtp(tlx at leuxner.net): Error: Corrupted dbox file /var/vmail/public/storage/m.127 (around offset=1): Invalid dbox version
Jan 17 10:15:45 nihlus dovecot: lmtp(tlx at leuxner.net): Error: mdbox rebuild: Failed to fix file /var/vmail/public/storage/m.127
Jan 17 10:15:48 nihlus dovecot: lmtp(48904): Disconnect from local: Successful quit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20150120/bbb42f3c/attachment.sig>


More information about the dovecot mailing list