Skip to content

Commit e99413e

Browse files
committed
fix(mailercloud): keep _domainkey and _dmarc as fixed literals in template
Address review: dkim host -> %dkim_selector%._domainkey%dkim_suffix% and dmarc host -> _dmarc%dmarc_suffix%, so the well-known ._domainkey / _dmarc labels are fixed literals; only the selector and the optional sending- subdomain suffix remain variable.
1 parent 478a62f commit e99413e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

mailercloud.com.email-auth.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"syncPubKeyDomain": "dns-connect.mailercloud.com",
1010
"syncRedirectDomain": "app.mailercloud.com",
1111
"multiInstance": true,
12-
"variableDescription": "cloudnskey: per-account tracking key. track_host/dkim_host/img_host/spf_host/dmarc_host: server-computed relative hosts (apex mc / k1._domainkey / img<key> / @ / _dmarc; subdomain adds the sub-label; occupied-subdomain tracking mc-<label>). img_value: img<key>.<imgdomain>. dmarc_value: server-computed DMARC TXT (merged with existing policy, or default policy with rua/ruf@trackdomain).",
12+
"variableDescription": "cloudnskey: per-account tracking key. track_host/img_host/spf_host: server-computed relative hosts (apex mc / img<key> / @; subdomain adds the sub-label; occupied-subdomain tracking mc-<label>). dkim_selector: DKIM selector (e.g. k1). dkim_suffix: subdomain suffix after ._domainkey (empty at apex, .<sub> for a subdomain) — the ._domainkey label is fixed in the template. dmarc_suffix: subdomain suffix after _dmarc (empty at apex, .<sub>) — _dmarc is fixed in the template. img_value: img<key>.<imgdomain>. dmarc_value: server-computed DMARC TXT (existing policy preserved, with rua/ruf@trackdomain).",
1313
"records": [
1414
{
1515
"groupId": "tracking",
@@ -22,7 +22,7 @@
2222
{
2323
"groupId": "dkim",
2424
"type": "CNAME",
25-
"host": "%dkim_host%",
25+
"host": "%dkim_selector%._domainkey%dkim_suffix%",
2626
"pointsTo": "dkim.mlrcloud.com",
2727
"ttl": 3600,
2828
"essential": "Always"
@@ -46,7 +46,7 @@
4646
{
4747
"groupId": "dmarc",
4848
"type": "TXT",
49-
"host": "%dmarc_host%",
49+
"host": "_dmarc%dmarc_suffix%",
5050
"data": "%dmarc_value%",
5151
"ttl": 3600,
5252
"txtConflictMatchingMode": "All",

0 commit comments

Comments
 (0)