Today I encoundered these errors:

Jan  9 08:30:06 mail dovecot: lmtp(31174, [email protected]): 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, [email protected]): 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, [email protected]): 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 [email protected] mailbox INBOX SAVEDON 
2012-01-09 | wc -l
75650
mail:~# doveadm search -u [email protected] mailbox INBOX SAVEDON 
2012-01-08 | wc -l
0
mail:~# doveadm search -u [email protected] 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 [email protected] mailbox INBOX SAVEDBEFORE $vorgestern
doveadm purge   -u [email protected]

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
  [email protected] | http://www.charite.de
            

Reply via email to