Skip to content
GeneralBeginner

Why Emails Go to Spam Despite SPF, DKIM & DMARC: Complete Guide to Email Authentication, Gmail Warnings, and Deliverability Troubleshooting

Email authentication is one of the most important aspects of modern email communication. Whether you are using Google Workspace, Microsoft 365, Zoho Mail, cP...

BI
Bison Technical Team Enterprise IT specialists
Updated 22 Jul 2026 6 min read 0 views

Email authentication is one of the most important aspects of modern email communication. Whether you are using Google Workspace, Microsoft 365, Zoho Mail, cPanel, or any third-party email service, improperly configured authentication records can cause your emails to land in the spam folder instead of the recipient's inbox.

Many administrators assume that simply publishing SPF, DKIM, and DMARC records guarantees inbox delivery. Unfortunately, this is not always true. Even a minor DNS syntax error, an invalid SPF include statement, or a missing DKIM signature can cause Gmail and other email providers to display warnings such as:

Advertisement

"Be careful with this message. This message isn't authenticated and the sender can't be verified."

This article explains how email authentication works, why emails go to spam, how to identify configuration mistakes, and how to fix them.


Understanding Email Authentication

Email authentication helps receiving mail servers verify that an email genuinely originated from the sender's domain and has not been forged by attackers.

Three primary technologies work together:

  • SPF (Sender Policy Framework)
  • DKIM (DomainKeys Identified Mail)
  • DMARC (Domain-based Message Authentication, Reporting & Conformance)

Together they reduce spam, phishing, spoofing, and domain impersonation.


What is SPF?

SPF specifies which mail servers are authorized to send emails on behalf of your domain.

Example:

 
v=spf1 include:_spf.google.com ~all
 

This tells receiving servers that Google's mail servers are permitted to send email for your domain.


Common SPF Mistakes

Incorrect Include Statement

Incorrect:

 
include:_spf.google.com~all
 

Correct:

 
include:_spf.google.com ~all
 

A missing space changes the DNS lookup and makes SPF invalid.


Invisible Characters

Many administrators unknowingly copy DNS records from websites or emails that insert invisible Unicode characters such as:

  • Non-breaking spaces
  • HTML entities
  • Hidden formatting

Example:

 
include:_spf.google.com ~all
 

Although it looks correct visually, DNS interprets it differently, causing SPF lookup failures.


Multiple SPF Records

Wrong:

 
v=spf1 ...
v=spf1 ...
 

Only one SPF TXT record should exist for a domain.


Too Many DNS Lookups

SPF supports a maximum of 10 DNS lookups.

Exceeding this limit causes SPF to fail.


What is DKIM?

DKIM digitally signs outgoing emails using a private key.

The recipient retrieves the corresponding public key from DNS and verifies that:

  • the email hasn't been modified
  • it genuinely originated from your server

Example DNS record:

 
google._domainkey

v=DKIM1;
k=rsa;
p=MIIBIjANBgkq...
 

Benefits of DKIM

  • Prevents email tampering
  • Prevents spoofing
  • Improves sender reputation
  • Helps DMARC pass
  • Improves inbox placement

Common DKIM Issues

  • DKIM not enabled
  • Incorrect selector
  • Truncated public key
  • DNS propagation delay
  • Wrong public key
  • Mail server not signing emails

What is DMARC?

DMARC tells receiving servers what action to take when SPF and DKIM fail.

Example:

 
v=DMARC1;
p=quarantine;
rua=mailto:reports@example.com;
 

Possible policies:

 
none
 

Monitor only

 
quarantine
 

Send suspicious emails to spam

 
reject
 

Reject emails completely


How SPF, DKIM and DMARC Work Together

 
Sender

↓

SPF Check

↓

DKIM Check

↓

DMARC Validation

↓

Inbox or Spam
 

If SPF fails but DKIM passes, DMARC can still succeed.

If both SPF and DKIM fail, DMARC usually fails.


Why Gmail Shows Authentication Warnings

Common warning:

This message isn't authenticated and the sender can't be verified.

Possible reasons include:

  • SPF failed
  • DKIM missing
  • DKIM failed
  • DMARC failed
  • Forwarded email broke SPF
  • Email spoofing suspected
  • Sender reputation is poor

Why Forwarded Emails Often Fail SPF

SPF validates the sending mail server.

When an email is forwarded:

Original Sender

Intermediate Server

Recipient

The forwarding server differs from the authorized SPF server.

As a result:

 
SPF = FAIL
 

However, DKIM usually survives forwarding, allowing DMARC to pass.


Understanding Gmail "Show Original"

Every administrator should examine authentication details using Gmail's Show Original feature.

Typical successful result:

 
SPF: PASS

DKIM: PASS

DMARC: PASS
 

Example of failure:

 
SPF: FAIL

DKIM: NONE

DMARC: FAIL
 

This report immediately identifies which authentication mechanism is failing.


Checking DNS Records

Verify the following DNS records:

SPF

 
v=spf1 include:_spf.google.com ~all
 

DKIM

 
google._domainkey

v=DKIM1;
k=rsa;
p=PublicKey
 

DMARC

 
_dmarc

v=DMARC1;
p=quarantine;
rua=mailto:reports@example.com
 

MX Records

For Google Workspace:

 
ASPMX.L.GOOGLE.COM

ALT1.ASPMX.L.GOOGLE.COM

ALT2.ASPMX.L.GOOGLE.COM

