All resources

What is email spoofing?

Article · 6 min read

Email spoofing is sending an email with a forged sender, so the From address shows a domain the real sender doesn't control. A stranger's server can send a message from "ap@northwind.com" because the basic email protocol never checks the From line.

For an outbound or IT team it has two sides. Someone can forge your domain to trick customers and staff. And your own outreach, if it isn't authenticated, looks the same as a forgery to Gmail and Outlook, so it gets filtered.

Three kinds of spoofing

TypeWhat the reader seesWhat stops it
Exact domainAccounts Payable <ap@northwind.com>, sent from a server Northwind never approvedDMARC at p=quarantine or p=reject
Display name"Northwind Accounts" <northwind.ap@freemail.example>Filters and a careful reader. DMARC can't, the domain is real
Lookalike domainap@northwlnd.com or ap@northwind-billing.comBuying obvious lookalikes and watching for new ones

Only the first one uses your actual domain, and it's the one you can shut down with three DNS records.

An email spoofing example, header by header

A finance manager at a Northwind customer gets this, asking for new bank details. In Gmail, Show original gives it away:

Headers of a spoofed invoice email (fictional)

From: Accounts Payable <ap@northwind.com> Reply-To: northwind.payments@freemail.example Return-Path: <bounce@bulk-mailer.example.net> Received: from unknown (203.0.113.77) SPF: SOFTFAIL with IP 203.0.113.77 DKIM: none DMARC: FAIL

  • Reply-To differs from From. Answers go to the attacker, not to northwind.com.
  • Return-Path is another domain. SPF was checked against bulk-mailer.example.net, not Northwind.
  • No DKIM signature. The attacker has no access to Northwind's private key.
  • DMARC fails. If Northwind publishes p=reject, the receiving server refuses this mail outright.

How SPF, DKIM and DMARC stop it

RecordWhat it checksStops spoofing on its own?
SPFWhich servers may send for the Return-Path domainNo. It never looks at the From address
DKIMA signature made with your private keyNo. A forger simply doesn't sign
DMARCThat SPF or DKIM passes for the From domain, then applies your policyYes, for exact-domain spoofing at quarantine or reject

SPF and DKIM are the proof. DMARC is the rule that ties the proof to the address people see. The details are in what is an SPF record, what is DKIM and what is DMARC.

Protect your domains in five steps

Step 1: List everything that sends as you

Most spoofing fixes fail because a forgotten tool breaks when DMARC tightens. Fill this in before touching DNS:

Sender inventory (one line per service)

Service | Sends as | SPF include | DKIM selector | Owner Google Workspace | northwind.com | include:_spf.google.com | google | IT Billing tool | billing.northwind.com | (from the tool) | (from tool) | Finance Cold email inboxes | getnorthwind.com | include:_spf.google.com | google | Sales Website forms | northwind.com | (from the host) | (from host) | Marketing

Step 2: Publish one SPF record per domain

One TXT record per domain, with every include from the inventory. Two SPF records on one domain make both fail.

Step 3: Turn on DKIM for every service

Each service gets its own selector. Check that d= shows your domain, not the service's.

Step 4: Start DMARC at p=none, then tighten

Read the reports for 2 to 4 weeks. Once every real source passes, move to p=quarantine, then p=reject on the main domain.

Step 5: Lock domains you don't send from

Parked lookalikes get v=spf1 -all and a p=reject DMARC record, so nobody can borrow them. The paste-ready pair is in what is DMARC.

Why unauthenticated outreach looks like spoofing

A filter can't tell an unsigned cold email from a forged one. Both fail to prove they came from the From domain. Gmail requires SPF or DKIM from every sender, and DMARC as well from anyone sending 5,000+ messages a day to Gmail.

Your outreach setupWhat the filter sees
Tool sends from its servers, signs with its own domainDMARC fails. Same result as a forgery
New sending domain, SPF onlyPasses, but breaks on forwarding
SPF, DKIM and DMARC aligned on the sending domainPasses. Judged on reputation and the list

Every sending domain needs all three before the first send. After that, what keeps it in the inbox is who you email.

Authenticated mail to a verified list

Brightpath is a fictional managed IT provider that sets up email security for law and accounting firms. It sends from two authenticated domains and builds its list in ContactYard:

Brightpath's search (illustrative numbers)

Industry
Government and Legal > Law Practice; Business Services > Accounting
Employee Headcount
21 to 100, 101 to 250
Company Location
United States, plus Boston, Philadelphia, Chicago
Job Title, Smart
IT Director, IT Manager, Director of Information Technology, Managing Partner
Job Title, Exclude
Help Desk, Intern, Assistant, Sales
Required
Email
Result
1,150 contacts, exported to its sending tool
The Job Title filter with included and excluded job titles highlighted
Brightpath's first email

Subject: who can send as {company_domain}? Hi {first_name}, I looked up {company_domain}'s public DNS. It has no DMARC policy, so anyone can send email that shows your firm's name in the From line. For a firm that sends wire instructions, that's the cheapest fix on the list. We set it up in an afternoon without touching your email. Worth a 15-minute call to show you the lookup? {your_name}

Every work email is verified before you get it, so authenticated mail lands on real inboxes and bounces don't undo the work on the records. One credit covers the email, the mobile when available and the check: about $3.30 per 1,000 contacts on Scale, against public list prices of $75 at Lusha and $131 at ContactOut. Start free.

FAQ

What is email spoofing in cyber security?
A forged sender address used to make a message look trusted, often to steal money or logins. It's the delivery method behind most phishing.
How do I stop someone spoofing my email address?
Publish SPF and DKIM for every service that sends as your domain, then a DMARC policy at p=quarantine or p=reject. Receivers then refuse or junk the forgeries.
How can I detect email spoofing?
Open the headers. A Reply-To that differs from From, a Return-Path on another domain and DMARC: FAIL are the usual signs.
Is there a free email spoof test?
Look up your domain's SPF and DMARC records with any free DNS lookup tool. No DMARC record, or p=none, means exact-domain spoofing still gets delivered.
Why am I getting spoofed emails from my own address?
Someone forged your From line, usually without touching your account. A DMARC reject policy on your domain stops most of them reaching you and others.