[Dovecot] how to setup different quota for multiple namespaces

Andreas Oster aoster at novanetwork.de
Fri Jan 11 09:36:09 EET 2013


Am 10.01.2013 15:30, schrieb Steffen Kaiser:
> On Wed, 9 Jan 2013, Andreas Oster wrote:
> 
>> namespace {
>>  type = private
>>  separator = .
>>  prefix = Archives.
>>  location = maildir:/var/vmail/archive/%Ln/Maildir
>>  subscriptions = yes
>>  list = children
>>  inbox = no
>> }
> 
>> I configured the quota plugin in the following way:
> 
>> plugin {
>>        quota = maildir:User quota:ns=
>>        quota2 = maildir:Archive quota:ns=Archives.
>>        quota_rule = *:storage=1G
>>        quota_rule2 = ns=Archives.:ignore
>> }
> 
>> unfortunately this does not give the desired result. Folders under the
>> Archives namespace use the same quota as INBOX.
> 
> If I understand the Wiki correctly, you need to write:
> 
>         quota2_rule = *:storage=10G
> 
> The "quota2"_rule# settings apply to the "quota2" root by
> namespace. Whereas the "quota"_rule# settings apply to the default, the
> first quota root.
> 
> Regards,
> 
> -- Steffen Kaiser
> 
Hello Steffen,

thank you for the information. I will try to setup the quota rule the
way you have proposed. I will report the results when I have time to
test it.

Thank you for your fast response.

best regards

Andreas




More information about the dovecot mailing list