Email Security Best Practices- Beyond Dmarc in 2027

Email Security Best Practices
Email Security Best Practices
By HOC team|Update: November 2026|16 min read

Email Security Best Practices: Beyond DMARC in 2027

Email security best practices start with SPF, DKIM and DMARC, but they cannot stop there. Authentication proves that a message really came from the domain it claims; it does not stop a lookalike domain, a compromised vendor mailbox, a fake invoice sent from a legitimate account, or a QR-code lure that sends the victim to a phone.

The FBI's 2025 Internet Crime Report counted more than one million complaints and $20.877 billion in losses, with business email compromise alone at about $3 billion. This guide covers the full stack: authentication done right, the 2026 DMARC update, sender rules from Gmail, Yahoo and Microsoft, gateways, account security, payment-fraud controls, modern phishing, data protection, and detection and response, with a script that audits your own records.

$20.9B
Reported cybercrime losses in the FBI's 2025 IC3 report, up from $16.6 billion in 2024
$3B
Business email compromise losses in the same report; nearly one-fifth of complaints were phishing or spoofing
62%
Breaches involving the human element in Verizon's 2026 DBIR, with stolen credentials in 39% (via Retarus summary)
Infographic: Email Defense Is Six Layers, Not One Record
1 · Authenticate
SPF, DKIM, DMARC enforcement, MTA-STS, BIMI. Stops exact-domain spoofing.
2 · Filter
Gateway or API-based protection: malware, links, attachments, lookalikes, impersonation, QR codes.
3 · Protect accounts
Phishing-resistant MFA, conditional access, mailbox-rule and OAuth monitoring. Limits damage when a lure works.
4 · Control money
Callback verification and dual approval for payment or bank-detail changes. Beats BEC even when the email is perfect.
5 · Protect data
DLP, enforced TLS, encryption for sensitive mail, external-recipient warnings, retention.
6 · Detect and respond
One-click reporting, post-delivery removal, playbooks and metrics. Assumes some mail will always get through.
📝 About the data: The FBI IC3 figures are from SecurityWeek's coverage of the 2025 report. Verizon DBIR 2026 figures are from a Retarus summary and should be checked against the original report. The DMARC specification details are from dmarc.org's May 2026 announcement, and Microsoft's sender rules are from its Exchange Team blog. Gmail and Yahoo requirements are described from general knowledge. Scores and thresholds in the examples are illustrative.
1. Why Email Is Still the Front Door

Email reaches every employee, carries links and files, and connects to money and identity. That is why it stays a favorite attack channel. The 2025 IC3 report, as covered by SecurityWeek, logged 1,008,597 complaints and $20.877 billion in losses, up from $16.6 billion the year before, with nearly one-fifth of complaints involving phishing or spoofing and business email compromise at $3 billion.

Verizon's 2026 DBIR, as summarized by Retarus, found the human element in 62% of breaches, social engineering in 16%, and stolen credentials in 39%. It also reported that voice and text social engineering succeeded about 40% more often than classic email phishing, so attackers are moving across channels, not away from email.

💡 Think in outcomes, not tools. Email attackers want three things: your credentials, your money, and a foothold. Every control below breaks one of those outcomes. If you cannot say which outcome a control blocks, it may be shelfware.
2. What DMARC Does, and What It Cannot Do

DMARC lets a domain owner say how receivers should treat mail that claims to be from that domain but fails authentication and alignment. At p=reject it is the strongest protection against exact-domain spoofing, such as someone sending as ceo@yourcompany.com from their own server. It is essential, but it is a narrow control.

Infographic: What DMARC Covers and What It Misses
✅ Stopped by DMARC enforcement
Exact-domain spoofing of your domain
Spoofed subdomains (with subdomain policy)
Unauthorized third-party senders using your name
❌ Not stopped by DMARC
Lookalike domains (yourcompany-pay.com)
Display-name tricks ("Jane CFO" from a free mailbox)
Compromised legitimate accounts, internal or at a vendor
Malicious links and attachments from authenticated senders
Phishing through legitimate services and shared documents
The 2026 DMARC Update

