Use a machine-agnostic hostname for replication chankillo
authorAlex Dehnert <alex@dehnerts.com>
Sun, 10 May 2026 18:28:24 +0000 (18:28 +0000)
committerAlex Dehnert <alex@dehnerts.com>
Sun, 10 May 2026 18:29:23 +0000 (18:29 +0000)
This allows salt to point at a specific machine in an ssh config file,
so we can use the same repo on both ends of the replication link.

conf.d/10-replication.conf

index 2bf410cf98daed092813f7a1de492cb35a919d81..f84b2970924ce420630e53e209eff6ceb75db4e6 100644 (file)
@@ -9,7 +9,7 @@ service replicator {
 
 dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
 plugin {
-  mail_replica = remote:dovecot-vmail@mail-pi.dehnerts.com
+  mail_replica = remote:dovecot-replicate-host
 }
 
 service aggregator {