[Dovecot] Data loss from removing dovecot.index* files?
Timo Sirainen
tss at iki.fi
Tue Sep 9 18:43:05 EEST 2008
On Tue, 2008-09-09 at 10:36 -0500, John Lightsey wrote:
> Hi there,
>
> I've been rewriting the courier-dovecot-migrate script to handle
> dovecot->courier conversions in addition to courier->dovecot. One
> issue I've found is that when the courier->dovecot conversion is
> performed a second time (using --overwrite) and the dovecot-uidlist
> file is written again, Dovecot starts generating errors when accessing
> the maildir. The simple fix is to remove all of the dovecot.index*
> files so they are rebuilt when the maildir is scanned again. Is it
> safe to do this or is information stored in the index files that can't
> be rebuilt by Dovecot the next time it scans the maildir?
It's safe, but if any IMAP clients had seen the mailbox the first time
they may become confused if the message UIDs change (which is also the
reason Dovecot starts complaining).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080909/c7003dbf/attachment-0001.bin
More information about the dovecot
mailing list