Dovecot (LDAP) quota only if user in backend?

Andrey Fesenko f0andrey at gmail.com
Mon Feb 8 10:34:09 UTC 2016


On Wed, Feb 3, 2016 at 6:06 PM, Andrey Fesenko <f0andrey at gmail.com> wrote:
> Hello,
>
> Is it possible to get the quotas for users served by the backend?
>
> My env CentOS, dovecot-2.2.10-5.el7, users in LDAP
>
>
> BackendHost may bee backend1.wibble.net backend2.wibble.net ... if I'm
> get quota in backend1.wibble.net
>
> doveadm -f tab quota get -A
>

After fix dovecot-ldap.conf

user_filter = (&(objectClass=posixAccount)(uid=%u)(BackendHost=backend1.wibble.net))
pass_attrs = uid=user,userPassword=password
pass_filter = (&(objectClass=posixAccount)(uid=%u))
# For using doveadm -A:
iterate_attrs = uid=user
iterate_filter = (&(objectClass=posixAccount)(BackendHost=backend1.wibble.net))

Work perfect

> doveadm: Error: Failed to iterate through some users

Need more search limit in LDAP


More information about the dovecot mailing list