12 Feb
2016
12 Feb
'16
1:05 a.m.
Hello,
I'm just asking myself, how I get multiple quota rules into the LDAP userdb.
Dovecot is 2.2.9
userdb_attrs = … fooQuotaRule=quota_rule=%$
which allows me to have an user db entry as
fooQuotaRule: *:storage=1000:messages=50
fooQuotaRule: Trash:storage=500
But, if I'd like to have another quota rule for a submailbox of that user?
doveadm user returns the first field only
field value
uid 500
gid 500
home /volumes/dovecot/home/4b/heiko
mail maildir:~:INBOX=/volumes/dovecot/inbox/4b/heiko:INDEX=/volumes/dovecot/cache/4b/heiko
quota_rule *:storage=1000:messages=50
Inventing additional LDAP attributs fooQuotaRule2, ... doesn't scale well.
Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
-- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} - gnupg encrypted messages are welcome --------------- key ID: F69376CE - ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -