Re: [Dovecot] Public Folder Quotas
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.
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
- Create a maildir called newsletters
- Entered this to define the namespace in dovecot.conf
namespace public { separator = / prefix = newsletters/ list = yes subscriptions = yes location = maildir:/home/public/newsletters }
- quota3 = maildir:Public quota:ns=newsletters/
- quota3_rule = *:storage=100M
Thanks again.
On Thu, Oct 29, 2009 at 10:05 AM, Anton Dollmaier <antondollmaier@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.
participants (2)
-
Anton Dollmaier
-
Peter Fraser