Am 22.01.2013 12:54, schrieb Timo Sirainen: > On 17.1.2013, at 16.58, Andreas Oster <aos...@novanetwork.de> wrote: > >>> I just saw on important difference in the doc and this configuration: >>> >>> see >>> http://wiki2.dovecot.org/Quota/Configuration#Quota_for_public_namespaces >>> >>> the ns=name syntax is for _public_ namespaces only. I just tested it >>> with this setup and every message is counted for both namespaces, if >>> delivered into INBOX or a mailbox of the Archive namespace. > > It should work for all namespaces. > >>>> plugin { >>>> quota = dict:User quota::proxy::quota >>>> quota2 = dict:Archive quota:ns=Archive.:proxy::quota > > quota = dict:User quota::ns=:proxy::quota > quota2 = dict:Archive quota::ns=Archive.:proxy::quota > > That should work? Worked at least in latest v2.1 hg. > > Hello Timo,
can you please confirm, that it is actually possible to have multiple quota roots with separate/different quota values. Currently I have this config: namespace { disabled = no hidden = no ignore_on_failure = no inbox = no list = children location = maildir:/var/vmail/archives/%n/Maildir prefix = Archives/ separator = / subscriptions = yes type = private } namespace inbox { disabled = no hidden = no ignore_on_failure = no inbox = yes list = yes location = prefix = separator = / subscriptions = yes type = private } plugin { quota = maildir:User quota:ns= quota2 = maildir:Archives quota:ns=Archives/ quota_rule = *:storage=1G quota_rule2 = Trash:storage=+200M quota_rule3 = ns=Archives/:storage=5G } With this setup I get the following error: Debug: Quota root: name=User quota backend=maildir args=ns= Debug: Quota rule: root=User quota mailbox=* bytes=3221225472 messages=0 Debug: Quota rule: root=User quota mailbox=Trash bytes=+209715200 messages=0 Warning: quota root User quota rule ns=Archives/:storage=5G: obsolete configuration for rule 'storage=5G' should be changed to 'storage=+5G' Debug: Quota rule: root=User quota mailbox=ns=Archives/ bytes=+5368709120 messages=0 Debug: Quota root: name=Archives quota backend=maildir args=ns=Archives/ Thank you for your kind help. best regards Andreas