From a11ef906fc67b7d41d33257e6026ea13ea02c34e Mon Sep 17 00:00:00 2001
From: Kristian Klausen <kristian@klausen.dk>
Date: Thu, 17 Dec 2020 13:47:53 +0100
Subject: [PATCH] Setup SMTP TLS Reporting

https://tools.ietf.org/html/rfc8460
---
 tf-stage1/archlinux.tf | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tf-stage1/archlinux.tf b/tf-stage1/archlinux.tf
index 152812b04..e8cfc7536 100644
--- a/tf-stage1/archlinux.tf
+++ b/tf-stage1/archlinux.tf
@@ -657,6 +657,13 @@ resource "hetznerdns_record" "archlinux_org_dmarc_txt" {
   type    = "TXT"
 }
 
+resource "hetznerdns_record" "archlinux_org_smtp_tlsrpt_txt" {
+  zone_id = hetznerdns_zone.archlinux.id
+  name    = "_smtp._tls"
+  value   = "\"v=TLSRPTv1;rua=mailto:postmaster@archlinux.org\""
+  type    = "TXT"
+}
+
 resource "hetznerdns_record" "archlinux_org_openpgpkey_a" {
   zone_id = hetznerdns_zone.archlinux.id
   name    = "openpgpkey"
-- 
GitLab