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

2012-11-10 Thread Ramón Frontera

Hi,

I think that the problem is different to 
http://dovecot.org/list/dovecot/2012-October/069100.html


The command don't print anything in backend mail server dovecot.log.
If I do " doveadm -D quota get -u user1" on proxy it works! the backend 
mail server responds to proxy.


If I do:
doveadm -D search -A  mailbox Trash savedbefore 10d I have this result:

doveadm(root): Debug: Loading modules from directory: /usr/lib64/dovecot
doveadm(root): Debug: Module loaded: 
/usr/lib64/dovecot/lib10_quota_plugin.so
doveadm(root): Debug: Module loaded: 
/usr/lib64/dovecot/lib20_expire_plugin.so
doveadm(root): Debug: Loading modules from directory: 
/usr/lib64/dovecot/doveadm
doveadm(root): Debug: Skipping module doveadm_acl_plugin, because 
dlopen() failed: /usr/lib64/dovecot/doveadm/lib10_doveadm_acl_plugin.so: 
undefined symbol: acl_user_module (this is usually intentional, so just 
ignore this message)
doveadm(root): Debug: Module loaded: 
/usr/lib64/dovecot/doveadm/lib10_doveadm_expire_plugin.so
doveadm(root): Debug: Module loaded: 
/usr/lib64/dovecot/doveadm/lib10_doveadm_quota_plugin.so
doveadm(root): Debug: Skipping module doveadm_zlib_plugin, because 
dlopen() failed: 
/usr/lib64/dovecot/doveadm/lib10_doveadm_zlib_plugin.so: undefined 
symbol: i_stream_create_deflate (this is usually intentional, so just 
ignore this message)
doveadm(root): Debug: Skipping module doveadm_fts_plugin, because 
dlopen() failed: /usr/lib64/dovecot/doveadm/lib20_doveadm_fts_plugin.so: 
undefined symbol: fts_list_backend (this is usually intentional, so just 
ignore this message)

doveadm(root): Debug: expire: Searching only users listed in expire database
doveadm(rfg144): Error: Proxy is missing destination host

doveadm: Error: Failed to iterate through some users

and When I try to do this:
 doveadm -D search -u user1  mailbox Trash savedbefore 1d
I find this in the log:
Nov 10 16:36:01 mail2 dovecot: doveadm: Debug: expire: Searching only 
users listed in expire database
Nov 10 16:36:01 mail2 dovecot: doveadm: Fatal: master: service(doveadm): 
child 3116 killed with signal 11 (core dumped)


Thanks for your help!

--
  Ramon Frontera Gallardo
  Universitat de les Illes Balears

El 10/11/2012 2:04, Daniel Parthey escribió:

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 users

Sounds 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




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

2012-11-09 Thread Daniel Parthey
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 users

Sounds 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


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

2012-11-09 Thread Ramon Frontera
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 = x
dnpass = y
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