Multiple quota rules from LDAP userdb?

Heiko Schlittermann hs at schlittermann.de
Thu Feb 11 23:05:27 UTC 2016


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 ------------ -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20160212/7dcc8e15/attachment.sig>


More information about the dovecot mailing list