Upgrade to v2.2.7
Use:
mail_replica = tcp:server2.mydomain.com
On 3.11.2013, at 21.53, IT geek 31 <itgeek31@googlemail.com> wrote:
Hi Timo,
Thanks for your response.
Getting it to replicate over TCP is what I'm after. How do I tweak my config to get it to do that?
I followed http://wiki2.dovecot.org/Replication, but I've obviously taking a wrong turn...
-Mark
On 2 November 2013 11:46, Timo Sirainen <tss@iki.fi> wrote: On 30.10.2013, at 13.01, IT geek 31 <itgeek31@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: