From d141771f23d8a6efd619e280539fd2c45f9ce6c6 Mon Sep 17 00:00:00 2001 From: daragh Date: Fri, 20 Oct 2023 00:18:01 +0100 Subject: [PATCH] changed comment location --- applications/email.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/applications/email.nix b/applications/email.nix index 24f4e60..520df21 100644 --- a/applications/email.nix +++ b/applications/email.nix @@ -142,15 +142,16 @@ in { } # DMARC - # p : quarantine => sends to spam, reject => never sent - # rua : mail that receives reports about DMARC activity - # pct : percentage of unathenticated messages that DMARC stops - # adkim : alignment policy for DKIM, s => Strict, subdomains arent allowed, r => relaxed, subdomains allowed - # aspf : alignment policy for SPF, s => Strict, subdomains arent allowed, r => relaxed, subdomains allowed - # sp : DMARC policy for subdomains, none => no action, reports to rua, quarantine => spam, reject => never sent + { record = "_dmarc.${cfg.domain}."; r_type = "TXT"; + # p : quarantine => sends to spam, reject => never sent + # rua : mail that receives reports about DMARC activity + # pct : percentage of unathenticated messages that DMARC stops + # adkim : alignment policy for DKIM, s => Strict, subdomains arent allowed, r => relaxed, subdomains allowed + # aspf : alignment policy for SPF, s => Strict, subdomains arent allowed, r => relaxed, subdomains allowed + # sp : DMARC policy for subdomains, none => no action, reports to rua, quarantine => spam, reject => never sent value = ''"v=DMARC1; p=quarantine; rua=mailto:mailman@skynet.ie; pct=100; adkim=r; aspf=r; sp=none"''; }