Email Infrastructure
Guide2 min read

Email Authentication for Subdomains: Scope

Map SPF, DKIM, and DMARC behavior across sending subdomains without assuming policy inheritance or automatic alignment.

RT
RepMail Team

Product & Engineering · September 25, 2026 · 2 min read

Authentication for a subdomain starts with a map, not a copied record. Record the visible From domain, SMTP MAIL FROM domain, DKIM signing domain and selector, and DMARC policy path for each sending stream. Then verify the relationship in real headers.

Map the boundaries

List example.com, each sending subdomain, and any separate envelope or tracking domain. Use DNS records for email to capture authoritative SPF, DKIM, and DMARC answers. SPF is evaluated for the SMTP identity; DKIM validates the signing domain in d=; DMARC evaluates alignment with the visible From domain. These are related but not interchangeable.

Create a matrix for each stream. Note whether the From domain is the organizational domain or a subdomain, whether a DMARC record is published at the subdomain or inherited according to policy rules, and whether an sp= setting applies. Verify the provider’s actual signing and envelope behavior; do not infer it from a setup screen.

Test alignment

Send a controlled message through every stream. Inspect From, Return-Path or MAIL FROM, DKIM d=, selector, and Authentication-Results. Use DMARC alignment guidance to separate an SPF or DKIM pass from alignment with From. Test relaxed and strict expectations only when your policy requires that distinction.

Change one boundary at a time

Before publishing or tightening policy, inventory legitimate senders and define rollback. A subdomain can be useful for isolation, but it is not automatically safe: unknown systems may still send, and a policy change can affect a different stream than expected. Recheck DNS from authoritative and recursive resolvers, then review real headers and aggregate reporting.

Related resources

Use the Email Infrastructure academy for domain-boundary decisions.

This workflow should be checked against the cited standards and current provider documentation 1.

Common scope mistakes

A frequent error is changing the parent-domain record while the active sender uses a subdomain, or validating a DKIM key that belongs to a provider no longer used by the stream. Another is treating a passing SPF result as proof that the visible From domain is aligned. Keep the matrix tied to actual headers and provider configuration, and have the domain owner approve changes that affect more than one business stream.

References

Resources in this guide

Authentication scope matrix
Reference
IdentityWhat to recordVerification
Visible From subdomainFrom value and DMARC policy pathHeader and DNS
SMTP MAIL FROMEnvelope domain and SPF recordAuthentication-Results
DKIM signing domaind= and selectorSignature and public key
DMARC policy_dmarc record and sp settingAuthoritative lookup
Business ownerPurpose and systemOwner confirmation
subdomains
spf
dkim
dmarc

Frequently asked questions

Does a parent SPF record automatically cover a subdomain?

Do not assume it. Evaluate the actual SMTP identity and published records for the sending domain.

Can DKIM use a subdomain while From uses the parent domain?

It can, but DMARC alignment depends on the configured alignment mode and domain relationship. Verify the real `d=` and From values.

What is the safest way to change subdomain policy?

Inventory senders, capture current DNS and headers, publish one controlled change, monitor reports, and keep a rollback record.

Continue learning

Read the DNS records for email

Continue with the closest operational guide.

More on this topic