From 3b08b113bfbea68df632efb710e0237b1b28b2f4 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 12 Jan 2023 15:15:52 +0100 Subject: [PATCH] Fix ipv6 subnet for xclient_hosts --- core/postfix/conf/main.cf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/postfix/conf/main.cf b/core/postfix/conf/main.cf index 7a2d0fe6..37fa70d0 100644 --- a/core/postfix/conf/main.cf +++ b/core/postfix/conf/main.cf @@ -121,7 +121,7 @@ smtpd_relay_restrictions = unverified_recipient_reject_reason = Address lookup failure -smtpd_authorized_xclient_hosts={{ SUBNET}},{{ SUBNET6 }} +smtpd_authorized_xclient_hosts={{ SUBNET}}{% if SUBNET6 %},[{{ SUBNET6 }}]{% endif %} ############### # Milter