On May 20, 2026 the RFC Editor published the updated specification as RFC 9989 (core protocol), RFC 9990 (aggregate reporting) and RFC 9991 (failure reporting), moving DMARC onto the IETF Standards Track, according to dmarc.org. Highlights include:

ChangeWhat It Means for You
DNS Tree Walk and Public Suffix Domains replace the Public Suffix ListPolicy discovery for organizational domains no longer relies on an external list
np= tag addedSet a separate policy for non-existent subdomains, closing a spoofing gap
pct=, rf= and ri= tags deprecatedStop relying on percentage rollouts; plan staged enforcement by domain or subdomain instead
psd= tag brought in from RFC 9091Relevant mainly to public suffix operators
DMARC SPF check uses only the MAIL FROM address, no HELO fallbackMake sure your envelope sender domain is correct and aligned
Expanded guidance on personal information in reportsReview who receives your failure reports and how they are stored

Existing DMARC records keep working, but check your tooling and report processors for support of the new tags and behaviors.

3. Authentication Done Right, With Code
ControlBest PracticeCommon Mistake
SPFList only real senders; end with -all once sources are known; stay within 10 DNS lookups; publish v=spf1 -all on domains that never send mailToo many include: entries causing a permerror; +all or ?all
DKIM2048-bit keys, a separate selector per sending service, scheduled rotation, signing at every legitimate senderOld 1024-bit keys; shared keys across vendors; never rotated
DMARCStart at p=none with reporting, fix senders, move to quarantine and then reject; set sp and np; monitor rua reportsStaying at p=none forever; ignoring parked domains
MTA-STS and TLS-RPTForce TLS for inbound mail to your domain and receive failure reports (RFC 8461 and RFC 8460)Publishing a policy in testing mode and never enforcing it
DANE for SMTPWhere your DNS supports DNSSEC, bind TLS certificates to DNS (RFC 7672)Enabling without DNSSEC operational maturity
BIMIDisplay your brand logo in supporting inboxes once DMARC is enforcedTreating it as a security control; it is a trust signal built on DMARC
ARCPreserves authentication results through forwarding and mailing lists (RFC 8617)Expecting it to fix legitimate forwarding failures by itself
Infographic: The Road to DMARC p=reject
1 · MONITOR
Publish p=none with rua; collect reports for 2 to 4 weeks
2 · DISCOVER
List every legitimate sender, including SaaS and marketing tools
3 · FIX
Add SPF and DKIM alignment for each sender, retire unknowns
4 · QUARANTINE
Enforce on low-risk domains and subdomains first
5 · REJECT
Move to p=reject with sp and np; keep reviewing reports
Audit Your Own Records

The script below grades SPF, DKIM and DMARC settings for a list of domains and explains each finding: permissive SPF endings, lookups over the limit of 10, monitoring-only DMARC, deprecated pct use, missing reporting addresses and weak DKIM keys. The records are synthetic examples, so feed it real DNS exports. The scoring weights are illustrative. The output is the real output of the code.

# email_auth_audit.py: grade SPF, DKIM and DMARC settings for a list of domains.
# Records below are synthetic examples; feed it real TXT records from DNS exports.
import re

DOMAINS = {
    "example-corp.com": {
        "spf": "v=spf1 include:_spf.google.com include:mailgun.org include:sendgrid.net include:spf.protection.outlook.com include:salesforce.com include:zendesk.com include:servers.mcsv.net include:amazonses.com include:mail.zendesk.com include:_spf.hubspot.com include:spf.mandrillapp.com ~all",
        "dmarc": "v=DMARC1; p=none; rua=mailto:dmarc@example-corp.com",
        "dkim_bits": 1024},
    "example-shop.com": {
        "spf": "v=spf1 include:_spf.google.com -all",
        "dmarc": "v=DMARC1; p=quarantine; pct=25; rua=mailto:dmarc@example-shop.com",
        "dkim_bits": 2048},
    "example-bank.com": {
        "spf": "v=spf1 ip4:203.0.113.0/24 include:_spf.google.com -all",
        "dmarc": "v=DMARC1; p=reject; sp=reject; np=reject; rua=mailto:agg@example-bank.com; ruf=mailto:fr@example-bank.com",
        "dkim_bits": 2048},
    "parked-example.net": {
        "spf": "",
        "dmarc": "",
        "dkim_bits": None},
    "example-legacy.org": {
        "spf": "v=spf1 +all",
        "dmarc": "v=DMARC1; p=none",
        "dkim_bits": 1024},
}

