On 29.11.2012, at 16.22, Ramon Frontera wrote:
Now we have found 3 problems with doveadm on proxy server:
1 problem: In our configuration we have: protocol doveadm { auth_socket_path = director-userdb }
I have executed this: # doveconf -m doveadm -f service=doveadm auth_socket_path auth_socket_path = director-userdb
Now when We execute doveadm quota get -A we have this error: doveadm(user1): Error: /var/run/dovecot//auth-userdb: Proxy is missing destination host (maybe set auth_socket_path=director-userdb) doveadm: Error: Failed to iterate through some users
with "-o auth_socket_path=director-userdb " it works for the early users.
That's strange. I don't really have any ideas left how to debug it easily.
2 problem when we execute doveadm -o auth_socket_path=director-userdb quota get -A it works for the early users and then return this error on proxy:
doveadm(userabc): Fatal: table formatter doesn't support multi-line values
Oh. Hmm. I see the problem.. I'll fix it later. For now you could change the formatter with doveadm -f tab or -f flow
3 problem I have tested other doveadm command on proxy wich also fails:
# doveadm -o auth_socket_path=director-userdb search -u user mailbox Trash savedbefore 1d
on proxy we have this error: " doveadm(user): Error: xx.xx.xx.xx:24245: Internal failure for user" on mailserver we have this error: "doveadm: Fatal: master: service(doveadm): child 22171 killed with signal 11 (core dumps disabled)"
I put the gdm bt output hope it help you. (mailserver)
#0 auth_master_user_list_next (ctx=0x0) at auth-master.c:680 No locals. #1 0x00007f2dfe414f23 in mail_storage_service_all_next (ctx=0xf92900, username_r=0x7fff4306cab8) at mail-storage-service.c:1215 __FUNCTION__ = "mail_storage_service_all_next" #2 0x00007f2dfd0b0ed2 in doveadm_expire_mail_init (ctx=0xf89020) at doveadm-expire.c:420
This should fix it: http://hg.dovecot.org/dovecot-2.1/rev/75dc4cb4bfe0