New guide: how to warm up a dedicated IP without hurting your reputation. Read now →
Log in
MigoSMTP
SecurityUpdated 26 Oct 2026

Email Spoofing: How It Works, How to Spot It and How to Stop Your Domain Being Spoofed

What email spoofing is, why forged From addresses are easy, how SPF, DKIM and DMARC defend a domain, the difference between spoofing and lookalike domains, signs of a spoofed message and a protection checklist.

HM
Written by Hannah Mitchell
Product Manager, Onboarding
Reviewed by Ishita Rao
  • Published4 Oct 2025
  • Read time6 min
  • Length1,241 words
Share this guide

Email spoofing is the forging of the sender information of a message so that it appears to come from someone else. The original mail protocol, SMTP, has no built-in check that the address in the From header belongs to the person sending: anyone who can connect to a mail server can claim any sender, in the same way that anyone can write any return address on a paper envelope. Criminals exploit this for phishing, invoice fraud and malware delivery, and brands suffer when their name is used to defraud customers. The remedy is not a single feature but a set of domain-level authentication standards that let receivers verify whether the sending server is authorised to use a domain. This guide explains how spoofing works, the different forms it takes, how the standards stop the most direct form, what they do not cover, how to recognise a spoofed message and what a domain owner and a user should do. It is general information on defences; always follow your organisation's security policy.

SpoofingForging the visible sender (From) of a message
DefenceSPF, DKIM and DMARC let receivers check authorisation and reject forged mail for protected domains
Not coveredLookalike domains and display-name tricks use real, authenticated domains
ActionPublish SPF and DKIM, move DMARC to enforcement, and train users to check the details

Why it is possible

SMTP has two sender addresses. The envelope sender (MAIL FROM) is used between servers for bounces. The From header is what the recipient's mail client shows. Neither is verified by the protocol, and they can differ. A spoofer can connect to a receiving server, or to a poorly secured relay, and write whatever they like in both. Authentication standards were added later, in layers, and they work by letting the domain owner publish rules in DNS that receivers can check. See how email works and email authentication explained.

Kinds of spoofing

TypeExampleStopped by
Exact-domain spoofingFrom: [email protected] sent from an attacker's serverDMARC at quarantine or reject, with SPF and DKIM published
Envelope-only spoofingReturn-Path forged, visible From honestSPF checks the envelope domain
Display-name spoofingFrom: "Example Bank" <[email protected]>Not stopped by domain authentication; needs filters and user awareness
Lookalike (cousin) domainFrom: [email protected] or example-support.comNot stopped by your DMARC; needs domain monitoring and takedown. See lookalike domains
Compromised accountReal mailbox taken over, mail passes authenticationAccount security, MFA, anomaly detection. See sending account security
Subdomain abuseFrom: billing.example.com when the policy only covers the organisational domainSubdomain policy, parked-domain records. See DMARC subdomain policy
Forwarded and list mailLegitimate flows that break authenticationARC, list mitigation. See DMARC and mailing lists

Keeping these separate avoids false confidence. A domain with DMARC at p=reject is protected against the first three kinds of forged mail that claims its exact name, but not against a message from an address that merely resembles it.

How SPF, DKIM and DMARC stop exact-domain spoofing

  • SPF lets the domain owner publish the list of servers allowed to send mail for the envelope domain. A receiver checks whether the connecting IP is on the list. See SPF record syntax.
  • DKIM adds a cryptographic signature that the receiver verifies against a public key in DNS. A valid signature shows that the message was signed by the domain and not altered. See DKIM records.
  • DMARC ties them to the visible From domain: the message must pass SPF or DKIM with a domain that aligns with From. The domain owner states what receivers should do with failures (none, quarantine, reject) and asks for reports. See DMARC policies and alignment.

Without DMARC enforcement, SPF and DKIM failures alone do not reliably stop a forged From, because receivers differ in how they treat them and because the From domain need not be the one that SPF or DKIM examined. DMARC at enforcement is the control that directly addresses spoofing of your domain.