def spf_lookups(spf):
    """Count top-level DNS-lookup mechanisms (limit is 10). Real totals are higher because
    each include expands into its own lookups; resolve the tree with a full SPF checker."""
    return len(re.findall(r"\b(include:|a\b|mx\b|ptr\b|exists:|redirect=)", spf))

def parse_dmarc(txt):
    return {k.strip(): v.strip() for k, v in (p.split("=", 1) for p in txt.split(";") if "=" in p)}

def audit(name, cfg):
    issues, score = [], 100
    spf = cfg["spf"]
    if not spf:
        issues.append("no SPF record (publish v=spf1 -all for non-sending domains)"); score -= 25
    else:
        if "+all" in spf or " ?all" in spf:
            issues.append("SPF ends in a permissive all, anyone can pass"); score -= 35
        elif "~all" in spf:
            issues.append("SPF softfail (~all); move to -all once sources are known"); score -= 5
        n = spf_lookups(spf)
        if n > 10:
            issues.append(f"SPF needs {n} DNS lookups, over the limit of 10 (permerror)"); score -= 25
    d = parse_dmarc(cfg["dmarc"]) if cfg["dmarc"] else {}
    if not d:
        issues.append("no DMARC record"); score -= 30
    else:
        policy = d.get("p", "none")
        if policy == "none":
            issues.append("DMARC p=none: monitoring only, spoofed mail is still delivered"); score -= 20
        elif policy == "quarantine":
            issues.append("DMARC p=quarantine: plan the move to reject"); score -= 8
        if "pct" in d and d["pct"] != "100":
            issues.append(f"pct={d['pct']} is deprecated in the 2026 DMARC spec and leaves most mail unenforced"); score -= 8
        if "rua" not in d:
            issues.append("no aggregate reporting address (rua)"); score -= 10
        if policy == "reject" and "np" not in d:
            issues.append("consider np=reject to cover non-existent subdomains"); score -= 2
    bits = cfg["dkim_bits"]
    if bits is None:
        issues.append("no DKIM key found"); score -= 10
    elif bits < 2048:
        issues.append(f"DKIM key is {bits} bits; rotate to 2048"); score -= 8
    return max(score, 0), issues

if __name__ == "__main__":
    for name, cfg in DOMAINS.items():
        s, issues = audit(name, cfg)
        grade = "A" if s >= 90 else "B" if s >= 75 else "C" if s >= 55 else "D" if s >= 35 else "F"
        print(f"{name:22} score {s:3}  grade {grade}  (SPF lookups: {spf_lookups(cfg['spf'])})")
        for i in issues:
            print(f"    - {i}")

Output:

example-corp.com       score  42  grade D  (SPF lookups: 11)
    - SPF softfail (~all); move to -all once sources are known
    - SPF needs 11 DNS lookups, over the limit of 10 (permerror)
    - DMARC p=none: monitoring only, spoofed mail is still delivered
    - DKIM key is 1024 bits; rotate to 2048
example-shop.com       score  84  grade B  (SPF lookups: 1)
    - DMARC p=quarantine: plan the move to reject
    - pct=25 is deprecated in the 2026 DMARC spec and leaves most mail unenforced
example-bank.com       score 100  grade A  (SPF lookups: 1)
parked-example.net     score  35  grade D  (SPF lookups: 0)
    - no SPF record (publish v=spf1 -all for non-sending domains)
    - no DMARC record
    - no DKIM key found

Notice the parked domain: it has no records at all. Domains you own but do not use for email are a favorite spoofing target and deserve a deny-all SPF record and a p=reject DMARC policy. Also note that the script counts only top-level lookups, so a real SPF checker will often find a higher total once includes expand.

4. Sender Requirements: Gmail, Yahoo and Microsoft

Major mailbox providers now enforce authentication on high-volume senders, so authentication is also a deliverability requirement.

