[Dovecot] dsync replication errors

Michael Grimm trashcan at odo.in-berlin.de
Sun Feb 17 12:19:18 EET 2013


On 17.02.2013, at 11:08, Timo Sirainen <tss at iki.fi> wrote:
> On Sun, 2013-02-17 at 10:44 +0100, Michael Grimm wrote:

>>> 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.
>> 
>> What parts of Dovecot would be involved? I'm curious because my production mailservers use identical hostnames in their jails ever since running Dovecot (starting 1.x).
> 
> Mainly that maildir filenames are used as GUIDs. If two have the same
> name, they are assumed to be identical. That's why the maildir filenames
> include the hostname in them, to make sure that the GUID is different
> even if two mails happen to be delivered at exactly the same time with
> the same PID and same size to two different servers. So pretty unlikely,
> but better to be safe. :)

Ok, that won't hit me for the time being because I am using mdbox.

> There may be some other features that require unique hostnames in
> future. Anything where multiple Dovecot servers need to communicate
> between each others. If some day there is such generic communication
> between Dovecot servers I'm planning on enforcing this requirement.

Thanks for that clarification. Thus I will need to think about different hostnames, although that implies "no more just copying config files between both servers that imply identical hostnames at both sites" ;-)

Regards,
Michael




More information about the dovecot mailing list