[Dovecot] how to disable quota for second namespace?

Udo Lembke udo.lembke at albertbauer.com
Mon Sep 26 14:24:09 EEST 2011


Am 20.09.2011 17:36, schrieb Udo Lembke:
>
>
> Hi all,
> I have a second namespace as archive, where no quota should be active 
> (work with type = shared).
> But if I change the type to private the quota will allways count.

Hi,
for reference only (if someone find this post) with help in the 
irc-channel I got the right configuration:

plugin {
   quota = maildir:User quota:ns=
   quota2 = maildir:Archiv quota:ns=archiv/%u/
}
plugin {
   quota_rule = *:storage=500M
   quota_rule2 = Trash:storage=+100M
   quota_rule3 = Sent:storage=+50M
   quota_rule4 = ns=archiv/%u/:ignore
}

The ":ns=" do the right trick!

Here the result:
doveadm quota get -u test at example.com
Quota name                                                          
Type      Value  Limit  %
User quota                                                          
STORAGE   95132 204800 46
User quota                                                          
MESSAGE    6423      -  0
Archiv quota                                                        
STORAGE 3290972      -  0
Archiv quota                                                        
MESSAGE  136950      -  0

Udo



More information about the dovecot mailing list