Signs of a spoofed message

  1. The address behind the name. Expand the sender details; does the address match the organisation? Beware small differences.
  2. Authentication results. In the headers, spf=fail, dkim=fail or dmarc=fail, or missing results for a message that claims to come from a large organisation, are red flags. See reading headers.
  3. Reply-To differs from From with an unrelated domain. See Reply-To header.
  4. Urgency and unusual requests, such as a change of bank details, gift cards or secrecy.
  5. Links that do not match the text, shortened links or login pages on unrelated domains.
  6. Generic greeting or odd phrasing from a sender who normally knows your name.
  7. Unexpected attachments or requests to enable macros.

Mail systems add warnings such as "this sender could not be verified" or "external sender" banners. Take them seriously. For what to do if you clicked, see phishing email: how to spot it and reporting phishing.

What a domain owner should do

  1. Inventory every legitimate sender for the domain: mail platform, marketing tools, CRM, billing, help desk, applications.
  2. Publish SPF covering those senders, within the lookup limit. See SPF flattening.
  3. Sign with DKIM using your own domain for each sender.
  4. Publish DMARC at p=none with reporting, read the reports and fix legitimate failures. See DMARC report tools.
  5. Move to quarantine and then reject in steps. See aggregate reports and moving to reject.
  6. Protect parked and non-sending domains and subdomains with a null SPF and p=reject. See parked domains.
  7. Consider BIMI once you enforce, to display your logo in supporting inboxes. See BIMI certificates.
  8. Secure accounts with MFA and monitor for unusual sending.
  9. Monitor lookalike domains and have a takedown process.

What users and teams should do

  • Treat requests for money or credentials as untrusted until confirmed by a second channel, such as a phone call to a known number.
  • Check the full sender address, not only the display name, especially on a phone.
  • Do not click login links in unexpected messages; go to the site directly.
  • Use the report button in your mail client.
  • Finance and HR teams need a documented procedure for payment changes.

Spoofing and your customers

If criminals forge your brand, your customers are the ones who suffer, and they will not distinguish between a spoofed message and your real mail. Publish a short page that says how you contact customers, what you will never ask for (such as passwords or payment by gift card) and how to report suspicious messages. Use a consistent sender name and domain for official mail so that deviations stand out. Where you can, keep sensitive actions inside authenticated pages instead of asking customers to reply with data. These steps do not replace technical controls, but they give people a reference to compare against.

Limits of the protection

Authentication shows who sent a message, not whether the sender is honest. A criminal with a legitimate domain can authenticate perfectly. DMARC also does nothing for the mail your organisation receives from others unless the receiving system enforces the sender's policy, which most major providers do. Combine authentication with filtering, user education, multi-factor authentication and procedures for sensitive requests. Test your own domain with the SPF, DKIM and DMARC checker and send test messages to see how they are handled.

Spoofing of your exact domain is a solved problem for those who complete the work: authenticate every sender, enforce DMARC and watch the reports. The remaining risks, lookalike domains, compromised accounts and persuasion, call for monitoring, security hygiene and well-prepared people.

Protect your domain Check your SPF, DKIM and DMARC records now.

Open the checker

References and further reading

Frequently asked questions

What is email spoofing?

Forging the sender of a message so it appears to come from someone else. SMTP does not verify the From address by itself.

Does DMARC stop all spoofing?

It stops forged mail that uses your exact domain when you enforce it. It does not stop lookalike domains, display-name tricks or compromised accounts.

How can I tell whether an email is spoofed?

Check the full sender address, authentication results in the headers, Reply-To, links and unusual requests.

Is SPF alone enough?

No. SPF checks the envelope sender and breaks on forwarding. DMARC with DKIM and aligned SPF protects the visible From domain.

What should I do if my domain is being spoofed?

Move DMARC to enforcement after fixing legitimate senders, read the reports, protect unused domains and warn customers through official channels.

Topics#spoofing#phishing#dmarc#spf#dkim
Was this guide helpful?Your answer helps us improve our documentation.

Start sending in minutes.

Create an account, add your domain and send your first email.

Get started Talk to sales