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.