[Dovecot] Public Folder Quotas

Peter Fraser petros.fraser at gmail.com
Thu Oct 29 23:58:57 EET 2009


The public mailbox quota works fine. Thanks to ll who helped. I'm running 1.2.4
This is what I did to get a public folder called newsletters with
quota of 100M

1. Create a maildir called newsletters
2. Entered this to define the namespace in dovecot.conf

namespace public {
  separator = /
  prefix = newsletters/
  list = yes
  subscriptions = yes
  location = maildir:/home/public/newsletters
}

3. quota3 = maildir:Public quota:ns=newsletters/
4. quota3_rule = *:storage=100M

Thanks again.

On Thu, Oct 29, 2009 at 10:05 AM, Anton Dollmaier
<antondollmaier at aditsystems.de> wrote:
>> OK thanks just one last query, would the quota rule be something like
>> this?
>> quota_rule2 = Public*:storage=100M
>
>
> ===========
> namespace public {
>        prefix = shared.
>        separator = .
> (...)
> }
> dict {
>  quotadict = mysql:/etc/dovecot/dovecot-dict-quota.conf
>  expire = mysql:/etc/dovecot/dovecot-dict-expire.conf
> }
>  quota = dict:INBOX::proxy::quotadict
>  quota2 = dict:shared:%d:ns=shared.:proxy::quotadict
>  quota_rule = *:storage=50M:messages=1000
>  quota_rule2 = Trash:storage=50M:messages=100
>  quota2_rule = *:storage=100M:messages=1000
> ===========
>
> this currently works - you must use the prefix of the namespace as parameter
> in the quota-definition.
>


More information about the dovecot mailing list