Email security

Email Security: SPF, DKIM & DMARC Explained (Plus Phishing Defense)

Email is still the way most attacks arrive — and the way most domains get impersonated. This guide covers the authentication that stops spoofing and the habits that stop phishing.

Cysoro Security TeamPublished · 8 min read
SPF ✓ DKIM ✓ DMARC ✓p=reject — spoofing blocked ✕Phishing blocked EMAIL SECURITY Email security Stop spoofing & phishing at the door.
Quick answer

Email security is the set of controls that keeps email trustworthy: SPF, DKIM and DMARC prove a message really came from your domain, TLS encrypts it in transit, MFA and phishing-resistant sign-in protect the mailbox, and training plus verification processes stop the social-engineering attacks that technology alone cannot catch.

Key takeaways

  • SPF, DKIM and DMARC together stop attackers from sending email as your domain — DMARC at p=reject is the goal.
  • Phishing and spoofing were the most-reported US internet crime in 2025, with 191,561 complaints (FBI IC3).
  • No single control is enough: combine authentication, MFA, filtering, verification rules and reporting.

Email is still how most attacks arrive. A single message can empty a bank account, install ransomware or hand an attacker the keys to your whole business — and it usually looks like ordinary work. Email security is the set of controls that makes that harder: authentication that proves who sent a message, encryption that protects it in transit, and habits that catch the attacks technology misses.

What is email security?

Email security is the combination of technology and process that protects email from phishing, spoofing, malware and data theft. It has two halves that are often confused: protecting your domain so nobody can send email pretending to be you, and protecting your inbox so malicious email never reaches you or your staff.

The scale of the problem is large. The FBI's Internet Crime Complaint Center received 191,561 phishing and spoofing complaints in 2025, making it the most-reported internet crime in the US, and business email compromise — the money-focused form of phishing — caused about $3.05 billion in reported losses that year. Those figures count reported cases only, so the real numbers are higher.

What are the main email security threats?

Most email attacks fall into a few patterns. Knowing them helps you see which control stops which attack, because no single control stops them all.

  • Phishing: bulk messages that impersonate a bank, a delivery company or a service, linking to a fake login page that steals passwords.
  • Spear phishing and BEC: targeted messages aimed at one person, often impersonating a boss or supplier to trigger a wire transfer or a bank-detail change. Our guide to what spear phishing is covers this in depth.
  • Spoofing: sending email with a forged From address so it looks like it came from your domain, a supplier or a colleague.
  • Malware attachments: documents, archives and HTML files that install malware when opened, often disguised as an invoice or a CV.
  • Account takeover: a stolen password lets an attacker read the mailbox, set up forwarding rules, and send phishing from a genuine account.
  • Look-alike domains: domains such as acme-corp.co instead of acmecorp.com, used to make a fake sender look real.

How do SPF, DKIM and DMARC work?

SPF, DKIM and DMARC are the three DNS-based protocols that prove mail claiming to come from your domain is legitimate. They work as a set: each one closes a gap the others leave open.

SPF + DKIM + DMARC: three checks, one verdict SPFIs this server allowedto send for this domain?Checks the sending IPRFC 7208 DKIMWas this message alteredin transit?Cryptographic signatureRFC 6376 DMARCDoes it align with thevisible From address?Policy: none / quarantine/ reject — RFC 7489 DMARC is the only one that protects the From address your staff actually see.SPF and DKIM alone do not stop spoofing of the visible From header.
SPF checks the sender, DKIM checks the content, DMARC enforces the policy. Illustration by Cysoro.

SPF (Sender Policy Framework) publishes a DNS record listing the servers allowed to send mail for your domain. When a message arrives, the receiver checks whether the sending server's IP is on the list. SPF only checks the envelope sender, not the address your staff see, so on its own it does not stop spoofing.

DKIM (DomainKeys Identified Mail) adds a cryptographic signature to each message. The receiver verifies the signature against a public key published in your DNS, proving the message was not altered in transit. DKIM does not say whether the signing domain matches the visible From address, so it also needs DMARC.

DMARC (Domain-based Message Authentication, Reporting and Conformance) ties the two together. It requires SPF or DKIM to pass and align with the visible From domain.

