Quick question: How does dovecot keep the message headers index file updated? Eg: if my MDA delivers an extra 10 messages while I'm logged in. How does the message index get updated? At what points is it regenerated? Thanks, Paul
On Fri, 2004-07-02 at 15:27, Paul Reilly wrote:> Quick question: > > How does dovecot keep the message headers index file updated? > Eg: if my MDA delivers an extra 10 messages while I'm logged in. > How does the message index get updated? At what points is it > regenerated?It checks the file's timestamp. If it's changed it resyncs indexes. It's checked before reading mails and after each command. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040702/593d2c03/attachment-0001.bin>
Thanks Timo, Do I need to enable this in the config file, with: maildir_check_content_changes = yes or does it still do it when that is set to no? Paul On Fri, 2 Jul 2004, Timo Sirainen wrote:> On Fri, 2004-07-02 at 15:27, Paul Reilly wrote: > > Quick question: > > > > How does dovecot keep the message headers index file updated? > > Eg: if my MDA delivers an extra 10 messages while I'm logged in. > > How does the message index get updated? At what points is it > > regenerated? > > It checks the file's timestamp. If it's changed it resyncs indexes. It's > checked before reading mails and after each command. > >
Wow - the performance is much better than Courier-IMAP! To open a mailbox with 2,200 messages in courier means about 10 seconds of waiting (depending on load). The same mailbox via dovecot was opened in 2-3 seconds! I like it! How come I don't see the .customflags .imap.index .imap.index.data .imap.index.log .imap.index.tree in subfolders, but not for INBOX /Maildir/cur ? Paul