ProviderWho It Applies ToRequirementsEnforcement
Gmail and Yahoo (from February 2024, general knowledge)Bulk senders of more than about 5,000 messages per day to their users; basic rules apply to all sendersSPF and DKIM, a DMARC record (at least p=none) aligned with From, one-click unsubscribe for marketing mail, low spam-complaint rates, valid DNS and TLSProgressive rejection of non-compliant bulk mail
Microsoft Outlook.com, Hotmail, Live (verified)Domains sending more than 5,000 emails per day to Outlook.com consumer domainsSPF and DKIM must pass; DMARC policy of at least p=none and aligned with SPF or DKIMFrom May 5, 2025, non-compliant messages are rejected with error 550 5.7.515
⚠️ Meeting the minimum is not the same as being protected. Providers accept p=none for deliverability. For protection against spoofing of your brand, target enforcement at quarantine or reject.
5. Gateways, Filtering and Post-Delivery Protection

Authentication tells you who sent a message; filtering tells you whether it is safe. Modern protection comes in three common forms, and many organizations use more than one.

ApproachHow It WorksStrengthsTrade-offs
Secure email gateway (SEG)MX records point to the gateway, which scans mail before deliveryPre-delivery blocking, mature policy controlsMX change; can miss internal and account-takeover mail
Native platform securityBuilt-in protections in Microsoft 365 or Google WorkspaceEasy to turn on, no extra routingNeeds careful tuning and higher license tiers for advanced features
API-based or integrated protectionConnects to the mailbox via API and scans delivered mailSees internal mail, post-delivery removal, behavior analysisMay act after delivery; depends on provider API access
Capabilities to Require
✓
Link protection: rewrite or scan at click time, since links change after delivery
✓
Attachment sandboxing: detonate files and handle password-protected archives and HTML attachments
✓
Impersonation and lookalike detection: VIP names, vendor domains, newly registered domains
✓
QR-code and image analysis: extract and check URLs embedded in images
✓
Internal and cross-tenant scanning: compromised colleagues and partners send authenticated mail
✓
Post-delivery removal: pull a message from every inbox when it is later found malicious
✓
Open telemetry: logs exportable to your SIEM; see the SOC Setup Guide
6. Protecting Mailboxes and Accounts

When a lure works, the question becomes what the attacker can do next. Strong account controls turn a stolen password into a dead end. Stolen credentials appear in 39% of breaches in the DBIR summary above, so assume some will leak.

ControlWhy It Matters
Phishing-resistant MFA (passkeys, hardware keys) for everyone, mandatory for admins and financeCodes and push approvals can be phished or fatigued; passkeys are bound to the real site
Conditional access and device trustBlocks sign-ins from unmanaged devices and risky locations, limiting token replay
Legacy authentication blockedOld protocols bypass MFA
OAuth app governanceMalicious consent grants give attackers persistent mailbox access without a password
Mailbox rule and forwarding monitoringAttackers hide replies and forward mail; alert on new external forwarding and rules that delete or move messages
Short session lifetimes for sensitive rolesReduces value of stolen session tokens
Impossible-travel and anomalous sign-in alertsEarly detection of takeover

Use the detection ideas from Insider Threat Detection for mailbox-abuse patterns, since a compromised account looks like a trusted insider behaving oddly.

7. Stopping BEC and Payment Fraud

Business email compromise often contains no malware and no bad link, which is why filters struggle. At about $3 billion in reported losses in the 2025 IC3 data, it is where process controls earn their keep. The decisive defense is a rule that no email alone can change where money goes.

Infographic: A BEC Attack and the Control That Breaks Each Step
1. Recon: attacker studies vendors, executives and invoice patterns
→
Control: limit public org detail; domain monitoring
2. Access: phishes a mailbox or registers a lookalike domain
→
Control: phishing-resistant MFA, lookalike detection
3. Hijack: joins a real thread, adds rules, asks to change bank details
→
Control: mailbox-rule alerts, thread-hijack detection
4. Payment: finance sends money to the new account
→
Control: callback to a known number, dual approval
5. Cash-out: funds move on within hours
→
Control: rapid bank recall process, report to law enforcement quickly
Finance Process Rules
  • Any change to bank details requires a callback to a phone number already on file, never the number in the email.
  • Payments above a set threshold need two approvers who did not receive the request through the same thread.
  • New vendors are verified through procurement, not through the requester.
  • Executives never authorize urgent payments by email alone; a known second channel is required.
  • Finance has a one-page runbook for contacting the bank to recall funds, with phone numbers kept offline.

