[Dovecot] Dovecot index cache regeneration

Timo Sirainen tss at iki.fi
Fri Dec 30 22:14:11 EET 2005


On Thu, 2005-12-15 at 14:01 +1300, John Newman wrote:
> We’ve been using dovecot in the lab now for quite a while and really
> like the results we’re seeing.  Underlying dovecot we’re using maildir
> mailboxes.  We have the need to manually remove maildir files from
> time to time.  That is, by hand (we’ll, actually by script) but not
> via imap or pop.  Dues to dovecot’s index caching (which I might add,
> we love most of the time) imap clients still continue to display the
> message once they’re gone (as we’d expect).  However, in this instance
> it’s not what we’re after.  So my question is, what is the “dovecot
> recommended” way to force the index cache to regenerate.  We really
> don’t want to delete the entire index cache for a particular mailbox
> as larger mailboxes will then need to unnecessarily regenerate indices
> on unaffected messages.

This was actually a bug that I just fixed. Dovecot notices the external
file deletions, there was just a small stupid bug (since September) that
caused it not to do anything about it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20051230/9430a8f3/attachment.pgp


More information about the dovecot mailing list