Change spf and dmarc config #121
1 changed files with 2 additions and 2 deletions
|
@ -299,7 +299,7 @@ in {
|
||||||
{
|
{
|
||||||
record = "${cfg.domain}.";
|
record = "${cfg.domain}.";
|
||||||
r_type = "TXT";
|
r_type = "TXT";
|
||||||
value = ''"v=spf1 a:${cfg.sub}.${cfg.domain} -all"'';
|
value = ''"v=spf1 a:${cfg.sub}.${cfg.domain} ip4:${config.services.skynet.host.ip} -all"'';
|
||||||
}
|
}
|
||||||
|
|
||||||
# DKIM keys
|
# DKIM keys
|
||||||
|
@ -324,7 +324,7 @@ in {
|
||||||
# adkim : alignment policy for DKIM, s => Strict, subdomains arent allowed, r => relaxed, subdomains allowed
|
# 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
|
# 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
|
# 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"'';
|
value = ''"v=DMARC1; p=quarantine; rua=mailto:mailman@skynet.ie; pct=100; adkim=s; aspf=s; sp=quarantine"'';
|
||||||
}
|
}
|
||||||
|
|
||||||
# reverse pointer
|
# reverse pointer
|
||||||
|
|
Loading…
Reference in a new issue