Email authentication error
DMARC aspf and adkim: strict versus relaxed alignment
The aspf and adkim tags set how closely the domain that passed SPF or DKIM must match the domain people see in the From address. Relaxed, written r, accepts a match on the organisational domain. Strict, written s, demands an exact match. If you publish neither tag, both default to relaxed.
By Kyle Deligny, Titanos, Brisbane. Last reviewed 1 December 2026. General information, not legal advice.
For most small and mid sized businesses relaxed is the right choice, and strict mostly creates failures for legitimate mail. This page explains the difference with a worked example from RFC 7489 and lists the situations where strict is worth considering.
What alignment means
DMARC passes a message when SPF or DKIM passes and that passing result is aligned with the From domain. Passing alone is not enough. SPF is checked against the envelope sender domain, and DKIM against the domain in the signature. Alignment compares either of those with the From domain.
Section 3.1 of RFC 7489 defines the two modes. In relaxed mode the two domains only need to share the same organisational domain, so a message signed by mail.yourbusiness.com.au aligns with a From address at yourbusiness.com.au. In strict mode the domains must be identical, so that same message would fail.
| From domain | DKIM or SPF domain | Relaxed | Strict |
|---|---|---|---|
| yourbusiness.com.au | yourbusiness.com.au | Aligned | Aligned |
| yourbusiness.com.au | mail.yourbusiness.com.au | Aligned | Not aligned |
| news.yourbusiness.com.au | yourbusiness.com.au | Aligned | Not aligned |
| yourbusiness.com.au | someplatform.example | Not aligned | Not aligned |
How the two tags are set
The tags are independent. A record can use adkim=s with aspf=r, for example. The syntax in the record is aspf=r or aspf=s, and adkim=r or adkim=s, separated by semicolons like every other tag. Section 6.3 of RFC 7489 lists them with their defaults.
Many email platforms send from a subdomain of yours, such as a bounce address at bounces.yourbusiness.com.au, while your From address uses the main domain. Relaxed mode makes those messages align. Strict mode breaks them unless the platform is configured to use the exact From domain in its envelope and signature.
Which to pick
Stay on relaxed unless you have a reason. It still blocks a spoofer who uses an unrelated domain, because that domain will not share your organisational domain. The extra protection of strict is narrow: it stops a message from one of your own subdomains from being treated as aligned with another. That matters mainly where unrelated teams or customers hold separate subdomains of a shared domain.
If you do move to strict, do it after reading your aggregate reports, which show alignment results per source. Our guide to SPF and DKIM alignment failures explains how to read a failure. Change one tag at a time and leave the policy at none or a low pct while you watch, as in the rollout guide.
Common traps
Switching to strict on the root domain without checking every sender is the usual cause of sudden DMARC failures after a tidy up. Each tool that signs with its own subdomain starts to fail at once. The reverse trap is assuming strict means safer in general. It adds precision, not strength, and the cost is more false failures.
Remember also that only one aligned pass is needed. If DKIM aligns, a strict SPF mismatch does not cause a DMARC failure. Setting up reliable DKIM at the exact From domain for each sender is the sturdiest route, and then the tag choice becomes less critical.
Choose and test your alignment mode
- Read your current DMARC record and note whether aspf and adkim are present.
- Confirm that absent tags mean relaxed for both.
- Pull a recent set of aggregate reports and note each source's alignment result.
- List which senders use a subdomain in the envelope or the DKIM signature.
- Decide whether any business reason requires strict matching.
- If staying relaxed, leave the tags out or set them to r.
- If testing strict, change one tag at a time.
- Keep the policy at none or a low pct during the change.
- Review reports for new alignment failures after a full business cycle.
- Revert the tag if a legitimate sender starts failing.
Questions people ask
What are the defaults for aspf and adkim?
Both default to r, relaxed, according to RFC 7489 section 6.3, so a record that leaves them out uses relaxed alignment for SPF and for DKIM.
Does strict alignment make my domain more secure?
Only slightly in specific cases. Relaxed still blocks senders on unrelated domains. Strict mainly separates your own subdomains from each other.
Do I need both SPF and DKIM to align?
No. One aligned pass of either SPF or DKIM is enough for DMARC to pass, so a message does not need both to line up with the From domain.
Can I set different modes for SPF and DKIM?
Yes. The two tags are independent, so you can use strict for one and relaxed for the other.
Where to from here
The free privacy policy audit reads your published privacy policy against the Australian Privacy Principles and tells you what is missing. Privacy Care keeps your policy and your shopper data practices current for AU$149 a month, with a 3-month minimum. Would it be okay if we showed you what the audit finds? A no is welcome.
Sources
- RFC 7489, DMARC, section 3.1 identifier alignment
- RFC 7208, SPF
- RFC 6376, DKIM signatures
- ASD, email hardening guidance
General information, not legal advice. Laws and guidance change: check the linked primary sources and ask a qualified adviser about your own situation. Written by Kyle Deligny with AI assistance, last reviewed 1 December 2026. How we write and check: editorial policy.
