Hi,

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

I took the config example on dovecot wiki

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"

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

2) how to synchronized  specific users ? apparently it's trying to sync other things.. :-)


# mbox_very_dirty_syncs = yes
mail_plugins=$mail_plugins quota notify replication
service replicator {
  process_min_avail = 1
}

dsync_remote_cmd = ssh -l root 177.28.1.120 doveadm dsync-server -u user1
plugin {
    mail_replica  =remote:root@177.28.1.120:/home/SERVER/test/
    }
 
service aggregator {
fifo_listener replication-notify-fifo {
user = vmail
}
unix_listener replication-notify {
user = vmail
}
}   

service replicator {
unix_listener replicator-doveadm {
mode = 0600
user = vmail
}
}

replication_max_conns = 10



But apparently nothing is happening....

[root@xxx xenia]# doveadm replicator status
Queued 'sync' requests        0                                                            
Queued 'high' requests        0                                                            
Queued 'low' requests         0                                                            
Queued 'failed' requests      0                                                            
Queued 'full resync' requests 24                                                           
Waiting 'failed' requests     10                                                           
Total number of known users   34       
 

and the folder test is empty

Any idea what is wrong ? maybe I should ask a start a cmd line to start the process ? (


[root@mbox1 xenia]# doveadm replicator status '*'
username                                                    priority fast sync full sync success sync failed
rngd                                                        none     -         -         -            -     
user1                                                   none     00:00:04  00:40:05  -            y        ( failed )
saslauth                                                    none     -         -         -            -     
sa-milt                                                     none     -         -         -            -