[Dovecot] problem with dovecot replication over tcp
Dear all
i'm following the wiki at this page http://wiki2.dovecot.org/Replication but i'm getting this errors:
#doveadm -v sync tcp:dst_hostname #doveadm(root): Fatal: Failed to start dsync-server command: 75
If i look at the dst dovecot.log file i get:
Sep 16 12:42:18 auth: Error: passdb(root,xx): Auth client doesn't have permissions to do a PASS lookup: /var/run/dovecot/auth-userdb mode=0666, but not owned by UID 1002(vmail) Sep 16 12:42:18 doveadm(xx,root): Error: user root: Auth PASS lookup failed Sep 16 12:42:18 doveadm(xx,root): Debug: auth input: Sep 16 12:42:18 doveadm(xx,root): Error: dsync-server: /var/run/dovecot/auth-userdb: passdb lookup failed (to see if user is proxied, because doveadm_proxy_port is set)
I've also tried to perform a
#chown vmail /var/run/dovecot/auth-userdb
But the error is the same.
If i do the #doveadm user *
I get a list of users loaded from the database i've added these line to my dovecot-sql.conf
iterate_query = SELECT username from mailbox where active=1
Any idea?
Thanks
-- /*************/ nik600 http://www.kumbe.it
On 16.9.2013, at 13.45, nik600 nik600@gmail.com wrote:
Sep 16 12:42:18 auth: Error: passdb(root,xx): Auth client doesn't have permissions to do a PASS lookup: /var/run/dovecot/auth-userdb mode=0666, but not owned by UID 1002(vmail) .. #chown vmail /var/run/dovecot/auth-userdb
But the error is the same.
Here's one possibility:
service auth { unix_listener auth-userdb { user = vmail mode = 0600 } }
Another possibility is to use mode=0777 and it gives everyone permissions.
participants (2)
-
nik600
-
Timo Sirainen