[dovecot] Re: current cvs

Timo Sirainen tss at iki.fi
Wed Apr 16 16:44:55 EEST 2003


On Wed, 2003-04-16 at 11:34, Farkas Levente wrote:
> > Currently it re-reads all the mails in the directory and indexes them.
> > I'll make this configurable some day.
> 
> the whole mails or just the headers?
> as you know we've a lots of big mails so this makes a real different!

The whole file, but you can disable that by removing MessagePart from
mail_cache_fields in config file. I think I'll fix this even more so
that the file isn't opened at all if nothing is wanted to be cached.

> ok so what is the best way to be sure that no cached information can 
> confuse the new version? just:
> - stop dovecot
> - kill all imap process
> - find /home/*/Maildir -name '.imap*' -exec rm {} \;
> - start dovecot

Well, yes, to be safe. But usually you shouldn't need to delete the
.imap* files at all. If there's any changes in format or whatever, it's
rebuilt automatically. It's needed only if it contains actually invalid
data that can't be detected, like there cached ENVELOPE texts were wrong
before.




More information about the dovecot mailing list