From 97fb80a4fbacce40cecfdc5cb396a29ccb379b7a Mon Sep 17 00:00:00 2001 From: daragh Date: Fri, 20 Oct 2023 00:12:46 +0100 Subject: [PATCH] Formatted comments --- applications/email.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/applications/email.nix b/applications/email.nix index b7b07bc..f3d9822 100644 --- a/applications/email.nix +++ b/applications/email.nix @@ -142,15 +142,17 @@ 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"; value = ''"v=DMARC1; p=quarantine; rua=mailto:mailman@skynet.ie; pct=100; adkim=r; aspf=r; sp=none"''; - #sp value which is left out , for different dmarc policy for subdomains - #quarantine = sends to spam, reject = never sent - #pct = percent of emails passed through dmarc, might want to be lower than 100 for testing - #adkim, aspf see https://support.google.com/a/answer/10032169#zippy=%2Cdmarc-record-tag-definitions-and-values - } + } # reverse pointer {