[Dovecot] index performance issues

Timo Sirainen tss at iki.fi
Tue Mar 13 15:18:52 EET 2007


On Tue, 2007-03-13 at 13:11 +0000, Netserve wrote:
> 1. POP3 users who keep the mails stored in server. POP3 needs to get a
> list of all the mails' virtual sizes, which requires reading all the
> mails' contents. This could be avoided by adding ,W=<size> to the
> maildir filenames (http://wiki.dovecot.org/MailboxFormat/Maildir),
> although you can't do that for existing mails without causing their 
> UIDs
> to change.
> 
> >>>
> 
> The wiki doesn't explain how to add the W=<size> to the file names, 

There's no way to do that right now. But are you using Dovecot's deliver
to store the mails? If not, then Dovecot can't even do that.

> It's not clear if the mail_cache_fields are added to both the file 
> names and index cache or what?

It affects what's cached in dovecot.index.cache file.

Perhaps the message size could be stored in dovecot-uidlist file as well
when POP3 is used. But this won't happen before v1.0, so it won't help
you now..

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070313/844389c9/attachment.pgp 


More information about the dovecot mailing list