mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-05-06 04:14:43 +00:00
Update SPF and tighten DMARC for poste.io (#5)
* update SPF record: replace protonmail with poste.io mail server PESO-77 - replace include:_spf.protonmail.ch with ip4:167.235.134.154 and ip6:2a01:4f8:1c1e:9c53::1 (nuremberg-a / mail.pez.sh) - tighten from ~all (softfail) to -all (hardfail) * tighten DMARC policy from p=none to p=quarantine PESO-78 - enforce DMARC with p=quarantine (failed messages get quarantined) - add adkim=r and aspf=r for relaxed DKIM/SPF alignment
This commit is contained in:
parent
03ce524730
commit
b00791f1b1
1 changed files with 2 additions and 2 deletions
|
|
@ -424,7 +424,7 @@ resource "cloudflare_dns_record" "dmarc" {
|
||||||
zone_id = cloudflare_zone.pez-sh.id
|
zone_id = cloudflare_zone.pez-sh.id
|
||||||
name = "_dmarc"
|
name = "_dmarc"
|
||||||
type = "TXT"
|
type = "TXT"
|
||||||
content = "v=DMARC1; p=none; rua=mailto:pez@pez.sh"
|
content = "v=DMARC1; p=quarantine; rua=mailto:pez@pez.sh; adkim=r; aspf=r"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -432,7 +432,7 @@ resource "cloudflare_dns_record" "root-txt-spf" {
|
||||||
zone_id = cloudflare_zone.pez-sh.id
|
zone_id = cloudflare_zone.pez-sh.id
|
||||||
name = "@"
|
name = "@"
|
||||||
type = "TXT"
|
type = "TXT"
|
||||||
content = "v=spf1 include:_spf.protonmail.ch ~all"
|
content = "v=spf1 ip4:167.235.134.154 ip6:2a01:4f8:1c1e:9c53::1 -all"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue