[Dovecot] Dovecot 2.0.9 Quota Limit issues

David Johnson david.johnson at marshallelectronics.net
Tue Nov 12 20:00:07 EET 2013


Hello,

I've tried searching for information regarding this problem but haven't 
found anything.

Currently I have a Dovecot 2.0.9 with virtual users from a SQL table.  
Right now I'm only using global quota limits.  Here is my quota setup:

plugin {
   quota = maildir:User quota
   quota_rule = *:storage=3G
   quota_rule2 = Trash:storage=+100M
   quota_rule3 = Archive:storage=+1G
   quota_rule4 = Archive/2013:storage=+1G
   quota_rule5 = Junk:ignore
}

According to the documentation this should allow the Archive folder to 
have an additional 1G in it that is not counted toward the global 3G.  
However I have users who have 2G in the Archive folder, and about 1G 
elsewhere.  At this point they stop receiving emails due to quota exceeded.

doveadm quota get -u <user>
displays this:
Quota name                      Type      Value   Limit  %
User quota                      STORAGE 3150312 3145728 100
User quota                      MESSAGE    8271       -  0

If I change Archive:storage=+1G to Archive:ignore then they can receive 
emails again.
After the change doveadm quota get -u displays this:

Quota name                      Type      Value   Limit  %
User quota                      STORAGE 1266885 3145728 40
User quota                      MESSAGE    8271       -  0

Is there something I'm missing as to why this setup isn't working?

Thanks!

--
David J.


More information about the dovecot mailing list