Home/Email Deliverability
Email Deliverability

How to Fix Email Authentication Failed (SPF, DKIM, DMARC)

SPF, DKIM, and DMARC errors explained - and fixed, step by step.

Quick Diagnostic
Is Your Email Authentication Broken?
Check every symptom you're experiencing. Get an instant diagnosis and the exact fix to apply.
Bounce says "spf=fail" or "550 SPF"
You added a new sending tool and never updated your SPF record
SPF
Getting "spf=permerror" in bounce headers
Too many include: lookups - the 10-lookup limit is exceeded
SPF
Bounce says "dkim=fail" or no DKIM signature found
The most common gap - DKIM is never enabled by default, you have to turn it on
DKIM
Using a cold email tool or CRM to send (Instantly, Smartlead, etc.)
Third-party senders may sign with their own domain, breaking DMARC alignment
DKIM
Set DMARC to p=reject or p=quarantine right away
Jumping to a strict policy before auditing all sending sources blocks legitimate mail
DMARC
No DMARC record exists for my domain
Without DMARC, you're blind to authentication failures and vulnerable to spoofing
DMARC
iPhone Mail / Apple Mail / Outlook shows "Authentication Failed"
The app can't log in to the mail server - this is not a DNS problem
Client
Cold email tool says "SMTP authentication failed" on connect
Login credentials or port settings for outgoing mail are wrong
SMTP
Authentication looks correct but emails still land in spam
Your sending IP may be blacklisted or your domain hasn't been warmed up
IP/Rep

0
-
-

Why "Email Authentication Failed" Is Killing Your Outreach

You wrote a solid email. You built a tight list. You hit send - and half of it bounced with some variation of "authentication failed" or "message rejected due to policy violation."

That's not a content problem. That's an infrastructure problem. And it's completely fixable if you know what you're actually looking at.

Email authentication is a trio of DNS records - SPF, DKIM, and DMARC - that tell receiving mail servers whether your domain is who it says it is. When any of them is missing, misconfigured, or misaligned, your emails either bounce outright or get routed directly to spam. Gmail, Yahoo, and Microsoft all enforce these standards now. There's no workaround. You have to get this right.

The stakes are real: fully authenticated domains achieve roughly 2-3x higher inbox placement than unauthenticated ones. That gap is the difference between a campaign that generates pipeline and one that generates nothing. This guide walks through every common failure mode and exactly how to fix each one. I've set this up across dozens of sending domains running cold outreach at scale. Let's go through it the way I'd actually debug it.

Step 1: Read the Bounce Message (Most People Skip This)

Before you touch any DNS record, read the actual bounce or error message. Your email provider's logs or the NDR (non-delivery receipt) will usually tell you which check failed. Look for lines like:

Each failure mode has a different fix. Don't guess - read the header first. In Gmail, you can view full headers by clicking the three-dot menu and selecting "Show original." In Outlook, go to File, then Properties, then Internet headers.

How to Fix SPF Authentication Failed

SPF (Sender Policy Framework) is essentially a guest list for your domain. It tells receiving servers: "Only these IP addresses and services are allowed to send email using my domain." If your sending tool's IP isn't on that list, you get spf=fail.

Common SPF Failure Causes

How to Fix It

First, go to MXToolbox (mxtoolbox.com/spf.aspx) and run your domain. It'll show you your current record and flag any errors instantly.

Your SPF record lives in your DNS as a TXT record and looks something like this:

v=spf1 include:_spf.google.com include:sendgrid.net include:servers.mcsv.net ~all

The include: tags add authorized senders. The ~all at the end means "soft fail anything not on this list" - most setups use this. -all is a hard fail. Make a comprehensive list of every service that sends email on your behalf - your primary email provider, your CRM, your cold email platform - and add each one with its proper include: tag.

If you're over 10 DNS lookups, use SPF flattening. Tools like Dmarcian's SPF Surveyor will flatten your record into direct IP ranges so you don't exceed the limit.

Tools like Instantly and Smartlead will flag SPF errors during setup, which saves you the debugging headache later. If you're setting up new sending infrastructure, check out the Cold Email Tech Stack guide - it covers the full setup I use.

Free Download: Email Verification Guide

Drop your email and get instant access.

By entering your email you agree to receive daily emails from Alex Berman and can unsubscribe at any time.

