Question about dovecot replication
Timo Sirainen
tss at iki.fi
Sat Oct 24 21:13:11 UTC 2015
> On 23 Oct 2015, at 15:51, Urban Loesch <bind at enas.net> wrote:
>
> Hi,
>
> last week I installed 2 servers with two dovecot nodes and replication in active/active mode located in different datacenters.
>
> Based on the howto from wiki "http://wiki2.dovecot.org/Replication" it works great.
> According to the wiki it is recomended to run "doveadm purge" on both systems continously, because "doveadm purge" will not be replicated by the
> replication service. No problem so far.
>
> But I have one doubt:
> is it also reccmended (for keeping maildata in sync) to run "doveadm replicator replicate '*'" continously on both nodes?
> Or is it enough on only one node?
>
> Or should I run "doveadm sync -A tcp:anotherhost.example.com" in regular intervalls? Perhaps once a day on both nodes?
The replicator process iterates through all users periodically (replication_full_sync_interval setting) and does full replication for all of them. So there's no need to run either of those doveadm commands.
More information about the dovecot
mailing list