Skip to content

Commit

Permalink
Remove MTA-STS-REPORTS record
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacastelnuovo committed Dec 24, 2023
1 parent 367e75a commit 2518a9f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 46 deletions.
17 changes: 0 additions & 17 deletions modules/apple/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,3 @@ resource "cloudflare_record" "dmarc" {
type = "TXT"
value = "v=DMARC1; p=reject; adkim=s; aspf=s; rua=mailto:${var.dmarc_email};"
}

resource "cloudflare_record" "mta-sts" {
zone_id = var.zone_id

type = "TXT"
name = "_mta-sts"
value = var.mta_sts_value
}

# TODO: fix
resource "cloudflare_record" "mta-sts-reports" {
zone_id = var.zone_id

type = "TXT"
name = "_smtp._tls"
value = "v=TLSRPTv1; rua=mailto:[email protected];"
}
11 changes: 0 additions & 11 deletions modules/apple/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,3 @@ variable "dmarc_email" {
# dmarc_email = "[email protected]"
#
}

variable "mta_sts_value" {
description = "MTA-STS - record value"
type = string

#
# Example:
#
# mta_sts_value = "v=STSv1; id=20230101T000000;"
#
}
9 changes: 0 additions & 9 deletions modules/google/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,6 @@ resource "cloudflare_record" "mta-sts" {
value = var.mta_sts_value
}

# TODO: fix
resource "cloudflare_record" "mta-sts-reports" {
zone_id = var.zone_id

type = "TXT"
name = "_smtp._tls"
value = "v=TLSRPTv1; rua=mailto:[email protected];"
}

resource "cloudflare_record" "service-calendar" {
zone_id = var.zone_id

Expand Down
9 changes: 0 additions & 9 deletions modules/microsoft/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,6 @@ resource "cloudflare_record" "mta-sts" {
value = var.mta_sts_value
}

# TODO: fix
resource "cloudflare_record" "mta-sts-reports" {
zone_id = var.zone_id

type = "TXT"
name = "_smtp._tls"
value = "v=TLSRPTv1; rua=mailto:[email protected];"
}

resource "cloudflare_record" "autodiscover" {
zone_id = var.zone_id

Expand Down

0 comments on commit 2518a9f

Please sign in to comment.