[Dovecot] dsync replication errors
Timo Sirainen
tss at iki.fi
Sun Feb 17 07:23:21 EET 2013
On 17.2.2013, at 7.06, Timo Sirainen <tss at iki.fi> wrote:
> On 17.2.2013, at 0.12, Michael Grimm <trashcan at odo.in-berlin.de> wrote:
>
>> Hmm. Both jails run at distinct servers. ssh replication uses different domains, though. But, both jails are named identically "test", and both jails resolve to identical hostnames "test" if using "hostname". But, a "hostname -f" is lacking to return "test.mx1.invalid" and "test.mx2.invalid", respectively (although a "nslookup test" does). Hmm, do you think I should need to provide different hostnames in both jails?
>
> That's the problem most likely. I'd guess Dovecot sees both servers as having "test" as the hostname and each server thinks it's the one that should be doing the locking and not the other.
>
> See if this helps: http://hg.dovecot.org/dovecot-2.2/rev/e7aabd79c9d5
Although even if it does, other parts of Dovecot still use only the hostname part to guarantee global uniqueness of things. So better to have unique hostnames.
More information about the dovecot
mailing list