- Timo Sirainen <tss@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@leuxner.net): Warning: fscking index file /var/vmail/public/storage/dovecot.map.index Jan 17 10:15:45 nihlus dovecot: lmtp(tlx@leuxner.net): Warning: mdbox /var/vmail/public/storage: rebuilding indexes Jan 17 10:15:45 nihlus dovecot: lmtp(tlx@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@leuxner.net): Error: mdbox rebuild: Failed to fix file /var/vmail/public/storage/m.132 Jan 17 10:15:45 nihlus dovecot: lmtp(tlx@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@leuxner.net): Error: mdbox rebuild: Failed to fix file /var/vmail/public/storage/m.131 Jan 17 10:15:45 nihlus dovecot: lmtp(tlx@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@leuxner.net): Error: mdbox rebuild: Failed to fix file /var/vmail/public/storage/m.130 Jan 17 10:15:45 nihlus dovecot: lmtp(tlx@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@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