ian+dovecot@comtek.co.uk
2010-Oct-27  23:24 UTC
[Dovecot] Can quota_rule be inherited by child mailboxes?
Is there a way to make quota_rule apply to subfolders? I've got some 
symlinked mailboxes which I want to exclude from quotas. This would 
work, but is verbose:
    quota_rule6 = USERS.aaa:ignore
    quota_rule7 = USERS.bbb:ignore
    ...
    quota_rule9999 = USERS.zzz:ignore
But simply writing this:
    quota_rule7 = USERS:ignore
doesn't apply to USERS.xxx and so on.
The wiki says '*' isn't supported as a wildcard and frankly I'm 
struggling with the source code!
Thanks in advance,
Ian
-- 
======================================================================Ian
Crowther           Tel: +44 845 4501626  Unit 108, 10th Avenue,
IT Dept, Comtek        Fax: +44 845 4501627  Zone 3, Deeside Industrial
Network Systems UK Ltd                       Park, CH5 2UA, Flintshire
=======================================================================
Timo Sirainen
2010-Oct-28  12:08 UTC
[Dovecot] Can quota_rule be inherited by child mailboxes?
On 28.10.2010, at 1.24, ian+dovecot at comtek.co.uk wrote:> But simply writing this: > > quota_rule7 = USERS:ignore > > doesn't apply to USERS.xxx and so on. > > The wiki says '*' isn't supported as a wildcard and frankly I'm struggling with the source code!I guess the right way to do it would be: quota_rule = USERS:ignore quota_rule2 = USERS.*:ignore But since wildcards aren't supported here, someone needs to write the code.. It's also not very clear what should happen when a mailbox is renamed from "foo" to "USERS.foo". The quota should be decreased by the mailbox's size I guess..