1 # Configure Dovecot mail replication
2 # Based on https://wiki.dovecot.org/Replication
4 mail_plugins = $mail_plugins notify replication
10 dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
12 mail_replica = remote:dovecot-vmail@mail-pi.dehnerts.com
16 fifo_listener replication-notify-fifo {
20 unix_listener replication-notify {
27 unix_listener replicator-doveadm {
36 replication_max_conns = 10
39 # When saving a new mail via IMAP or delivering a mail via LDA/LMTP,
40 # wait for the mail to be synced to the remote site. If it doesn't finish
41 # in 2 seconds, return success anyway.
42 #replication_sync_timeout = 2s