From 282d8d57e7e4e471f0b7b2752f9efb5e91380d81 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 21 Dec 2021 17:37:02 +0100 Subject: [PATCH] add EXTERNAL_IP var --- rootfs/etc/confd/templates/main.cf.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rootfs/etc/confd/templates/main.cf.tmpl b/rootfs/etc/confd/templates/main.cf.tmpl index f5cfb19..6cbc15a 100644 --- a/rootfs/etc/confd/templates/main.cf.tmpl +++ b/rootfs/etc/confd/templates/main.cf.tmpl @@ -6,6 +6,8 @@ mydomain = {{getenv "MYDOMAIN"}} myorigin = $mydomain mydestination = $myhostname, localhost +proxy_interfaces = {{getenv "EXTERNAL_IP"}} + unknown_local_recipient_reject_code = 550 mynetworks_style = host relay_domains = $mydestination