20 Apr
2012
20 Apr
'12
2:11 p.m.
Hello,
using dovecot 2.1 and per user mail quota via ldap is there a way to have a default quota which gets used, if the "quota" field in ldap is not set?
I tried with:
plugin { quota = maildir:User quota quota_rule = *:storage=3G }
userdb { args = /etc/dovecot/dovecot-ldap.conf driver = ldap }
and in dovecot-ldap.conf: user_attrs = dcMailQuota=quota_rule=*:storage=%$
but with this configuration the mail quota /allways/ gets loaded from ldap resulting in users without dcMailQuota attribute having no quota at all.
Greetings Andreas