feat(everinbox): add subdomain sending templates#1310
Open
gbretas wants to merge 2 commits into
Open
Conversation
Add domain-auth-subdomain and domain-auth-tracking-subdomain templates for customers sending from a subdomain (e.g. marketing.example.com). The new SUBDOMAIN variable is prepended to all record hosts so that DKIM, DMARC and mail routing land under the correct subdomain zone instead of the root domain.
|
✅ JSON Filename Check Passed |
|
✅ JSON Schema Validation Passed |
Linter OK
|
| Level | Code | Note |
|---|
everinbox.domain-auth-tracking-subdomain.json
| Level | Code | Note |
|---|
everinbox.domain-auth-tracking.json
| Level | Code | Note |
|---|
Remove redundant CLICK_TRACKING_SUBDOMAIN record — both URL and click tracking resolve through the same subdomain. Rename variables to TRACKING_SUBDOMAIN/TRACKING_TARGET for clarity. Bumps domain-auth-tracking to version 2.
PR Description Check FailedThe PR description is missing required elements. Please update it according to the PR template. Details |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds subdomain sending support for Everinbox templates. When customers send email from a subdomain (e.g.
marketing.example.com) rather than the root domain, the existing templates place DKIM, DMARC and mail routing records under the root zone — causing DKIM verification failures.New templates:
everinbox.domain-auth-subdomain— DKIM + DMARC + mail routing for subdomain sending domainseverinbox.domain-auth-tracking-subdomain— same as above + URL/click tracking CNAMEUpdated template:
everinbox.domain-auth-trackingbumped to version 2 — consolidated two tracking CNAMEs (URL_TRACKING+CLICK_TRACKING) into a singleTRACKING_SUBDOMAIN/TRACKING_TARGETpair, matching real-world usageWhy
%SUBDOMAIN%in host instead of thehostparameter:Cloudflare — the primary DNS provider for our users — explicitly does not support the Domain Connect
hostparameter (it is ignored per their documentation). Using%SUBDOMAIN%as a variable in the host field is the only viable workaround for providers that do not implement this part of the spec. The non-variable parts of each host are fixed (._domainkey.,_dmarc.,em*.) to limit misuse, consistent with the spirit of the quality guideline.Type of change
domain-auth-trackingv2 renames tracking variablesHow Has This Been Tested?
<providerId>.<serviceId>.jsonlogoUrlis actually served by a webserverChecklist of common problems
syncPubKeyDomainis set — present on all templateswarnPhishingis not set alongsidesyncPubKeyDomain—warnPhishing: falseon all templatessyncRedirectDomainis set whenever the template usesredirect_uriin the synchronous flowv=DMARC1, not SPFtxtConflictMatchingModeis set on every TXT record that must be unique — set to"All"on DMARC recordhostlabel — all host labels contain fixed parts (e.g.%DKIM_SELECTOR1%._domainkey.%SUBDOMAIN%)%host%does not appear explicitly in anyhostattributeessentialis set toOnApplyon records the end user may need to modify — set on DMARC recordNote on
%SUBDOMAIN%in host: The guideline recommends using thehostparameter instead of a variable in the host field to create a subdomain. However, Cloudflare (our primary provider) explicitly ignores thehostparameter in their Domain Connect implementation. The%SUBDOMAIN%variable is therefore the only working solution for subdomain scoping on Cloudflare. All other host parts remain fixed.Online Editor test results
Editor test link(s):
Test everinbox/domain-auth-subdomain example.com/@
Note: editor test link for
everinbox.domain-auth-tracking-subdomainuses the same variable structure; separate link available on request.