Contents
SPF and DKIM prove technical facts about a message, but neither tells the receiving server what to do when they fail, and neither ties the result to the address the reader sees in the From line. DMARC fills that gap: it links both checks to the From address, sets the policy, and sends you reports.
Record syntax
DMARC is published as a TXT record at _dmarc under your domain:
_dmarc.example.com. IN TXT "v=DMARC1; p=none; rua=mailto:[email protected]"
| Tag | Meaning | Values |
|---|---|---|
v |
Version | DMARC1 |
p |
Policy | none monitor, quarantine spam folder, reject refuse |
rua |
Where aggregate reports go | mailto:... |
pct |
Share of messages the policy applies to | 1 to 100 |
sp |
Policy for subdomains | Same values as p |
How the receiving server decides
A message passes DMARC if one of the checks passes and is aligned with the From address:
- SPF passed and the Return-Path domain matches the From domain, or
- DKIM passed and the signing domain
d=matches the From domain.
If both fail, the policy in p applies.
Practical example: a gradual rollout
- Start:
p=nonewithrua, and read the reports to learn everything that sends as you. - Fix the gaps: add missing sources to SPF or enable DKIM on them.
- Once results are clean: move to
p=quarantine. - Finally:
p=rejectto block spoofing completely.
Create the record easily with the DMARC generator.
Common mistakes
- Jumping straight to reject: it can block legitimate mail from your store or invoicing system.
- Putting the record on the domain itself: it belongs at
_dmarc.example.com, notexample.com. - No alignment: a service sends as you but signs with its own domain, so it fails DMARC. See DMARC fail.
On ArabyHost
SPF and DKIM are set up automatically for business email when your domain points to ns1.arabicode.com and ns2.arabicode.com, and they’re the foundation DMARC builds on. The DMARC policy is your decision, so create the record with the generator, add it in the DNS editor, and start with p=none. Full steps are in the SPF, DKIM and DMARC guide.
FAQ
Which DMARC policy should I start with?
Start with p=none plus an address for reports, and watch them for a few weeks until every legitimate service passes. Then move to quarantine and finally reject.
Is DMARC mandatory?
Not for every sender, but Gmail and Yahoo have required it from bulk senders since 2024, and having it improves deliverability in general.
What is alignment in DMARC?
The domain in the visible From address must match the domain that passed SPF or the domain that signed with DKIM. Passing with a different domain isn't enough.