You're in! Here's your download:

Access Now →

How to Fix DKIM Authentication Failed

DKIM (DomainKeys Identified Mail) adds a cryptographic signature to every outgoing email. The receiving server checks that signature against a public key stored in your DNS. If the key isn't there, or the signature doesn't match, you get dkim=fail.

Here's something most senders miss: DKIM is more commonly absent than DMARC. People set up DMARC and assume they're covered - but never actually enabled DKIM on their sending domain. That's a costly gap. A missing DKIM signature quietly tanks inbox placement across the board.

Common DKIM Failure Causes

How to Fix It

For Google Workspace: Admin Console, then Apps, then Google Workspace, then Gmail, then Authenticate email, then Generate new DKIM key, then add the TXT record to your DNS.

For Microsoft 365: Go to the Microsoft Defender portal, then Email and collaboration, then Policies and rules, then Threat policies, then Email authentication settings, then DKIM, then enable signing for your domain.

For cold email tools, check each platform's documentation for DKIM setup. Most will give you two CNAME records to add to DNS. Once added, verify using MXToolbox's DKIM checker - search for selector._domainkey.yourdomain.com where "selector" is whatever your provider specifies (usually something like "google" or "s1").

If a third-party sender is the culprit, configure them to DKIM-sign using your domain specifically, not their shared domain. This is the cleanest fix.

How to Fix DMARC Authentication Failed

DMARC (Domain-based Message Authentication, Reporting, and Conformance) is the policy layer on top of SPF and DKIM. It instructs receiving servers what to do when those checks fail - deliver, quarantine, or reject. It also enforces alignment, which is where most people get tripped up.

