[Dovecot] How to propelry restore a Maildir
Thomas Hummel
hummel at pasteur.fr
Tue Sep 9 18:56:41 EEST 2008
On Tue, Sep 09, 2008 at 06:41:34PM +0300, Timo Sirainen wrote:
> On Tue, 2008-09-09 at 17:35 +0200, Thomas Hummel wrote:
>
> > Can this new mail be named identically, i.e. 1215166123.52887_0.host.dom.ain:2, ?
> > if so, it would be a problem when merging.
>
> Yes, except for Dovecot's potential warning:
Hmm you mean no ? Can a new message filen the same name as an old message ?
> dovecot-uidlist is recreated lazily. So it may list files that have
> already been deleted.
> So when Dovecot notices that there exists a new
> file that's already listed in dovecot-uidlist but that has been expunged
> from Dovecot's index files, it'll figure out the message is unexpunged
> and to avoid breaking IMAP clients it'll log a warning and give a new
> UID to the file.
You mean when a client deletes a message, it is first deleted from index, and
then deleted from dovecot-uidlist only if it reappears ? So dovecot-uidlist
would grow infinitely ? Or maybe it is cleaned when UIDs have to be rearranged
?
--
Thomas Hummel | Institut Pasteur
<hummel at pasteur.fr> | Pôle informatique - systèmes et réseau
More information about the dovecot
mailing list