[Dovecot] Replication on v2.2.6 - I'm stuck (again)

IT geek 31 itgeek31 at googlemail.com
Tue Nov 5 12:01:22 EET 2013


Hi Timo,

Thanks for the info.  I've upgraded to v2.2.7 and made the change.  Now I
get:

Nov  5 11:00:00 server1 dovecot: dsync-server(mark): Error: Couldn't lock
/home/mark/.dovecot-sync.lock: Timed out after 30 seconds
Nov  5 11:00:02 server1 dovecot: dsync-local(mark): Error: Couldn't lock
/home/mark/.dovecot-sync.lock: Timed out after 30 seconds

Also, I get a lot of errors about Dovecot trying to replicate mailboxes for
(system) users that don't have them.  Is there any way to exclude users
from replication?


-Mark



On 3 November 2013 21:23, Timo Sirainen <tss at iki.fi> wrote:

> 1) Upgrade to v2.2.7
>
> 2) Use:
>
> mail_replica = tcp:server2.mydomain.com
>
> On 3.11.2013, at 21.53, IT geek 31 <itgeek31 at 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 at iki.fi> wrote:
> > 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
> >
> >
>
>


More information about the dovecot mailing list