Vu Ngoc VU <vvu@mcra.fr> writes:
So is this a fair summary of what you are asking: you want to load dovecot's caches with searchable items (i.e. specified headers) *and* have them expire and removed from caches after a preset amount of time?
Caches are persistent: once an item is cached, it stays in the cache. I can't think of a good way to purge them without a lot of bother, but maybe you don't really need this.
If you want to preload the cache with searchable items, you can periodically run a search/fetch command, which will load the cache with headers you want.
http://www.dovecot.org/list/dovecot/2010-October/053521.html
Maybe you can even add these items into the cache upon delivery, but someone more knowlegable than I would have to help you with that. The FTS/Solr plugin might also help.
You seem to be optimizing the wrong problem. Reading between the lines of your message, your management wants a technical solution to a human problem (someone did an oops).
Joseph Tam <jtam.home@gmail.com>
participants (1)
-
Joseph Tam