13 Aug
2007
13 Aug
'07
6:18 p.m.
Hi Timo,
Not necessarily. It goes like this:
- mailbox is newly created
- a new mail arrives
- Client does FETCH 1 (BODY.PEEK[HEADER.FIELDS (From)]) --> Dovecot caches From header
- Client does FETCH 1 (BODY.PEEK[HEADER.FIELDS (Subject)]) --> Dovecot caches Subject header
- a new mail arrives
- Client does FETCH 1 (BODY.PEEK[HEADER.FIELDS (From)]) --> Dovecot caches From and Subject headers
- Client does FETCH 1 (BODY.PEEK[HEADER.FIELDS (Subject)]) --> Dovecot gets Subject from cache
- a new mail is added with APPEND command or with deliver --> Dovecot caches From and Subject header immediately (v1.1 only)
at 3 and 4, does it means that dovecot has to open the message file twice to get the required header fields from the message? What is the relationship between dovecot.index, dovecot.index.cache and dovecot.index.log?
Thanks for your detailed explaination. :-)
- Joe
----- Original Message ----- From: "Timo Sirainen" tss@iki.fi To: "Joe Wong" joewong@tkodog.no-ip.com Cc: "Dovecot Mailing List" dovecot@dovecot.org Sent: Monday, August 13, 2007 11:06 PM Subject: Re: [Dovecot] about index cache