[Dovecot] Index files

Steven F Siirila sfs at tc.umn.edu
Tue Oct 17 15:18:54 UTC 2006


On Tue, Oct 17, 2006 at 02:40:46PM +0300, Timo Sirainen wrote:
> On Tue, 2006-10-17 at 00:15 -0500, Steven F Siirila wrote:
> > I am doing some testing with Dovecot and wondered if it was normal for
> > the deliver program to create index files for an Inbox (the test Inbox
> > is over 7MB), but to not update the index files after the initial creation,
> > even though messages continue to come into the mailbox.  Note that during
> > this testing, no IMAP or POP accesses are being made.  Would it matter
> > if a command-line program such as mutt were reading/updating the Inbox
> > in question?  Shouldn't Dovecot delivery be continually updating the
> > index files as new messages arrive in the Inbox?
> 
> Are you're using 1.0.rc7 or newer? It fixed a bug related to this.

Actually, we are currently using 1.0.rc6, but will re-test with 1.0.rc10.

> Deliver updates the indexes only when it determines that the indexes are
> up to date (mtime and file size match what indexes contain). If they
> aren't, it doesn't waste time in synchronizing the mbox but just lets
> the imap/pop3 do it later.

Hmm.  Would it make sense to remove the files in this case?  (Would it
be more efficient for the next delivery if the files simply did not exist?)

-- 

Steven F. Siirila			Office: Lind Hall, Room 130B
Internet Services			E-mail: sfs at umn.edu
Office of Information Technology	Voice: (612) 626-0244
University of Minnesota			Fax: (612) 626-7593


More information about the dovecot mailing list