How to fix missing dmarc on Adobe Commerce (Magento)
Add a DMARC DNS TXT record at _dmarc.yourdomain.com to protect your domain from email spoofing and phishing.
Steps for Adobe Commerce (Magento)
- Adobe Commerce / Magento is self-hosted — DNS is managed at your domain registrar or DNS provider (e.g. Cloudflare, Route 53, GoDaddy), not inside the Magento admin.
- Log into your DNS provider's control panel and add a TXT record: Name/Host = '_dmarc', TTL = 3600, Value = v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
- In the Magento admin, go to Stores → Configuration → Advanced → System → Mail Sending Settings. Ensure you are using an authenticated SMTP relay (e.g. SendGrid, Mailgun, Amazon SES) rather than the server's default sendmail — this is critical for SPF/DKIM alignment.
- Install an SMTP extension (e.g. Magento SMTP by Mageplaza, or configure via app/etc/config.php) to route all transactional mail through your authenticated sending provider.
- Confirm SPF and DKIM records for your SMTP provider are already in DNS for your domain, then monitor DMARC reports for 2–4 weeks before escalating to p=quarantine.
; DNS TXT record — hostname: _dmarc.yourdomain.com
; Phase 1 – monitoring only (safe starting point)
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
; Phase 2 – enforcement (after confirming all legitimate mail passes)
v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.com; pct=100
; Phase 3 – strictest (recommended long-term goal)
v=DMARC1; p=reject; rua=mailto:dmarc@yourdomain.com; pct=100What is missing dmarc?
DMARC (Domain-based Message Authentication, Reporting & Conformance) is a free email authentication standard you publish as a DNS record. It tells the world's email providers — Gmail, Outlook, Yahoo, and others — what to do when someone sends an email that pretends to be from your domain but fails authentication checks. Without a DMARC record, anyone can forge your store's "From" address and send convincing phishing or spam emails that appear to come from you. The record lives at a specific DNS address (_dmarc.yourdomain.com) and takes effect within 24–48 hours of being added.
Without DMARC, criminals can send emails that look exactly like they came from your store — order confirmations, password resets, or fake promotions — tricking your customers into handing over payment details or passwords. This directly damages customer trust, can result in your domain being blacklisted by mail providers (destroying your legitimate email deliverability), and exposes you to legal and reputational liability under consumer-protection and data-privacy laws. OWASP classifies this as a Security Misconfiguration (A05:2021) — one of the most common and impactful categories of web security failures. Fixing it is free and takes under 30 minutes yet closes a major attack vector immediately.
See the complete Missing dmarc guide for every platform and the full background.
Not sure if your Adobe Commerce (Magento) store has this?
Run a free SEOLZ audit — we’ll find missing dmarc and every other issue across your whole site.
Scan my site free