DrivenHost

Blog / security monday

Stop scammers sending email as your domain

A DMARC record tells mail servers to reject email that fakes your domain. Here is how to check yours, read the reports and tighten it safely.

Anyone can put your domain in the From line of an email. They do not need your password, your website or your mailbox. The message simply claims to be from you, and if your domain does not tell receiving mail servers what to do about that, a fair number of inboxes will take it at face value. Security Monday this week is about the one DNS record that closes that door.

What spoofing actually looks like

The two versions we see most often are both aimed at people who trust you. One is an invoice or a change-of-bank-details email sent to your customers, apparently from accounts@yourdomain. The other is sent to your own staff, usually a password reset or a shared file, apparently from the owner.

Neither requires a break-in. The giveaway on the server side is a run of bounces and spam complaints for addresses nobody at the company has ever written to, which is often how an owner finds out at all.

SPF and DKIM do not stop this on their own. SPF checks the envelope sender, DKIM checks a signature on the message, and neither is tied to the address a person actually sees in their mail app. DMARC is the piece that links the visible From domain to those two checks and then states, in public, what a receiving server should do when the link fails. If you have not set up the first two yet, start with our walkthrough on SPF and DKIM records and come back here.

Check what your domain publishes today

It is one lookup. On macOS or Linux:

dig +short TXT _dmarc.yourdomain.ca

On Windows:

nslookup -type=TXT _dmarc.yourdomain.ca

An answer looks something like v=DMARC1; p=none; rua=mailto:[email protected]. Nothing at all means your domain has no stated policy, which is the state most small-business domains are in. The three parts worth knowing: v is the version, p is the policy (none, quarantine or reject), and rua is where the daily aggregate reports get sent.

Move your policy up in steps

The mistake is publishing p=reject on day one. Most businesses send legitimate mail from more places than they remember: the mail host, the invoicing software, a contact form on the site, a booking system, a newsletter tool, the accountant's portal. Reject first and some of that quietly stops arriving, and you will not know which part until a customer tells you.

The order that works:

  1. Publish p=none with an rua address. This changes nothing about delivery. It just turns on the reports.
  2. Wait two to four weeks and read them. Each report lists the servers sending as your domain and whether they passed SPF and DKIM. Expect a few surprises.
  3. Fix the legitimate senders one at a time so each one passes DKIM, or SPF, with your domain.
  4. Move to p=quarantine. Failing mail now goes to junk rather than the inbox, which is recoverable if you missed a sender.
  5. After a few clean weeks, move to p=reject.

The raw reports are XML and unpleasant to read by hand. Any DMARC report parser will do, and a few are free for a single domain.

One thing that changed this year

DMARC got a new specification in May 2026. RFC 9989 replaces the 2015 document, and the practical change for site owners is that the pct tag is gone. Partial enforcement by percentage is no longer part of the standard, so staged rollout now means moving the policy value itself, in the order above, rather than leaving a record at reject with a percentage dialled down. If you inherited a record with pct= in it from an older guide, it is doing nothing useful now and can come out.

Worth knowing even if you are small: Gmail requires DMARC from anyone sending more than 5,000 messages a day to Gmail accounts, though it accepts a policy of none. Almost no small business hits that number, so treat it as the floor rather than the goal. The reason to publish a record is your own name, not the threshold.

What this does not cover

DMARC protects your exact domain in the From field. It does nothing about lookalike domains, so a scammer who registers yourdomain-invoices.ca and writes from there is a separate problem, and the one your staff need to be able to spot. Our notes on phishing aimed at site owners cover that side of it. It also does nothing if the attacker has your actual mailbox password, which is why two-factor on email accounts stays near the top of the list.

If your business email is with us and you want a second set of eyes on the record before you move to quarantine or reject, open a ticket at /support and tell us the domain. We will look at what is sending as you and tell you what will break.

Sources

security mondayemaildmarc

← All posts

No sales team. No scripts.

Tell us what you're running.
We'll tell you what it needs.

Migrations are free, quotes are written, and the engineer who replies is on the team that will run your server.