[Dovecot] doveadm quota get -A via doveadm-proxy director with LDAP

Ramon Frontera ramon.frontera at uib.es
Fri Nov 9 17:11:59 EET 2012


Hi,
We are running Dovecot 2.1.10
I want configure dovecot to do execute doveadm commands on the proxy server.
We have 1 proxy with director and 2 mail servers. we use LDAP
when I try to do doveadm quota get -u user it works fine.
The problem is when I try to do doveadm quota get -A ON PROXY

I have this result:
doveadm(first_user): Error: Proxy is missing destination host
doveadm: Error: Failed to iterate through some users
Username Quota name Type Value Limit                                                                                                                     %

in 10-auth.conf I have "!include auth-ldap.conf.ext"
in auth-ldap.conf.ext I hve:


passdb {
  driver = ldap
  args = /etc/dovecot/dovecot-ldap.conf.ext
}

userdb {
  driver = ldap
  args = /etc/dovecot/dovecot-ldap.conf.ext
}

and In dovecot-ldap.conf.ext I have:

uris = ldap://ldap:port
dn = xxxxx
dnpass = yyyyy
auth_bind = no
ldap_version = 3
base =base
scope = subtree
user_attrs = attributes
user_filter = (mail=%u)
pass_attrs = userPassword=password,uid=user=%L$,cn=proxy,=starttls=any-cert
pass_filter = (mail=%u)
iterate_attrs = uid=user
iterate_filter = (uid=*)


I don't know where is my error!!!

Thanks in advance
--
------------------------------------------
  Ramon Frontera Gallardo
  Universitat de les Illes Balears        







More information about the dovecot mailing list