[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
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.
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@sissa.it |
participants (2)
-
Marco Giunta
-
Timo Sirainen