DMARC tells receivers what to do with mail that fails: nothing (p=none), send it to spam (p=quarantine), or reject it outright (p=reject). CISA recommends federal agencies reach p=reject, and it is the right goal for any business domain.

How do I set up DMARC safely?

Jumping straight to p=reject can silently break legitimate mail from services that send on your behalf — marketing tools, invoicing systems, helpdesks. The safe path is gradual, and it starts with visibility.

  1. Publish SPF. List every service that sends mail for your domain, including your mail provider and any third-party senders. Keep one SPF record per domain and stay under the 10 DNS-lookup limit in RFC 7208.
  2. Enable DKIM. Turn on signing at your mail provider and publish the public key in DNS. Use a 2048-bit key and rotate it every 6 to 12 months.
  3. Publish DMARC at p=none with reporting. Add a DMARC record with p=none and a rua address to receive aggregate reports. Watch the reports for a few weeks to find every legitimate sender.
  4. Move to p=quarantine. Once the reports show only legitimate mail passing, tighten the policy so failing mail goes to spam.
  5. Move to p=reject. The strongest protection: unauthenticated mail is rejected at the server, before delivery. Keep monitoring the reports.

Our guide to what DMARC is and how to set it up walks through each step in detail.

You can check your own domain's current state in seconds with our free DMARC checker.

The SPF checker covers the sender record.

The DKIM checker covers the signing key.

What about encryption in transit?

Encryption and authentication solve different problems. STARTTLS encrypts a message as it travels between mail servers, protecting it from passive eavesdropping, but it does not verify who sent it. CISA's guidance recommends enabling STARTTLS and disabling weak encryption standards for both web and email.

For sensitive messages, opportunistic TLS is not enough: it encrypts when the other side supports it and falls back to plain text when it does not. If you need guaranteed encryption, use enforced TLS for specific partners, or end-to-end encryption such as S/MIME or PGP for messages whose contents must stay private even from the mail providers themselves.

How do I secure the mailbox itself?

Authentication protects your domain; the mailbox still needs its own defenses, because a hacked mailbox sends phishing from a genuine account that DMARC cannot stop.

  • Turn on MFA everywhere. Every mailbox should require a second factor. Prefer phishing-resistant MFA — passkeys or FIDO2 security keys — because one-time codes can be phished. See our guide to what single sign-on is for how central MFA works across apps.
  • Use unique, strong passwords. A password manager generates and stores one per account, and it will not autofill on a fake login page.
  • Watch for forwarding rules. Attackers who get into a mailbox often add a rule that forwards or hides mail. Check mail rules after any suspicious sign-in.
  • Review connected apps and devices. Revoke old app passwords and sessions you do not recognize.
  • Enable sign-in alerts. A notification for sign-ins from new locations or devices catches account takeover early.

How do you spot a phishing email?

Technical filters catch most phishing, but the messages that get through are the ones that look like real work. The checks below take seconds and catch most of them.

Five checks before you trust an email 1Sender domainCheck the address,not the displayname 2Urgency?"Today", "now","before 3 pm"— slow down 3Money or login?Verify by phoneon a knownnumber 4Hover the linkDoes the real URLmatch the text?Type it yourself 5Attachment?Unexpected file= do not open One flag may be innocent. Two or more together is the signature of a phishing attempt.
Five quick checks that catch most phishing emails. Illustration by Cysoro.
  1. Check the sender domain, not the display name. A display name of "David Chen, CFO" means nothing if the address is d.chen@northwind-group.co instead of northwindgroup.com.
  2. Watch for urgency and secrecy. Deadlines and "don't tell anyone" are designed to stop you thinking and checking.
  3. Verify money requests out of band. Any new payee, changed bank details or urgent transfer needs a call-back to a number you already know — never the number in the message.
  4. Hover before you click. The link text can say anything; the real destination shows when you hover. Better still, type the address yourself or use a bookmark.
  5. Treat unexpected attachments with suspicion. Invoices, CVs and "enable content" documents are the classic malware carriers.

Not sure about a message you received? Paste its headers into our free email header analyzer to see the real sending server and whether SPF, DKIM and DMARC passed.

You can also test your instincts with our free phishing quiz.

Email security checklist for a small business

Work through this list once, then review it twice a year. It covers the controls that stop the majority of email attacks.

