[Dovecot] Quota maildirsize and dbox
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
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
participants (3)
-
karavelov
-
luben karavelov
-
Timo Sirainen