From dac41642a8638e415374225e2d263221664aafc6 Mon Sep 17 00:00:00 2001 From: Christoph Date: Mon, 12 Feb 2024 15:10:34 +0100 Subject: [PATCH] create_master_zone_file.sh: chnage default SPF TXT record. --- create_master_zone_file.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/create_master_zone_file.sh b/create_master_zone_file.sh index 2a2b80f..4e31927 100755 --- a/create_master_zone_file.sh +++ b/create_master_zone_file.sh @@ -740,7 +740,12 @@ EOF ; ; TXT (u.a. SPF) ; -@ 3600 IN TXT "v=spf1 a mx ~all" +@ 3600 IN TXT "v=spf1 a mx mx:lists.warenform.de mx mx:lists.oopen.de mx:lists.initiativenserver.de mx:listi.jpberlin.de ~all" + +; +; DMARC +; +_dmarc IN TXT "v=DMARC1; p=reject;" EOF elif [[ -n "${DEFAULT_MX_HOST_1}" ]] ; then cat << EOF >> "${ZONE_FILE_MASTER_DIR}/${DOMAIN}.zone"