[Dovecot] 2.0.17: Index lost -> SAVEDON lost as well?

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Mon Jan 9 09:40:57 EET 2012


Today I encoundered these errors:

Jan  9 08:30:06 mail dovecot: lmtp(31174, backup at 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 at 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 at 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 at backup.invalid mailbox INBOX SAVEDON 2012-01-09 | wc -l
75650
mail:~# doveadm search -u backup at backup.invalid mailbox INBOX SAVEDON 2012-01-08 | wc -l
0
mail:~# doveadm search -u backup at 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 at backup.invalid mailbox INBOX SAVEDBEFORE $vorgestern
doveadm purge   -u backup at 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 at charite.de | http://www.charite.de
	    



More information about the dovecot mailing list