Hello, Is there any reason that maildirsize Quota store should not work in dbox folders or any other folder based mailbox stores? I have patched a test version here and it seems to work (added "dbox" check in src/plugins/quota/quota-maildir.c line 785). If there could be any complications or unexpected consequences of this setup? Thanks in advance luben
On Sun, 2010-04-25 at 14:32 +0300, luben karavelov wrote:> Is there any reason that maildirsize Quota store should not work in dbox > folders or any other folder based mailbox stores?It's slow at least, because it needs to stat() all files every time maildirsize gets rebuilt (and it gets rebuilt often). Why not just dict quota with file backend? quota = dict:user::file:%h/dbox/dovecot-quota -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20100429/d3dd8aee/attachment-0002.bin>
On 29.04.2010 21:10, Timo Sirainen wrote:> On Sun, 2010-04-25 at 14:32 +0300, luben karavelov wrote: > > >> Is there any reason that maildirsize Quota store should not work in dbox >> folders or any other folder based mailbox stores? >> > It's slow at least, because it needs to stat() all files every time > maildirsize gets rebuilt (and it gets rebuilt often). Why not just dict > quota with file backend? > > quota = dict:user::file:%h/dbox/dovecot-quota > >Thanks, the way you suggests is better. -- Luben Karavelov Research and development Spectrum Net JSC 36, D-r G. M. Dimitrov Blvd. 1797 Sofia Mobile: +359 884332140 url: www.spnet.net