Marco Giunta
2008-May-13 06:36 UTC
[Dovecot] how add size (, S=size) and virtual size (, W=vsize) fields to a maildir filename ?
Hi to all, I'm a sys admin in a college, and we're using Dovecot as IMAP/POP3 server and delivery; we're also patch dovecot to add managesieve capability. I've a question: I've read on dovecot's wiki, that is possible improve the performance on maildir files by adding ,S=<size>,W=<vsize> fields on filename. How is possible to do that ? I've search on all the wiki and on the mailing list, but I didn't find nothing about modify the maildir file name. Someone can help me ? Best regards, Marco
Timo Sirainen
2008-May-13 06:49 UTC
[Dovecot] how add size (, S=size) and virtual size (, W=vsize) fields to a maildir filename ?
On Tue, 2008-05-13 at 08:36 +0200, Marco Giunta wrote:> Hi to all, > I'm a sys admin in a college, and we're using Dovecot as IMAP/POP3 > server and delivery; we're also patch dovecot to add managesieve > capability. I've a question: > > I've read on dovecot's wiki, that is possible improve the performance on > maildir files by adding ,S=<size>,W=<vsize> fields on filename.Only in some specific situations. Do you use Maildir++ quota? S= is useful only with it. Do you use Dovecot's deliver? It adds Sautomatically if you use quota plugin. W= isn't added automatically by v1.0, but v1.1 adds it (actually I just noticed that the code was accidentally commented out, I enabled it again so the next release will have it). But as long as you're using index files (and you should be), W= doesn't really provide any performance benefits. -------------- 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/20080513/0b659c2f/attachment-0002.bin>
Marco Giunta
2008-May-13 08:20 UTC
[Dovecot] how add size (, S=size) and virtual size (, W=vsize) fields to a maildir filename ?
Thank you Timo, I'll use quota plugin on delivery. Timo Sirainen wrote:> On Tue, 2008-05-13 at 08:36 +0200, Marco Giunta wrote: > >> Hi to all, >> I'm a sys admin in a college, and we're using Dovecot as IMAP/POP3 >> server and delivery; we're also patch dovecot to add managesieve >> capability. I've a question: >> >> I've read on dovecot's wiki, that is possible improve the performance on >> maildir files by adding ,S=<size>,W=<vsize> fields on filename. >> > > Only in some specific situations. Do you use Maildir++ quota? S= is > useful only with it. Do you use Dovecot's deliver? It adds S> automatically if you use quota plugin. > > W= isn't added automatically by v1.0, but v1.1 adds it (actually I just > noticed that the code was accidentally commented out, I enabled it again > so the next release will have it). > > But as long as you're using index files (and you should be), W= doesn't > really provide any performance benefits. >-- ----------------------------------- |Marco Giunta - SISSA Computer Staff| |Via Beirut, 2-4 | |34014 - Trieste, Italy | |Tel: +39-40-3787-503 | |Fax: +39-040-3787-528 | |e-mail: giunta at sissa.it | -----------------------------------
Apparently Analagous Threads
- sharing INBOX with ACL -> share all folders
- bug in acl_defaults_from_inbox option
- BUG: service(auth) crash when quota-status lookup an address with local-part starting with auth_master_user_separator
- Maildir filename extensions S=<size> and W=<vsize>
- dovecot 2.1.13, proxy and nologin extras field