summaryrefslogtreecommitdiffstats
path: root/bin/algo-config
diff options
context:
space:
mode:
Diffstat (limited to 'bin/algo-config')
-rwxr-xr-xbin/algo-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/algo-config b/bin/algo-config
index ca414b9..dcd53e5 100755
--- a/bin/algo-config
+++ b/bin/algo-config
@@ -46,7 +46,7 @@ sed -i 's|^\(Address.*\),.*|\1|' "$config_path"/mail.conf
cp "$config_path"/mail.conf "$config_path"/mail-not-captive.conf
sed -i 's|^AllowedIPs.*|AllowedIPs = 0.0.0.0/0|' "$config_path"/mail.conf
sed -i 's|^AllowedIPs.*|AllowedIPs = 10.19.49.0/24, 172.16.0.1/32|' "$config_path"/mail-not-captive.conf
-scp "$config_path"/mail-not-captive.conf root@newsmtp.tozt.net:/etc/wireguard/algo.conf
+scp "$config_path"/mail-not-captive.conf root@mail.tozt.net:/etc/wireguard/algo.conf
cp "$config_path"/mail-not-captive.conf /mnt/puppet/mail/wireguard
$secrets_bin sync mail