Harden DMARC and SPF rules

Hopefully people still get my emails...
This commit is contained in:
Jake Howard 2022-09-22 21:26:26 +01:00
parent 6268c0f451
commit 8c1f088b19
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 6 additions and 6 deletions

View file

@ -23,7 +23,7 @@ resource "cloudflare_record" "jakehowardtech_mx2" {
resource "cloudflare_record" "jakehowardtech_txt" {
zone_id = cloudflare_zone.jakehowardtech.id
name = "@"
value = "v=spf1 include:spf.messagingengine.com ~all"
value = "v=spf1 include:spf.messagingengine.com -all"
type = "TXT"
ttl = 1
}
@ -55,7 +55,7 @@ resource "cloudflare_record" "jakehowardtech_dkim_fm3" {
resource "cloudflare_record" "jakehowardtech_dmarc" {
zone_id = cloudflare_zone.jakehowardtech.id
name = "_dmarc"
value = "v=DMARC1; p=quarantine; rua=mailto:dmarc-report@jakehoward.tech;"
value = "v=DMARC1; pct=100; p=quarantine; rua=mailto:dmarc-report@jakehoward.tech;"
type = "TXT"
ttl = 1
}
@ -167,7 +167,7 @@ resource "cloudflare_record" "jakehowardtech_auth" {
resource "cloudflare_record" "jakehowardtech_mailgun_spf" {
zone_id = cloudflare_zone.jakehowardtech.id
name = "mg"
value = "v=spf1 include:mailgun.org ~all"
value = "v=spf1 include:mailgun.org -all"
type = "TXT"
ttl = 1
}

View file

@ -47,7 +47,7 @@ resource "cloudflare_record" "theorangeonenet_mx2" {
resource "cloudflare_record" "theorangeonenet_spf" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "@"
value = "v=spf1 include:spf.messagingengine.com ~all"
value = "v=spf1 include:spf.messagingengine.com -all"
type = "TXT"
ttl = 1
}
@ -79,7 +79,7 @@ resource "cloudflare_record" "theorangeonenet_dkim_fm3" {
resource "cloudflare_record" "theorangeonenet_dmarc" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "_dmarc"
value = "v=DMARC1; p=quarantine; rua=mailto:dmarc-report@jakehoward.tech;"
value = "v=DMARC1; pct=100; p=quarantine; rua=mailto:dmarc-report@jakehoward.tech;"
type = "TXT"
ttl = 1
}
@ -232,7 +232,7 @@ resource "cloudflare_record" "theorangeonenet_commento" {
resource "cloudflare_record" "theorangeonenet_mailgun_spf" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "mg"
value = "v=spf1 include:mailgun.org ~all"
value = "v=spf1 include:mailgun.org -all"
type = "TXT"
ttl = 1
}