[Dovecot] Dovecot 2.0.15 quota configuration with mbox

Timo Sirainen tss at iki.fi
Wed Nov 9 19:56:18 EET 2011


On Wed, 2011-11-09 at 10:54 +0100, David Ocana wrote:

> I've been trying to set up dovecot 2.0.15, everything seems to work 
> pretty well except for the quota feature. I would like to set a quota 
> limit only for the Inbox folder. I configured two namespaces,
> according to some posts from Timo Sirainen 
> 
> namespace {
>       separator = /
>       prefix = INBOX/
>       location = mbox:/var/empty:INBOX=/mail/%d/%n:INDEX=/var/dovecot/%d/%n
>       inbox = yes
>       hidden = yes
> }
> 
> plugin {
>       quota = dirsize:User quota

quota = dirsize:User quota:ns=INBOX/

This limits the quota only to mailboxes in INBOX/ namespace.

>       # I've tried with:
>       quota_rule = INBOX:storage=819200K
>       quota_rule = INBOX/*:storage=819200K
>       quota_rule = INBOX/Inbox:storage=819200K

Quota rules don't work in this way. There are no per-mailbox quotas
really, at least in the way you're thinking about.





More information about the dovecot mailing list