On 16.01.2018 18:36, Mantas Gegu?is wrote:> Hello,
> I am trying to configure replication between two servers, for only
> specified virtual users, without success of course :) I am using LDAP
> for accounting.
> I have tried to pass a file with list like this:
> replication_dsync_parameters = -d -N -l 30 -U -F /etc/dovecot/list
> I have even tried to specify users with LDAP filter: iterate_filter >
(|(uid=user1)(uid=user2))
> both without success...
> But replicator every 5 minutes tries to replicate all users. I want
> this mainly for testing (i am preparing to server migration) and for
> bigger control who and when will be replicated/transferred.
>
> Dovecot 2.2.27 (Debian 9.3)
>
Hi!
This is not reliably possible in your version, we have 'noreplicate'
flag support coming on next release, which lets you prevent replication
for user(s).
Aki