<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi all,</p>
<p>I have two IMAP/LMTP Dovecot server in replica (version 2.3.4.1)
for testing purposes, both connected through an IPsec tunnel, I
use LDAP/AD for <i>userdb, </i>all seems to work fine.<br>
</p>
<p>Now I would like to go in production where at the moment I have
only one server active and setup the replica too ... but! I need
to know how I can exclude all the users from replication (help/examples
appreciated!) and doing replication one user at a time, in order
to not saturate bandwidth on the IPsec tunnel.</p>
<p>I read <a moz-do-not-send="true"
href="https://wiki.dovecot.org/Replication">https://wiki.dovecot.org/Replication</a>:</p>
<p class="line862">"Since v2.3.1 you can disable replication for a
user by providing 'noreplicate' <a
href="https://wiki.dovecot.org/UserDatabase/ExtraFields">user
database field</a>. Another way to disable replication for some
users is to return mail_replica field from userdb for users you
want to replicate."</p>
<p class="line862">but I can't figure out how to do it.<br>
<span class="anchor" id="line-12"></span><span class="anchor"
id="line-13"></span></p>
<p>One last question: since I have to deal with huge mailboxes, if
prior to activate replication I do an rsync between the two
Dovecot filesystems, does the replication will work?</p>
<p>Thanks in advance!</p>
<p>Cheers<br>
</p>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<style type="text/css">
.attacca {
margin-top: -15px;
}
</style>
<div>
<p style="line-height:normal"> <strong><span
style="font-size:11.0pt;font-family:Helvetica;color:black">Claudio
Corvino</span><br>
<span
style="font-size:9.0pt;font-family:Helvetica;color:gray;">IT
Systems Administrator</span></strong></p>
</div>
</div>
</body>
</html>