Today I encoundered these errors:
Jan 9 08:30:06 mail dovecot: lmtp(31174, backup@backup.invalid): Error: Log synchronization error at seq=858,offset=44672 for /home/mailboxname/mdbox/storage/dovecot.map.index: Append with UID 282388, but next_uid = 282389 Jan 9 08:30:06 mail dovecot: lmtp(31819, backup@backup.invalid): Error: Log synchronization error at seq=858,offset=44672 for /home/mailboxname/mdbox/storage/dovecot.map.index: Append with UID 282388, but next_uid = 282389 Jan 9 08:30:06 mail dovecot: lmtp(32148, backup@backup.invalid): Error: Log synchronization error at seq=858,offset=44672 for /home/mailboxname/mdbox/storage/dovecot.map.index: Append with UID 282388, but next_uid = 282389
After that, the SAVEDON date for all mails was reset to today:
mail:~# doveadm search -u backup@backup.invalid mailbox INBOX SAVEDON 2012-01-09 | wc -l 75650 mail:~# doveadm search -u backup@backup.invalid mailbox INBOX SAVEDON 2012-01-08 | wc -l 0 mail:~# doveadm search -u backup@backup.invalid mailbox INBOX SAVEDON 2012-01-07 | wc -l 0
Before, I was running this:
vorgestern=date -d "-2 day" +"%Y-%m-%d"
doveadm expunge -u backup@backup.invalid mailbox INBOX SAVEDBEFORE $vorgestern
doveadm purge -u backup@backup.invalid
Is there a way of restoring the SAVEDON info?
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de