Ramon Frontera
2012-Nov-09 15:11 UTC
[Dovecot] doveadm quota get -A via doveadm-proxy director with LDAP
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
Daniel Parthey
2012-Nov-10 01:04 UTC
[Dovecot] doveadm quota get -A via doveadm-proxy director with LDAP
Ramon Frontera wrote:> 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 usersSounds similar to the doveadm director problem described in this thread: http://dovecot.org/list/dovecot/2012-October/069100.html What do you see in your backend mail server dovecot.log? Regards Daniel -- https://plus.google.com/103021802792276734820