ALT3.ASPMX.L.GOOGLE.COM

ALT4.ASPMX.L.GOOGLE.COM
 

Other Reasons Emails Go to Spam

Even with perfect DNS records, emails may still enter spam because of:

  • Newly created domain
  • Low domain reputation
  • Blacklisted IP address
  • Poor email content
  • Excessive images
  • Too many URLs
  • Suspicious attachments
  • High complaint rate
  • Low recipient engagement
  • Purchased email lists
  • Missing unsubscribe link
  • Sudden increase in sending volume
  • Incorrect reverse DNS
  • Shared hosting reputation
  • Malware-infected server

Best Practices for Maximum Inbox Delivery

✔ Publish only one SPF record

✔ Enable DKIM signing

✔ Publish DMARC

✔ Use HTTPS links

✔ Avoid URL shorteners

✔ Include plain text version

✔ Keep HTML clean

✔ Use proper From address

✔ Warm up new domains gradually

✔ Maintain low bounce rates

✔ Monitor DMARC reports

✔ Authenticate all third-party senders

✔ Keep mailing lists clean

✔ Avoid spam-trigger words


Useful Online Email Authentication Tools

  • Google Admin Toolbox
  • MXToolbox
  • DMARC Analyzer
  • EasyDMARC
  • DNSChecker
  • Google Postmaster Tools
  • Mail Tester
  • GlockApps

Troubleshooting Checklist

✅ SPF syntax valid

✅ Single SPF record

✅ DKIM enabled

✅ Correct DKIM selector

✅ DMARC published

✅ Google MX records correct

✅ Reverse DNS configured

✅ SMTP server trusted

✅ Domain not blacklisted

✅ Email passes Gmail "Show Original"


Final Thoughts

Email authentication is no longer optional. SPF, DKIM, and DMARC are essential components of every business email infrastructure. A small syntax error, an invisible character in a DNS record, or a missing DKIM signature can cause legitimate emails to be flagged as suspicious, reducing communication reliability and damaging your domain's reputation.

By correctly configuring DNS records, validating authentication with tools such as Gmail's Show Original and MXToolbox, and following email best practices, organizations can significantly improve inbox placement and protect their domains from spoofing and phishing attacks.


Frequently Asked Questions (FAQ)

1. Why do my emails go to spam even though SPF, DKIM, and DMARC are configured?

Authentication is only one factor. Sender reputation, email content, IP reputation, forwarding, recipient engagement, and blacklist status also influence inbox placement.

2. Can SPF pass if an email is forwarded?

Usually no. Forwarding changes the sending server, causing SPF to fail. DKIM can still allow DMARC to pass if the signature remains valid.

3. Can I have multiple SPF records?

No. A domain must have only one SPF TXT record.

4. What is the difference between ~all and -all in SPF?

~all is a soft fail, allowing unauthorized senders to be marked suspicious. -all is a hard fail, instructing receivers to reject unauthorized senders.

5. How do I know if DKIM is working?

In Gmail, open the email, select Show Original, and check for DKIM=PASS.

6. What does Gmail's "This message isn't authenticated" warning mean?

It indicates that Gmail could not verify the sender because SPF, DKIM, or DMARC authentication failed or was missing.

7. Why is DMARC important?

DMARC helps protect your domain from spoofing and phishing by defining how receiving servers should handle emails that fail authentication.

8. How long do DNS changes take to propagate?

Most changes propagate within a few minutes to 24 hours, but some DNS providers may take up to 48 hours.

9. Can a valid DMARC record fix SPF issues?

No. DMARC depends on SPF and/or DKIM. If both fail, DMARC will typically fail as well.

10. Which tools can I use to test email authentication?

Popular tools include MXToolbox, Google Admin Toolbox, EasyDMARC, Mail Tester, DNSChecker, Google Postmaster Tools and https://bison.co.in/tools/dnstools/

 

#EmailAuthentication #SPF #DKIM #DMARC #GoogleWorkspace #Gmail #EmailSecurity #EmailDeliverability #SpamFix #DNS #DNSTroubleshooting #MailServer #SMTP #EmailAdmin #GoogleAdmin #MXRecords #DNSRecords #EmailMarketing #CyberSecurity #PhishingProtection #Spoofing #BusinessEmail #GooglePostmaster #MXToolbox #MailTester #EmailInfrastructure #DomainSecurity #CloudEmail #EnterpriseIT #SystemAdministrator #ITSupport #NetworkAdministrator #DNSManagement #EmailTroubleshooting #InboxPlacement #SecureEmail #MailSecurity #GoogleWorkspaceAdmin #Microsoft365 #ZohoMail #cPanel #SMTPRelay #EmailCompliance #DNSLookup #EmailBestPractices #EmailHeaders #ReverseDNS #PTRRecord #TechGuide #BisonInfosolutions

YOUR FEEDBACK

Was this guide useful?

Your answer helps us keep BISONKB accurate and practical.

BISON AI

Ask about “Why Emails Go to Spam Despite SPF, DKIM & DMARC: Complete Guide to Email Authentication, Gmail Warnings, and Deliverability Troubleshooting”

This interface is ready to connect to your preferred AI provider. No article or user data is sent until that service is configured.

THE BISON BRIEF

Practical IT knowledge, once a week.

New troubleshooting guides, scripts and infrastructure notes. No noise.

By subscribing, you agree to our privacy policy.