[Dovecot] How to propelry restore a Maildir

Timo Sirainen tss at iki.fi
Thu Sep 11 18:31:51 EEST 2008


On Wed, 2008-09-10 at 14:49 +0200, Thomas Hummel wrote:
> On Tue, Sep 09, 2008 at 07:01:43PM +0300, Timo Sirainen wrote:
> 
> Thanks. That's clear now. Except for the unexpunged situation :
> 
> when excactly does dovecot notice that a (restored) message reappears ? 
> 
> You said the message is removed from the index but not (because of lazy
> expunge) yet from dovecot.uidlist. 

Right.

> But what if the index is destroyed for some
> reason : would that mean that the restoration would be unoticed by dovecot ?

Yes, Dovecot would happily reassign the old UID for the mail then and
possibly cause problems to clients. Unless it reappears while Dovecot is
running and the indexes were alive in memory during the whole time, then
it would notice it.

-------------- 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/20080911/6f35100e/attachment.bin 


More information about the dovecot mailing list