Displaying 2 results from an estimated 2 matches for "nameoffieldcontainingreplica".
2015 Jun 17
4
dsync selectively
On 16/06/15 14:27, lejeczek wrote:
> On 16/06/15 14:16, lejeczek wrote:
>> On 16/06/15 13:14, B wrote:
>>> P,
>>>
>>> On Tue, Jun 16, 2015 at 01:07:52PM +0100, lejeczek wrote:
>>>
>>>> I've barely started reading on dsync and I wonder..
>>>> would you know if it is possible to sync/replicate only
>>>> specific
2015 Jun 18
0
dsync selectively
...swer meant was, that you should put it in your userdb backend, in this case LDAP. So add a field in LDAP,
which for users you want to replicate points to the replication destination and for other users is blank. then add it via a LDAP
attribute template, e.g.
user_attrs = \
=mail_replica=%{ldap:nameOfFieldContainingReplica}
Make sure (with auth_debug=yes and mail_debug=yes in your config)the mail_replica is empty for users you do not want to replicate.
Please read http://wiki2.dovecot.org/AuthDatabase/LDAP/Userdb http://wiki2.dovecot.org/Replication?highlight=%28mail_replica%29
and http://wiki2.dovecot.org/Tools/Do...