Displaying 2 results from an estimated 2 matches for "quotamail".
2014 Aug 25
0
Problem overriding default quota limit for LDAP users
...= ***.***.local ***.***.local
dn = dovecot@***.local
dnpass = ******
auth_bind = yes
ldap_version = 3
base = ou=XXX,dc=***,dc=local
deref = never
scope = subtree
user_attrs = \
=uid=5000, \
=gid=5000, \
=mail=maildir:/var/mail/%d/%{ldap:mail}, \
=home=/var/mail/%d/%u/, \
=quota_rule=*:bytes=%{ldap:quotaMail}
user_filter =
(&(mail=%u)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
pass_attrs = mail=user,userPassword=password
pass_filter =
(&(mail=%u)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
iterate_attrs = mail=user
iterate_filter =
(&(obj...
2010 Aug 09
1
dovecot 1.2 and quota_rules from AD
...ot/dovecot-ldap-pass.conf
}
userdb ldap {
args = /etc/dovecot/dovecot-ldap.conf
}
...
}
plugin {
quota = maildir:User quota
#quota_rule = *:storage=2M // tried with and without this line
}
dovecot-ldap.conf:
...
user_attrs = sAMAccountName=mail=maildir:/var/vmail/%$/Maildir,
quotaMail=quota_rule=*:storage=%$
user_filter = (&(objectClass=person)(|(mail=%u)(sAMAccountName=%u)))
pass_attrs = sAMAaccountName=user,userPassword=password
pass_filter = (&(objectClass=person)(sAMAaccountName=%u))
Quotas are set by the quotaMail in AD. And here is the log:
Aug 9 11:41:37 vm29...