Hi, I'm trying to get Dovecot replication working between two servers. I didn't have much luck on v2.1.3, so after receiving advice from the list I have upgraded to v2.2.6. I now get the error: Oct 30 11:50:16 server1 dovecot: doveadm(mark): Error: user mark: Auth PASS lookup failed Oct 30 11:50:16 server2 dovecot: doveadm(mark): Error: sync: /var/run/dovecot/auth-userdb: passdb lookup failed (to see if user is proxied, because doveadm_port is set) Here is my config: # 2.2.6: /usr/pkg/etc/dovecot/dovecot.conf # OS: NetBSD 5.2 cobalt auth_mechanisms = plain login doveadm_password = mylittlesecret doveadm_port = 12345 dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u listen = 192.168.1.1 login_greeting = Go on then, let's have it... mail_location = mbox:~/mail:INBOX=/var/mail/%u mail_plugins = " notify replication" passdb { driver = passwd } plugin { mail_replica = remote:vmail at server2.mydomain.com replication_full_sync_interval = 1 hours } protocols = imap service aggregator { fifo_listener replication-notify-fifo { mode = 0600 user = vmail } unix_listener replication-notify { mode = 0600 user = vmail } } service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } user = root } service doveadm { inet_listener { port = 12345 } } service imap-login { inet_listener imap { port = 0 } } service replicator { process_min_avail = 1 unix_listener replicator-doveadm { mode = 0600 } } ssl_cert = </etc/openssl/certs/mail.mydomain.com.crt ssl_key = </etc/openssl/private/mail.mydomain.com.key userdb { driver = passwd } protocol lda { postmaster_address = postmaster at mydomain.com Can anyone give me some guidance on where I've gone wrong with my config? Any help would be appreciated, -Mark
On 30.10.2013, at 13.01, IT geek 31 <itgeek31 at googlemail.com> wrote:> I'm trying to get Dovecot replication working between two servers. I > didn't have much luck on v2.1.3, so after receiving advice from the list I > have upgraded to v2.2.6. > > I now get the error: > > Oct 30 11:50:16 server1 dovecot: doveadm(mark): Error: user mark: Auth PASS > lookup failed > Oct 30 11:50:16 server2 dovecot: doveadm(mark): Error: sync: > /var/run/dovecot/auth-userdb: passdb lookup failed (to see if user is > proxied, because doveadm_port is set)I don?t think you need to have doveadm_port set, since you?re not replicating over TCP. Remove it and it should just work? Anyway, it still shouldn?t have failed, this fixes it: http://hg.dovecot.org/dovecot-2.2/rev/47848e9fc622 also this gives a bit better error message for the PASS lookup failure: http://hg.dovecot.org/dovecot-2.2/rev/9b45f6d20d9d
Reasonably Related Threads
- Released Pigeonhole v0.4.2 for Dovecot v2.2.6 and Pigeonhole v0.3.6 for Dovecot v2.1.17.
- Released Pigeonhole v0.4.2 for Dovecot v2.2.6 and Pigeonhole v0.3.6 for Dovecot v2.1.17.
- File locking problems - v2.2.6
- Transferring the printer database
- Linux SO_REUSEPORT