ControlWhat good looks likePriority
SPF, DKIM, DMARCAll three published; DMARC at p=rejectHigh
MFA on mailboxesPhishing-resistant MFA for all users, especially adminsHigh
Payment verification ruleCall-back to a known number for every payment or bank-detail changeHigh
Spam and malware filteringProvider filtering on, attachments scanned, links rewritten or checkedHigh
External sender bannersMail from outside the company is clearly taggedMedium
Look-alike domain monitoringNewly registered domains resembling yours are watched and blockedMedium
Reporting buttonOne-click "report phishing" in every mailbox, and reports are actually reviewedMedium
TrainingShort, realistic exercises little and often, not a yearly lectureMedium
Leaver processMailbox disabled and forwarding checked the day someone leavesMedium

What should you do if you clicked a phishing link?

Act within minutes. Speed matters more than embarrassment, and attackers count on victims staying quiet.

  1. If you entered a password: change it from a trusted device, sign out of all sessions, and check for new mail-forwarding rules and unknown MFA devices.
  2. If you sent money: call your bank's fraud line immediately and ask for a recall, then file a report at ic3.gov.
  3. If you opened an attachment: disconnect the device from the network and contact IT before doing anything else.
  4. Tell your IT or security team, even if nothing seemed to happen — others probably received the same message.
  5. Report the message with your mail client's report-phishing button, and forward phishing to reportphishing@apwg.org.
Check for reused passwordsIf the stolen password was used anywhere else, change it there too. You can safely test whether a password already appears in known breaches with our pwned password checker.

The bottom line

Email security is layers: SPF, DKIM and DMARC stop attackers from sending as your domain; MFA and phishing-resistant sign-in protect the mailbox; filtering and verification rules catch what slips through. No single layer is enough on its own, but together they stop the large majority of email attacks.

Start with the domain: publish SPF and DKIM, move DMARC to p=reject, and check your progress with our free email security score tool. Then protect the mailbox with MFA, and make "call to confirm" the rule for every payment change. That combination is what turns email from your biggest risk into a routine, trustworthy channel.

Frequently asked questions

What is email security?

Email security is the combination of technology and process that protects email from phishing, spoofing, malware and data theft. It includes authentication protocols (SPF, DKIM, DMARC), encryption in transit, spam and malware filtering, MFA on mailboxes, and user training.

What is the difference between SPF, DKIM and DMARC?

SPF lists which servers may send mail for your domain. DKIM adds a cryptographic signature proving the message was not altered. DMARC ties them together, requires alignment with the visible From address, and tells receivers what to do with mail that fails — none, quarantine or reject.

What DMARC policy should I use?

Start at p=none to collect reports and find legitimate senders, move to p=quarantine once you are confident, and finish at p=reject, which is the strongest protection. CISA recommends federal agencies reach p=reject, and it is the right goal for any business domain.

Can DMARC stop all phishing?

No. DMARC at p=reject stops attackers from using your exact domain, but it cannot stop look-alike domains, messages from a genuinely hacked account, or phishing sent from an attacker's own domain. It must be combined with MFA, filtering, domain monitoring and verification processes.

How do I know if an email is phishing?

Check the sender domain, not the display name; look for urgency, secrecy and requests to move money or log in; hover over links before clicking; and verify payment or bank-detail requests by calling a known number. When in doubt, do not reply — contact the person through a channel you already trust.

Is email encryption the same as email authentication?

No. Encryption (TLS/STARTTLS) protects a message from being read or altered in transit. Authentication (SPF, DKIM, DMARC) proves who sent it. You need both: an encrypted message from a spoofed sender is still a spoofed message.

What should I do if my email account is hacked?

Change the password from a trusted device, sign out of all sessions, turn on MFA, check for new mail-forwarding rules and unknown devices, and tell your IT team and contacts. Then check whether the same password was used anywhere else and change it there too.

Sources

  1. CISA — Enhance Email & Web Security (CISA Insights)
  2. IETF — RFC 7489: DMARC
  3. IETF — RFC 7208: SPF
  4. IETF — RFC 6376: DKIM
  5. FBI Internet Crime Complaint Center — 2025 IC3 Annual Report
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against CISA email security guidance, RFC 7489 (DMARC), RFC 7208 (SPF), RFC 6376 (DKIM) and the FBI IC3 2025 report.

How we write and fact-check →

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free