Skip to content

Commit bd9b69d

Browse files
Update Senderz mail template: chunked DKIM + SES Easy-DKIM CNAMEs
Replace monolithic %dkimValue% with %domainKey1%..%domainKey7% concatenation to avoid Cloudflare apply URL truncation. Add three Amazon SES Easy-DKIM CNAME records. Add mail-basic service without SES CNAMEs. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 88d76fd commit bd9b69d

2 files changed

Lines changed: 85 additions & 2 deletions

File tree

senderz.app.mail-basic.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"providerId": "senderz.app",
3+
"providerName": "Senderz",
4+
"serviceId": "mail-basic",
5+
"serviceName": "Mail (basic)",
6+
"version": 1,
7+
"syncPubKeyDomain": "senderz.app",
8+
"syncRedirectDomain": "senderz.app",
9+
"syncBlock": false,
10+
"hostRequired": false,
11+
"description": "Enable email authentication and tracking for Senderz without Amazon SES Easy-DKIM CNAMEs.",
12+
"variableDescription": "%dkimSelector%: DKIM selector; %domainKey1..7%: KMS DKIM public key chunks (concatenated in the TXT record); %dmarcValue%: Full DMARC TXT value; %trackingSubdomain%: Tracking subdomain label; %trackingTarget%: Tracking CNAME target; %mailFromSubdomain%: MAIL-FROM subdomain label; %mxExchange%: SES feedback SMTP host",
13+
"logoUrl": "https://senderz.app/logo-text-primary.png",
14+
"records": [
15+
{
16+
"groupId": "authentication",
17+
"type": "SPFM",
18+
"host": "@",
19+
"ttl": 3600,
20+
"spfRules": "include:amazonses.com"
21+
},
22+
{
23+
"groupId": "authentication",
24+
"type": "TXT",
25+
"host": "%dkimSelector%._domainkey",
26+
"ttl": 3600,
27+
"data": "v=DKIM1; k=rsa; p=%domainKey1%%domainKey2%%domainKey3%%domainKey4%%domainKey5%%domainKey6%%domainKey7%"
28+
},
29+
{
30+
"groupId": "authentication",
31+
"type": "TXT",
32+
"host": "_dmarc",
33+
"ttl": 3600,
34+
"data": "%dmarcValue%",
35+
"txtConflictMatchingMode": "Prefix",
36+
"txtConflictMatchingPrefix": "v=DMARC1",
37+
"essential": "OnApply"
38+
},
39+
{
40+
"groupId": "tracking",
41+
"type": "CNAME",
42+
"host": "%trackingSubdomain%",
43+
"pointsTo": "%trackingTarget%",
44+
"ttl": 300
45+
},
46+
{
47+
"groupId": "returnPath",
48+
"type": "SPFM",
49+
"host": "%mailFromSubdomain%",
50+
"ttl": 3600,
51+
"spfRules": "include:amazonses.com"
52+
},
53+
{
54+
"groupId": "returnPath",
55+
"type": "MX",
56+
"host": "%mailFromSubdomain%",
57+
"pointsTo": "%mxExchange%",
58+
"ttl": 3600,
59+
"priority": 10
60+
}
61+
]
62+
}

senderz.app.mail.json

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"syncBlock": false,
1010
"hostRequired": false,
1111
"description": "Enable email authentication and tracking for Senderz (SPF, DKIM, DMARC, MAIL-FROM, tracking CNAME) via Amazon SES.",
12-
"variableDescription": "%dkimSelector%: DKIM selector; %dkimValue%: Full DKIM TXT value (v=DKIM1; k=rsa; p=...); %dmarcValue%: Full DMARC TXT value; %trackingSubdomain%: Tracking subdomain label; %trackingTarget%: Tracking CNAME target; %mailFromSubdomain%: MAIL-FROM subdomain label; %mxExchange%: SES feedback SMTP host",
12+
"variableDescription": "%dkimSelector%: DKIM selector; %domainKey1..7%: KMS DKIM public key chunks (concatenated in the TXT record); %dmarcValue%: Full DMARC TXT value; %trackingSubdomain%: Tracking subdomain label; %trackingTarget%: Tracking CNAME target; %mailFromSubdomain%: MAIL-FROM subdomain label; %mxExchange%: SES feedback SMTP host; %sesDkimToken1..3%: Amazon SES Easy-DKIM CNAME labels",
1313
"logoUrl": "https://senderz.app/logo-text-primary.png",
1414
"records": [
1515
{
@@ -24,7 +24,28 @@
2424
"type": "TXT",
2525
"host": "%dkimSelector%._domainkey",
2626
"ttl": 3600,
27-
"data": "%dkimValue%"
27+
"data": "v=DKIM1; k=rsa; p=%domainKey1%%domainKey2%%domainKey3%%domainKey4%%domainKey5%%domainKey6%%domainKey7%"
28+
},
29+
{
30+
"groupId": "authentication",
31+
"type": "CNAME",
32+
"host": "%sesDkimToken1%._domainkey",
33+
"pointsTo": "%sesDkimToken1%.dkim.amazonses.com",
34+
"ttl": 3600
35+
},
36+
{
37+
"groupId": "authentication",
38+
"type": "CNAME",
39+
"host": "%sesDkimToken2%._domainkey",
40+
"pointsTo": "%sesDkimToken2%.dkim.amazonses.com",
41+
"ttl": 3600
42+
},
43+
{
44+
"groupId": "authentication",
45+
"type": "CNAME",
46+
"host": "%sesDkimToken3%._domainkey",
47+
"pointsTo": "%sesDkimToken3%.dkim.amazonses.com",
48+
"ttl": 3600
2849
},
2950
{
3051
"groupId": "authentication",

0 commit comments

Comments
 (0)