Skip to content
← Field notes

Email · · 5 min read · Oathline Security

Is your domain letting scammers send email as you?

Three DNS records decide whether forged email from your domain gets delivered. Here's how to check yours.

Why this matters

Email was built without any way to prove who sent a message. Anyone can put your address in the From line, the same way anyone can write your return address on an envelope. Scammers use this to send fake invoices, payment changes and password-reset messages that look like they came from you.

Three records in your domain's DNS settings let receiving mail servers check whether a message really came from you. Without them, forged mail often lands in the inbox. With them set correctly, most of it gets rejected before anyone sees it.

What the three records do

The three email records, in plain English
SPFA list of the services allowed to send email for your domain, such as your email provider and your newsletter tool. Mail from anywhere else fails.
DKIMA digital signature your email provider adds to every message. Receivers check it against a public key in your DNS, so a forged or altered message fails.
DMARCYour instructions for mail that fails those checks: watch it, send it to spam, or reject it. It can also send you reports on who is sending as your domain.

Turning them on without blocking your own mail

  1. List everything that sends email as you. Your email provider, plus anything else: invoicing, newsletters, your website's contact form, your CRM. These are the ones people forget.
  2. Publish one SPF record that covers all of them. Each service tells you what to add. End the record with ~all or -all, and make sure there's only one SPF record, not several.
  3. Turn on DKIM for each sending service. In Google Workspace or Microsoft 365 it's a setting in the admin console. Other services give you a record to add.
  4. Start DMARC in monitor-only mode. A policy of p=none blocks nothing but sends you reports. Read them for two to four weeks to catch anything you missed in step one.
  5. Tighten it. Move to p=quarantine, which sends failing mail to spam, then to p=reject once you're confident everything legitimate passes.

The details people miss

  • Monitor-only isn't protection. Plenty of domains set DMARC to p=none and stop there. It's a starting point, not the finish line.
  • Domains you don't send from still need records. Scammers love old or parked domains. An SPF record of v=spf1 -all and a DMARC policy of reject tell receivers that no mail from them is real.
  • New tools can break things quietly. When you add a service that sends email as you, add it to SPF and turn on its DKIM before it goes live, or its messages may start landing in spam.
  • SPF has a limit. It can only look up ten other services' records. Very long SPF records stop working, so remove services you no longer use.

What these records won't do

They stop people sending mail that claims to be from your exact domain. They don't stop look-alike domains with a letter swapped or a different ending, and they don't stop someone who has broken into a real mailbox. For that, turn on MFA for email and teach your team to double-check any request to change payment details, ideally with a phone call.

More field notes