Treat third-party mailboxes as part of your risk surface, as covered in Third-Party Risk Management, since a vendor's compromised account can send fraud that passes every authentication check.

8. Modern Phishing: QR Codes, AI and Beyond

Attackers adapt to filters. Expect these patterns and map each to a defense.

Infographic: Which Layer Stops Which Attack?
AttackDMARCFilteringMFA and accountsPayment rulesReporting and response
Exact-domain spoofing●○○○○
Lookalike domain○●○●◑
Credential phishing link○●●○●
Compromised vendor mailbox○◑◑●●
Fake invoice, no link or file○◑○●●
QR code in an image○●◑○●
● strong control   ◑ partial   ○ little or none. A qualitative guide: no single layer covers every row.
TechniqueHow It WorksDefense
QR-code phishing ("quishing")The malicious link is inside an image, so text scanners miss it and the victim scans with an unmanaged phoneImage and QR extraction in filtering; policy on QR codes in mail; mobile-device protection
AI-written luresFluent, personalized messages without the typos older training taught people to spotTeach verification of requests, not grammar checking; behavioral detection
Adversary-in-the-middle kitsFake login page proxies the real one and steals the session after MFAPasskeys and hardware keys, device-bound sessions, conditional access
Phishing through legitimate servicesShared-document and invoice notifications sent from real platforms pass authenticationClick-time URL analysis, brand-abuse detection, user reporting
HTML and archive attachmentsLocal HTML forms or password-protected files evade scanningBlock or sandbox risky types; disable macros and script hosts
Voice and SMS follow-upsEmail starts the story, a phone call or text completes it; Retarus' DBIR summary reports mobile social engineering about 40% more successful than email phishingCall-back rules, help-desk identity verification, one reporting path for all channels
9. Data Protection, Encryption and Policy
ControlPractice
Email DLPDetect sensitive data (customer, health, payment, source code) in outbound mail and attachments; start in monitor mode, then block or require justification
Transport encryptionEnforce TLS for partner domains; publish MTA-STS; reject downgrade
Message-level encryptionUse S/MIME or provider encryption for regulated or confidential mail; avoid sending secrets by plain email
External-recipient warningsBanners on first-contact and external senders; prompts when sending to unusual domains
Auto-forwarding limitsBlock automatic forwarding to external addresses unless approved
Retention and eDiscoveryKeep what law and business require, delete the rest; mailboxes are a prized data store for attackers
Shared and service mailboxesRemove passwords, enforce MFA or modern auth, review owners quarterly

For long-lived confidential mail, remember that recorded traffic can be decrypted later; see Post-Quantum Cryptography for planning.

10. Detection, Response, People and a 90-Day Plan

Some mail will get through, so the last layer is how quickly you notice and clean up. Speed matters because one malicious message can sit in hundreds of inboxes.

Infographic: Phishing Response in Five Steps
1 · REPORT
User clicks a report button; message lands in the SOC queue
2 · TRIAGE
Auto-analyze links and files; classify as spam, phish or safe
3 · SCOPE
Find every recipient and every person who clicked or replied
4 · CONTAIN
Purge messages, block sender and URLs, reset affected sessions
5 · LEARN
Tune filters, send feedback to the reporter, update training
Make Reporting Easy and Safe
  • Install a one-click report button in every mail client, including mobile.
  • Give a fast reply to reporters, even a short "thanks, it was real" message; it rewards the behavior.
  • Never punish people who click and report quickly; punish concealment, not mistakes.
  • Run simulations that teach, such as QR and voice scenarios, and measure report rate and time to report instead of click rate alone.
  • Give finance, executive assistants and IT help desk extra training, since they are targeted most.
