Merge branch 'dmarc' into 'main'
added dmarc policy- relaxed for now but can be made more strict if needed See merge request compsoc1/skynet/nixos!15
This commit is contained in:
commit
ff0ba0ef3a
1 changed files with 7 additions and 1 deletions
|
@ -145,7 +145,13 @@ in {
|
||||||
{
|
{
|
||||||
record = "_dmarc.${cfg.domain}.";
|
record = "_dmarc.${cfg.domain}.";
|
||||||
r_type = "TXT";
|
r_type = "TXT";
|
||||||
value = ''"v=DMARC1; p=none"'';
|
# 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=s; aspf=s; sp=none"'';
|
||||||
}
|
}
|
||||||
|
|
||||||
# reverse pointer
|
# reverse pointer
|
||||||
|
|
Loading…
Reference in a new issue