From 41782852499ca59a1f6c18924eebefd2ee758de6 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO <ynerant@crans.org> Date: Mon, 12 Apr 2021 16:31:19 +0200 Subject: [PATCH] [opendkim] Fix trusted hosts Signed-off-by: Yohann D'ANELLO <ynerant@crans.org> --- .../templates/opendkim/TrustedHosts.j2 | 22 +++---------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/roles/opendkim/templates/opendkim/TrustedHosts.j2 b/roles/opendkim/templates/opendkim/TrustedHosts.j2 index 73c84818..64f8e8a9 100644 --- a/roles/opendkim/templates/opendkim/TrustedHosts.j2 +++ b/roles/opendkim/templates/opendkim/TrustedHosts.j2 @@ -1,19 +1,3 @@ -127.0.0.1 -localhost -::1 - -138.231.136.0/21 -138.231.144.0/21 - -10.231.136.0/24 -10.2.9.0/24 - -2a0c:700:0:1::/64 -2a0c:700:0:2::/64 -2a0c:700:0:21::/64 -2a0c:700:0:22::/64 -2a0c:700:0:23::/64 - -*.crans.org -*.crans.fr -*.crans.eu +{% for host in opendkim.trust -%} +{{ host }} +{% endfor %} -- GitLab