Someone is spoofing your emails and you only find out after a customer complains. Or the opposite: you set your DMARC record to p=reject and the next morning, your website contact form and invoice emails are stuck in spam folders. Both cases have the same root cause: DMARC was deployed without looking at the reports. This article is the practical path between these two points.
Why we don't set DMARC straight to reject
DMARC is a policy, not a filter. You're telling the receiver "if a message comes with my domain and SPF or DKIM doesn't align with it, do this." The problem is that no one fully knows who is sending email with your domain name today and from which IP. Your website contact form, ticketing system, invoice sending service, even the CEO's mobile app that sends directly via SMTP. Until you see this list, any policy other than none is a gamble.
The correct order is: first get SPF and DKIM right, then set up DMARC with p=none and a report address, read reports for two to four weeks, fix unknown sources one by one, and then tighten it step by step. Wait at least a week at each step.
Prerequisite: SPF and DKIM before anything else
DMARC rides on the results of two other mechanisms. If your SPF has more than ten lookups, the result becomes permerror and DMARC counts that message as a fail; even if it was actually sent from your own server. Count the lookups with this command:
dig +short TXT example.com | grep "v=spf1"
dig +short TXT selector1._domainkey.example.com
The SPF line should be short and explicit. Remove duplicate includes and unnecessary a and mx records. For DKIM, also make sure the selector is actually published and the public key matches the private key on the server. If you're using shared hosting, get the selector and key from the panel and publish that; manually manipulating the key usually leads to dkim=permerror.
A point that's less often mentioned: alignment matters more than passing. If SPF passes with a domain other than the From domain, DMARC won't accept it. That's why bulk sending services must either be under your subdomain or sign DKIM with the From domain.
How to write the DMARC record
The record is a TXT record on _dmarc.example.com. Initial version:
v=DMARC1; p=none; rua=mailto:dmarc@example.com; ruf=mailto:dmarc@example.com; fo=1; adkim=r; aspf=r; pct=100
What the fields mean: rua is the daily aggregate report and the most important part of the work. ruf is the forensic report for each failure, which many receivers (Google and Microsoft) don't send at all; including it doesn't hurt but don't count on it. fo=1 says send a report if either SPF or DKIM fails. adkim and aspf set to r means relaxed alignment, which is correct for most sites; only set s (strict) when you have full control over all subdomains.
Don't put the rua address on the same domain you're protecting, if you're worried about report volume. Use a separate mailbox or a report analysis service. Reports are compressed XML and reading them manually takes time.
Where to read the aggregate reports
Each report is an XML file containing the sender domain, IP, message count, and SPF and DKIM results. What you really need to do is: match each IP against your list of servers. IPs you don't recognize with high message counts are either spoofers or a legitimate service you forgot about. You can only tell the difference by looking at the domain and message path.
If you feed the reports into an analysis tool, look at the "disposition" column. As long as everything is none, no email has been blocked. The moment a percentage of your legitimate messages fail, it's still not time to tighten the policy.
The steps to quarantine and reject
When you've seen clean reports for two weeks, first lower pct, not p. This is the safer approach:
p=quarantine; pct=10— only ten percent of failing messages go to spam. Stay for a week.pct=50— half the messages. If no complaints come in, move forward.p=quarantine; pct=100— all failing messages go to spam.p=reject— failing messages aren't delivered at all.
At step four, spoofed messages are rejected before reaching the inbox and that's exactly what you wanted. But the cost is this: any sending source you've forgotten about silently stops working. No error in your server logs, no email to you. Just a customer saying "the contact form doesn't work."
A practical trick: before reject, create a test subdomain and apply the same strict policy to it. Or use sp= so subdomain policy is separate from the main domain. If you have a subdomain you don't send email from, put sp=reject there; spoofing from unused subdomains is one of the most common phishing methods.
Where people go wrong
The most common mistake I've seen: the technical team sets the DMARC record to p=reject, tests that email from Gmail to Gmail arrives, and that's it. Then two days later they discover that transactional emails sent from an external service with their own From domain are being silently rejected. The sign is this: the sending service panel shows "Delivered," but the customer says they received nothing. The reason is that the sending service signs DKIM with its own domain and it isn't aligned.
Second mistake: putting rua on an address that doesn't exist or whose quota is full. Reports are silently discarded and you think "there's no problem" because no reports came in. If the reports mailbox fills up, exactly what we explained in email quota management happens; a full mailbox can blind your entire monitoring cycle.
Third and subtler mistake: sending transactional email from shared hosting. A shared IP has shared reputation and your SPF gets mixed up with servers you don't control. If your transactional email volume is serious, read the correct path in the transactional email guide; DMARC makes sense on the right infrastructure, not on shared hosting.
What to monitor after reject
The work doesn't end with reject. Every time you add a new service, a new sending source is added to the equation. Keep the rua reports going and look at them once a month. If you're not using an analysis tool, at least open the XML files once a week and check for unknown IPs.
A real limitation: DMARC prevents spoofing of the From domain, but not spoofing of the display name. An attacker can send email from another domain with the name "Your Support" and DMARC does nothing. That's why you should teach your users to look at the domain, not the sender name.
If you work on Linux hosting and want to make sure MX and SPF records are published correctly, record the current state before any change. The MX and DNS record lookup tool does this in seconds and you can compare before and after. For details on ports and encryption when testing sending, the email ports guide is a good reference.
Frequently asked questions
Does DMARC work without DKIM?
Yes, but only with SPF. If SPF passes and aligns with the From domain, DMARC passes. But relying solely on SPF is fragile, because SPF breaks when a message is forwarded. DKIM survives forwarding. My recommendation is to have both and take DKIM seriously.
Why do my own emails go to spam after setting p=reject?
Probably one of your sending sources isn't aligned with your From domain. First open the rua reports and see which IP or which service is failing. Until you've aligned that source with DKIM, lower pct or temporarily go back to quarantine.
How and with what tool should I read DMARC reports?
Reports are compressed XML files and can be read with any tool that opens zip and XML. For low volume, that's enough. For high-traffic domains, a report analysis service or a simple script that matches IPs against your server list saves a lot of time. The important thing is to send the reports somewhere whose quota won't fill up.
Can I set DMARC separately on a subdomain?
Yes. Put the _dmarc record on that subdomain and set its policy independently. For subdomains you don't send email from, p=reject is safe from day one and prevents spoofing. Just remember that the parent record is inherited, so if a subdomain doesn't have its own record, the main domain's policy applies to it.
Next step: today, publish the _dmarc record with p=none and a real rua. If you're already on reject and don't know what you're losing, first set pct to 10 and open the reports. If you're on shared hosting and transactional sending matters to you, Linux hosting with full control over records and DKIM keys is a more logical starting point.