<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>I am trying using a replication. Here is my config :
10-mail.conf. Before going " on real life " I try to make a very
basic example... but without any success :-( bad start<br>
</p>
<p>I took the config example on dovecot wiki</p>
<p>The idea is to replicate the user: "user1" on a different server
IP 177.28.1.120 at the location /home/SERVER/test and to get at
the end the folder "/home/SERVER/test/user1"</p>
<p>On the top, I wish to replication with the user / group : vmail.
For the transfer, I use the root login on the backup server to
avoid other rights problems at the moment</p>
<p>2) how to synchronized specific users ? apparently it's trying
to sync other things.. :-)<br>
</p>
<p><font color="#e41212"><br>
</font></p>
<blockquote>
<p><font color="#e41212"># mbox_very_dirty_syncs = yes</font><br>
<font color="#e41212">mail_plugins=$mail_plugins quota notify
replication</font><br>
<font color="#e41212">service replicator {</font><br>
<font color="#e41212"> process_min_avail = 1</font><br>
<font color="#e41212">}</font><br>
<br>
<font color="#e41212">dsync_remote_cmd = ssh -l root
177.28.1.120 doveadm dsync-server -u user1</font><br>
<font color="#e41212">plugin {</font><br>
<font color="#e41212"> mail_replica
=remote:root@177.28.1.120:/home/SERVER/test/</font><br>
<font color="#e41212"> }</font><br>
<font color="#e41212"> </font><br>
<font color="#e41212">service aggregator {</font><br>
<font color="#e41212">fifo_listener replication-notify-fifo {</font><br>
<font color="#e41212">user = vmail</font><br>
<font color="#e41212">}</font><br>
<font color="#e41212">unix_listener replication-notify {</font><br>
<font color="#e41212">user = vmail</font><br>
<font color="#e41212">}</font><br>
<font color="#e41212">} </font><br>
<br>
<font color="#e41212">service replicator {</font><br>
<font color="#e41212">unix_listener replicator-doveadm {</font><br>
<font color="#e41212">mode = 0600</font><br>
<font color="#e41212">user = vmail</font><br>
<font color="#e41212">}</font><br>
<font color="#e41212">}</font><br>
<br>
<font color="#e41212">replication_max_conns = 10</font><br>
</p>
</blockquote>
<br>
<p><br>
</p>
<p>But apparently nothing is happening....<br>
</p>
<blockquote><font color="#e41212">[root@xxx xenia]# doveadm
replicator status<br>
Queued 'sync' requests
0 <br>
Queued 'high' requests
0 <br>
Queued 'low' requests
0 <br>
Queued 'failed' requests
0 <br>
Queued 'full resync' requests
24 <br>
Waiting 'failed' requests
10 <br>
Total number of known users 34 </font> <br>
</blockquote>
<p>and the folder test is empty<br>
</p>
<p>Any idea what is wrong ? maybe I should ask a start a cmd line to
start the process ? ( <br>
</p>
<p><br>
</p>
<blockquote><font color="#e41212">[root@mbox1 xenia]# doveadm
replicator status '*'</font><br>
<font color="#e41212">username
priority fast sync full sync success sync failed</font><br>
<font color="#e41212">rngd
none - - - - </font><br>
<b><font color="#e41212">user1
none
00:00:04 00:40:05 - y ( failed )</font></b><br>
<font color="#e41212">saslauth
none - - - - </font><br>
<font color="#e41212">sa-milt
none - - - - </font><br>
</blockquote>
</body>
</html>