The Alignment Problem (DMARC's Most Misunderstood Rule)

DMARC can fail even when SPF and DKIM both technically pass. Why? DMARC doesn't just check whether SPF or DKIM passed - it also verifies that the authenticated domain aligns with the visible From header domain that recipients actually see. If you're sending from you@yourdomain.com but your cold email tool is signing with its own domain or sending via a different subdomain, DMARC alignment fails even though the individual checks pass.

Fix: Configure your sending tools to DKIM-sign with your actual sending domain. For tools that can't do this natively, consider using a subdomain (e.g., mail.yourdomain.com) with its own DMARC record.

Setting Up a DMARC Record

If you don't have one at all, add a TXT record to your DNS at _dmarc.yourdomain.com. Start here:

v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com; ruf=mailto:dmarc-reports@yourdomain.com; fo=1

The p=none policy means "monitor but don't block anything yet." This lets you receive DMARC aggregate reports - actual data on which emails are passing and failing - without risking legitimate mail getting rejected. Run this for a couple of weeks, analyze the reports, fix any sources that are failing, then graduate to p=quarantine and eventually p=reject.

Don't skip this progression. Jumping straight to p=reject before you've audited all your sending sources will block legitimate mail you didn't even know existed. I've seen this kill entire domains overnight when someone got impatient.

Reading Your DMARC Reports

The reports come as XML files to whatever email address you put in the rua= tag. They're not fun to read raw. Use a free tool like DMARC Analyzer or Dmarcian to parse them into readable dashboards. What you're looking for: any sending source where SPF or DKIM is failing, and whether those failures align with your From domain.

Fixing "Authentication Failed" in Email Clients (iPhone, Outlook, Apple Mail)

Not every "authentication failed" error is a DNS problem. A large chunk of the searches around this term come from people whose iPhone Mail app, Apple Mail on desktop, or Outlook client is throwing an authentication error - which is a completely different issue from SPF/DKIM/DMARC.

When your email client shows "Authentication failed," it means the app tried to log in to your mail server and got rejected. The DNS records on your domain have nothing to do with this. The culprit is almost always one of the following:

App-Specific Passwords (The Most Common Fix)

If you have two-factor authentication (2FA) enabled on Gmail, Google Workspace, Yahoo, or Outlook - and you should - your regular password will not work in third-party mail clients. Gmail, Yahoo, and Outlook all require you to generate a separate app-specific password for clients like Apple Mail or the iPhone Mail app. Your standard login password is actively blocked for these connections when 2FA is on.

To fix it: log in to your email provider's security settings, find the "App Passwords" section, generate a password for your mail client, and enter that instead of your regular password. That's it. This resolves the error in the majority of cases.

Other Email Client Authentication Causes

The quick toggle trick also works surprisingly often on iPhone - go to Settings, then Mail, then Accounts, tap the account in question, toggle Mail off, wait a few seconds, then toggle it back on. It forces a fresh authentication handshake and clears a lot of transient errors.

Need Targeted Leads?

Search unlimited B2B contacts by title, industry, location, and company size. Export to CSV instantly. $149/month, free to try.

Try the Lead Database →

The Forwarding Problem

Email forwarding is a common cause of authentication errors that has nothing to do with your own setup. When an email gets forwarded, the forwarding server's IP replaces the original - so SPF breaks. DKIM can survive forwarding intact, but only if the forwarder doesn't modify the message body (adding footers, changing subject lines, etc.).

If you're seeing authentication failures specifically from forwarded mail, the cleanest solution is ensuring DKIM is properly signed for your domain. A passing DKIM result can carry DMARC on its own, even when SPF breaks due to forwarding.

Fixing SMTP Authentication Errors (Different Problem, Same Symptom)

Sometimes "authentication failed" isn't about DNS records at all - it's about your actual login credentials to your outgoing mail server. This shows up when your cold email tool can't connect to your inbox to send.

Check these first:

Verifying Your Emails Before You Send

Before you scale any cold outreach, make sure your list is clean. Sending to invalid or dead email addresses spikes your bounce rate - and a high bounce rate signals to mail providers that you're a bad sender, which compounds authentication problems with reputation damage on top.

Run your list through an email validator before every campaign. This email validation tool checks addresses for deliverability so you're not burning your domain reputation on dead inboxes. There's also a full walkthrough in the Email Verification Guide if you want to go deeper on the process.

Free Download: Email Verification Guide

Drop your email and get instant access.

By entering your email you agree to receive daily emails from Alex Berman and can unsubscribe at any time.

You're in! Here's your download:

Access Now →

When Everything Looks Right But Still Fails

Sometimes you go through every step - SPF is correct, DKIM is verified, DMARC is configured, alignment checks out - and you're still seeing failures. A few less obvious things to check:

Domain Warmup: The Step After Authentication

Once your SPF, DKIM, and DMARC are all verified and passing, there's one more thing that trips people up: sending volume. Authentication proves your domain is legitimate - it doesn't prove your domain has a sending history. A brand-new domain sending 200 cold emails on day one will get filtered regardless of perfect authentication, because providers interpret high volume with no history as spam behavior.

Warm your domain gradually. Start with low daily sends and ramp up over several weeks. Tools like Smartlead and Instantly both have built-in warmup features that automate this process - they send emails between a network of inboxes that open and reply, simulating real conversation patterns and building sender reputation with providers before you go live with actual prospects.

Authentication is the floor. Warmup builds the reputation on top of it. You need both.

Ongoing Monitoring: Don't Set It and Forget It

Authentication isn't a one-time setup. As you add new tools, change providers, or scale your sending, new failure points appear. Build a simple monitoring routine:

I track all of this alongside campaign performance metrics. If you want a simple way to manage this, the Cold Email Tracking Sheet has columns for deliverability signals alongside your campaign data - it's free.

Need Targeted Leads?

Search unlimited B2B contacts by title, industry, location, and company size. Export to CSV instantly. $149/month, free to try.

Try the Lead Database →

The Bottom Line

Email authentication failed errors are fixable. Every single one of them has a systematic cause and a systematic solution. SPF is a misconfigured guest list - update it. DKIM is a missing or broken signature - enable it and get the keys in DNS. DMARC is a policy problem usually rooted in alignment - configure it progressively and let the reports guide you. And if the error is coming from your email client on your phone or desktop, the fix is almost always an app-specific password or a settings refresh - not a DNS problem at all.

Get all three DNS records right and your emails reach inboxes. Get them wrong and it doesn't matter how good your copy is - nobody will ever read it. Fix the foundation first, then optimize everything else on top of it.

If you want help building the full cold email infrastructure - domains, inboxes, warmup, authentication, and campaign structure - that's exactly what we work through inside Galadon Gold.

Ready to Book More Meetings?

Get the exact scripts, templates, and frameworks Alex uses across all his companies.

By entering your email you agree to receive daily emails from Alex Berman and can unsubscribe at any time.

You're in! Here's your download:

Access Now →