From f692fdae1b506b5f5a5766a8740324d22e2cdbea Mon Sep 17 00:00:00 2001 From: Marcos Alberto Ferreira Pinto <159904717+marcosffp@users.noreply.github.com> Date: Tue, 18 Nov 2025 08:36:17 -0300 Subject: [PATCH] feat(email): add DNS records and dedicated domain configuration for SendGrid Added the required DNS records (SPF, DKIM, and verification entries) for SendGrid domain authentication. This update enables a dedicated and trusted domain for outgoing transactional emails, improving deliverability, reducing the risk of messages going to spam, and ensuring the platform can send emails with proper authentication. This commit includes: - Domain authentication setup - SPF + DKIM configuration - Updated DNS entries for email security and compliance --- domains/_dmarc.hortifruti-sl.open-comm.org.json | 14 ++++++++++++++ domains/em3399.hortifruti-sl.open-comm.org.json | 12 ++++++++++++ domains/hortifruti-sl.open-comm.org.json | 9 +++------ .../s1._domainkey.hortifruti-sl.open-comm.org.json | 12 ++++++++++++ .../s2._domainkey.hortifruti-sl.open-comm.org.json | 12 ++++++++++++ 5 files changed, 53 insertions(+), 6 deletions(-) create mode 100644 domains/_dmarc.hortifruti-sl.open-comm.org.json create mode 100644 domains/em3399.hortifruti-sl.open-comm.org.json create mode 100644 domains/s1._domainkey.hortifruti-sl.open-comm.org.json create mode 100644 domains/s2._domainkey.hortifruti-sl.open-comm.org.json diff --git a/domains/_dmarc.hortifruti-sl.open-comm.org.json b/domains/_dmarc.hortifruti-sl.open-comm.org.json new file mode 100644 index 00000000..db24cfe8 --- /dev/null +++ b/domains/_dmarc.hortifruti-sl.open-comm.org.json @@ -0,0 +1,14 @@ +{ + "domain": "open-comm.org", + "subdomain": "_dmarc.hortifruti-sl", + "owner": { + "email": "marcosferralbe@gmail.com", + "github": "marcosffp" + }, + "description": "DMARC policy record used to define email authentication rules and reporting instructions.", + "record": { + "TXT": [ + "v=DMARC1; p=none;" + ] + } +} diff --git a/domains/em3399.hortifruti-sl.open-comm.org.json b/domains/em3399.hortifruti-sl.open-comm.org.json new file mode 100644 index 00000000..926046da --- /dev/null +++ b/domains/em3399.hortifruti-sl.open-comm.org.json @@ -0,0 +1,12 @@ +{ + "domain": "open-comm.org", + "subdomain": "em3399.hortifruti-sl", + "owner": { + "email": "marcosferralbe@gmail.com", + "github": "marcosffp" + }, + "description": "SendGrid tracking CNAME record used for email click/open tracking and link rewriting.", + "record": { + "CNAME": "u57330463.wl214.sendgrid.net" + } +} diff --git a/domains/hortifruti-sl.open-comm.org.json b/domains/hortifruti-sl.open-comm.org.json index 7f0d27a1..11cf9057 100644 --- a/domains/hortifruti-sl.open-comm.org.json +++ b/domains/hortifruti-sl.open-comm.org.json @@ -5,10 +5,7 @@ "email": "marcosferralbe@gmail.com", "github": "marcosffp" }, - "description": "This domain is used as a homologation environment for testing and validating email delivery, templates, authentication settings, and integration workflows before enabling them in the production system.", - "record": { - "CNAME": ["ufl2912.hortifruti-sl.open-comm.org", "57330643.hortifruti-sl.open-comm.org", "em4064.hortifruti-sl.open-comm.org", "s1._domainkey.hortifruti-sl.open-comm.org", "s2._domainkey.hortifruti-sl.open-comm.org"], - "TXT": ["_dmarc.hortifruti-sl.open-comm.org"] - }, + "description": "Root domain container for the hortifruti-sl namespace. No DNS records are defined at this level.", + "record": {}, "proxied": false -} \ No newline at end of file +} diff --git a/domains/s1._domainkey.hortifruti-sl.open-comm.org.json b/domains/s1._domainkey.hortifruti-sl.open-comm.org.json new file mode 100644 index 00000000..98362411 --- /dev/null +++ b/domains/s1._domainkey.hortifruti-sl.open-comm.org.json @@ -0,0 +1,12 @@ +{ + "domain": "open-comm.org", + "subdomain": "s1._domainkey.hortifruti-sl", + "owner": { + "email": "marcosferralbe@gmail.com", + "github": "marcosffp" + }, + "description": "Primary SendGrid DKIM key used for domain authentication and email signing.", + "record": { + "CNAME": "s1.domainkey.u57330463.wl214.sendgrid.net" + } +} diff --git a/domains/s2._domainkey.hortifruti-sl.open-comm.org.json b/domains/s2._domainkey.hortifruti-sl.open-comm.org.json new file mode 100644 index 00000000..5f5c123f --- /dev/null +++ b/domains/s2._domainkey.hortifruti-sl.open-comm.org.json @@ -0,0 +1,12 @@ +{ + "domain": "open-comm.org", + "subdomain": "s2._domainkey.hortifruti-sl", + "owner": { + "email": "marcosferralbe@gmail.com", + "github": "marcosffp" + }, + "description": "Secondary SendGrid DKIM key used for domain authentication redundancy and email signing.", + "record": { + "CNAME": "s2.domainkey.u57330463.wl214.sendgrid.net" + } +}