Metrics That Prove It Works
KPIFormulaIllustrative Target
DMARC enforcement coverageDomains at quarantine or reject divided by all owned domains100% of sending domains; parked domains at reject
Phishing report rateSimulated phish reported divided by delivered50% or higher
Median time to reportDelivery to first user reportUnder 10 minutes
Median time to remediateFirst report to message removed from all inboxesUnder 1 hour
Phishing-resistant MFA coverageUsers on passkeys or hardware keys divided by total usersAdmins and finance 100%
Payment-change verification rateBank-detail changes verified by callback divided by all changes100%

Put the top few on the executive scorecard described in Cybersecurity Metrics: KPIs Every CISO Should Track.

90-Day Plan
Days 1 to 30
Fix the foundations
Inventory all domains and senders. Run the authentication audit, set deny-all records on parked domains, rotate weak DKIM keys, and start DMARC reporting. Turn on legacy-auth blocking and external-forwarding alerts.
Days 31 to 60
Enforce and harden accounts
Move primary domains to quarantine, then reject. Roll out passkeys to admins and finance, review OAuth consents, enable QR and image scanning, and write the bank-change callback rule.
Days 61 to 90
Detect, respond and prove
Deploy the report button, build the post-delivery removal playbook, run a BEC tabletop with finance, publish the first KPI set, and schedule a quarterly review of senders, rules and vendors.
Pre-Launch Checklist
✓
Every owned domain has SPF, DKIM where it sends, and a DMARC policy; parked domains are at reject
✓
Primary domains enforce quarantine or reject with subdomain and non-existent-subdomain policies
✓
Filtering covers links, attachments, QR codes, lookalikes and internal mail, with post-delivery removal
✓
Phishing-resistant MFA for admins and finance; legacy auth blocked; OAuth consents reviewed
✓
A callback and dual-approval rule governs every payment or bank-detail change
✓
A report button, a playbook and measured response times exist
✓
DLP, TLS enforcement and forwarding limits are configured and reviewed
11. Frequently Asked Questions
What are the most important email security best practices?
Enforce SPF, DKIM and DMARC at quarantine or reject, add filtering that scans links, attachments and QR codes, protect accounts with phishing-resistant MFA, require callback verification for payment changes, apply DLP and enforced TLS, and give users a one-click way to report suspicious mail backed by fast post-delivery removal.
Is DMARC enough to stop phishing?
No. DMARC at enforcement stops exact-domain spoofing of your own domain, but it does not stop lookalike domains, display-name impersonation, compromised legitimate accounts, or malicious content sent from authenticated senders. It is one essential layer among several.
What changed in the 2026 DMARC specification?
According to dmarc.org, RFC 9989, 9990 and 9991 were published on May 20, 2026, moving DMARC to the IETF Standards Track. The update replaces the Public Suffix List with a DNS Tree Walk, adds the np tag for non-existent subdomains, deprecates the pct, rf and ri tags, and limits the SPF check to the MAIL FROM address.
What does Microsoft require from bulk senders?
For domains sending more than 5,000 emails per day to Outlook.com consumer domains, SPF and DKIM must pass and DMARC must be published with at least p=none and aligned with SPF or DKIM. Since May 5, 2025 Microsoft rejects non-compliant messages with error 550 5.7.515.
How do you protect against business email compromise?
Combine technical and process controls: phishing-resistant MFA, lookalike and thread-hijack detection, mailbox-rule monitoring, and finance rules that require a callback to a known number and dual approval for any payment or bank-detail change. The process rules work even when the fraudulent email is flawless.
How long does it take to reach DMARC p=reject?
Simple environments with few senders can move in weeks. Organizations with many SaaS and marketing platforms often need several months to find senders, fix alignment and move from p=none to quarantine and reject. Use aggregate reports to find legitimate senders before enforcing, and start with parked and low-risk domains.
HOC
HackersOnlineClub Editorial Team
The HackersOnlineClub team covers offensive security, detection engineering, security leadership and adversarial research, with practical guides for practitioners and decision-makers. Thresholds and scores in this guide are illustrative; verify provider requirements against current documentation.

Join Our Club

Enter your Email address to receive notifications | Join over Million Followers

Previous Article
1Password GitHub Breach Alert

1Password Hacked - Are You Currently User What To Do?

Related Posts