[Dovecot] how to setup different quota for multiple namespaces
Steffen Kaiser
skdovecot at smail.inf.fh-brs.de
Thu Jan 10 16:30:05 EET 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 9 Jan 2013, Andreas Oster wrote:
> namespace {
> type = private
> separator = .
> prefix = Archives.
> location = maildir:/var/vmail/archive/%Ln/Maildir
> subscriptions = yes
> list = children
> inbox = no
> }
>
> I configured the quota plugin in the following way:
>
> plugin {
> quota = maildir:User quota:ns=
> quota2 = maildir:Archive quota:ns=Archives.
> quota_rule = *:storage=1G
> quota_rule2 = ns=Archives.:ignore
> }
>
> unfortunately this does not give the desired result. Folders under the
> Archives namespace use the same quota as INBOX.
If I understand the Wiki correctly, you need to write:
quota2_rule = *:storage=10G
The "quota2"_rule# settings apply to the "quota2" root by
namespace. Whereas the "quota"_rule# settings apply to the default, the
first quota root.
Regards,
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUO7QbWoxLS8a3A9mAQI2LggAqypoAGwF7uq/QQdjqShUAnH8cTgWLeVH
Nvg0ZJ+lASbGXS8EO98Vy9Ug0aaW1pi0kkHyO+gCSU8ClGIBDpWl4ZYxYQnwXQMX
wjyt80Cenhi/2yluJV2l4vLWxft7KqUfBtBcH8F5I1fFQdUVD7tegnTbDbNuUd1L
ZHnJQotWQu1GQYtuU+C5/VGh/xnTANKt7+PFUYE7kKnp6kPPnQBEYmoPpPGiHeze
b8weSeMPDvWgnmH+7f8dZk6qv7pTeC04ReWuTrzHqLtnsxfgGaNYRq9piTCFLFGl
+bzcDeReS70FgdjTEW4kLUxoSVMcZUeRUkGVsRy0lznfdcnaExxJ/A==
=26K2
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list