Emails going to Outlook junk but Gmail is fine: how to fix it
Mail that reaches Gmail but lands in Outlook.com or Hotmail junk is usually failing authentication, sending from a shared domain with a weak reputation, or tripping Microsoft's own filters. Read the message headers first, then publish SPF, DKIM and DMARC on your own domain and check your sending reputation.
Sohail Hussain10 min readShort answer
- Outlook.com and Hotmail want SPF, DKIM and a DMARC record on the domain in your From address, with at least one of SPF or DKIM aligned to that domain. Gmail is more forgiving, so a message can pass there and still fail at Microsoft.
- Open the headers of one junk-filed or bounced message, find which of spf, dkim and dmarc failed or did not align, then fix that record on your own sending domain and send a fresh test.
- If everything passes and you still land in junk, the cause is reputation or content, not authentication.
You send to a mix of addresses. Gmail recipients get the message in the inbox, but Outlook.com, Hotmail or Live recipients find it in Junk, or you get a bounce such as:
550 5.7.1 Message rejected: Message lacks SPF/DKIM/DMARC Auth Records
That wording is not in Microsoft's main error documentation, which describes the closely related 550 5.7.515. People on Microsoft's Q&A forum reported the 5.7.1 variant, with an AS9031519 reference, in large numbers around November 6, 2026. Those reports do not establish an officially announced policy change for every sender. Treat both codes as the same family: Microsoft did not see an authenticated message for your From domain.
Why it happens
Two different outcomes get mixed up, and they have different fixes.
A bounce (550) is a rejection. Microsoft's servers refused the message during the SMTP conversation. The 5xx class is a permanent failure, and 5.7.x is a policy reason, not a missing mailbox. Nothing arrives in the recipient's mailbox, so Safe Senders cannot help. Safe Senders only controls how already-accepted mail is handled, such as Inbox versus Junk.
A junk landing is acceptance followed by filtering. Microsoft took the message and its filters scored it as spam. Authentication, reputation, complaints and content all feed that score.
The causes, most common first:
- SPF or DKIM passes, but for the wrong domain. This is the classic shared-platform problem. DMARC needs SPF and/or DKIM to align with the domain in the 5322.From address. If a tool signs with its own domain, DMARC fails for yours.
- No DMARC record, or no DKIM signature. Microsoft's published requirements for high-volume senders list SPF and DKIM passing, plus a DMARC record such as
v=DMARC1; p=none. - Microsoft's high-volume rules. They apply to senders of 5,000 or more messages to Microsoft consumer services, all using the same From domain. Smaller senders are not formally in scope. One reply on Microsoft's forum suspected the checks now reach low-volume senders too, but that is a suspicion, not documented policy.
- A message modified after signing. A gateway or relay that changes the Date, From or To after the DKIM signature breaks it. Users report cases where SPF and DMARC pass but DKIM fails, and Microsoft still rejects.
- Reputation, complaints or content. These apply when authentication passes and Microsoft files the message as junk anyway.
Gmail is fine because it runs separate filters with separate reputation data. A pass at Gmail tells you little about Outlook.
Fix 1: Read the headers first
Guessing wastes days. Open one junk-filed message in Outlook, view its internet message headers, and paste them into our email header analyzer. For a bounce, read the authentication results quoted in the bounce text. Microsoft's own fix page starts the same way: use Outlook to view the header fields and see the SPF, DKIM and DMARC results.
| Header | What to look for | What it tells you |
|---|---|---|
Authentication-Results | spf=, dkim=, dmarc= and the domain each checked | Which check failed, and for which domain |
X-Forefront-Antispam-Report | SFV:SPM, SFV:SKS, SFV:NSPM, SCL: | SPM is content-filter spam; SKS is a rule hit before content filtering; NSPM is not spam |
X-Microsoft-Antispam | BCL: | Bulk complaint level, 0 to 9; higher means more recipients treat you as bulk |
Compare three domains: header.from (what the reader sees), smtp.mailfrom (the envelope sender) and the DKIM header.d value. If neither the envelope domain nor the DKIM domain matches header.from, DMARC cannot pass.
Fix 2: Authenticate your own domain
-
Open your DNS provider's panel for the domain in your From address.
-
Publish one SPF record. A second
v=spf1record makes SPF fail. Include your real sender and stay under 10 DNS lookups. The SPF generator builds it.example.com. TXT "v=spf1 include:_spf.google.com ~all" -
Turn on DKIM signing with your domain in your sending provider's settings. Publish the selector record it gives you (TXT or CNAME). The DKIM generator covers the TXT case.
-
Add a DMARC record. Start in monitoring mode:
- Wait for DNS to update (often minutes, sometimes hours), then send a new test message and recheck the headers. Old messages keep their old results.
- Move to
quarantineorrejectlater, once DMARC reports show all your legitimate sources passing.
Microsoft says the DMARC record must hold a valid policy: p=reject, p=quarantine or p=none. Missing records are not the only trap. One user on Microsoft's forum found that Microsoft's headers showed a pass while the sender's public DMARC record was actually missing, so check the live DNS too, not just one header. The full walkthrough is in how to set up SPF, DKIM and DMARC.
Both SPF and DKIM
Microsoft's page asks that both SPF and DKIM checks pass for high-volume domains, and only one of them needs to align for DMARC. Do not stop at a passing DMARC result if the DKIM line says fail.
Fix 3: Stop sending from a shared platform domain
If a tool sends from its own shared domain and IPs, DKIM usually signs with the platform's domain, so alignment with your From address fails. You also share reputation with its other customers. A Pipefy community thread describes automation emails landing in Outlook and Hotmail junk while Gmail was fine, and the pattern fits this cause.
Microsoft's guidance for third-party senders is plain: the service must use your domain in the address and sign DKIM with your domain. Your SPF record must also include the IPs or include values the service requires. In practice:
- Add your domain as a custom sending domain in the tool, or connect your own SMTP.
- Publish the DKIM and SPF records the tool gives you.
- Check HubSpot, Zoho and similar systems the same way: confirm the domain in the From address is the one being signed.
- If a platform offers neither option, you cannot fix this from your side. Ask its support whether a custom sending domain exists.
Fix 4: Check gateways and forwarding
If mail passes through a security gateway, relay or footer-adding service, test a direct send that bypasses it. If the direct send passes and the relayed one fails, the hop is altering the message after signing. Fix it by signing after modification or by having the gateway add its own aligned signature.
Fix 5: Reputation, complaints and content
If authentication passes everywhere and the message still lands in junk, Microsoft is judging behavior.
- Sudden volume from a new domain or IP. Ramp slowly; see what email warm-up is.
- Complaints and spam traps from old or purchased lists. Clean your list and keep a suppression list.
- Missing unsubscribe headers on bulk mail. See List-Unsubscribe.
- Blocklisted IPs. Check your sending IP against public blocklists. On shared IPs, that is the provider's job.
- Self-hosted servers such as Mailcow: Microsoft's Junk Email Reporting Program and Smart Network Data Services show complaint and trap data for IPs you control.
To get the first messages out of junk, ask real contacts to mark your message Not junk and add you to Safe senders. This helps those recipients only; it does not fix the signal Microsoft is scoring.
Cause, symptom and fix at a glance
| Cause | Symptom in the headers or bounce | Fix |
|---|---|---|
| No DMARC record | dmarc=none, or a 5.7.1 or 5.7.515 bounce | Publish v=DMARC1; p=none at _dmarc |
| DKIM signs the platform's domain | dkim=pass but header.d differs from header.from | Set up a custom sending domain and DKIM |
| SPF include missing | spf=fail or softfail | Add the provider's include; keep one record |
| Message altered after signing | dkim=fail only for some routes | Sign after the gateway, or bypass it |
| Everything passes, still junk | SFV:SPM with passing auth | Work on reputation, list quality, content |
Checklist before you test again
- The From domain is one you own, not the platform's.
- Exactly one SPF record exists and lists every sender.
- DKIM signs with your domain, and the selector record exists in DNS.
- A DMARC record exists at
_dmarc. header.dor the envelope domain matchesheader.from.- You sent a new message after the DNS change.
If nothing works
If every check passes and Microsoft still rejects or junks your mail for days, contact Outlook.com Sender Support. Include the complete bounce, sending domain, sending IP, UTC timestamp and authentication results. Submission does not guarantee delivery. Microsoft's own fix article is the reference to follow: Fix NDR error 550 5.7.515 in Outlook.com. Also send full headers of one junk-filed message and one that reached the inbox.
Subject: Outlook.com delivery problem for example.com
Our domain example.com is filed as junk / rejected by Outlook.com and Hotmail
recipients. Gmail delivers normally.
Sending domain: example.com
Sending IP: 203.0.113.10
Bounce text: 550 5.7.1 Message rejected: Message lacks SPF/DKIM/DMARC Auth Records
Timestamps (UTC): 2026-11-06 15:50, 2026-11-06 16:09
Authentication results: spf=pass, dkim=pass (header.d=example.com), dmarc=pass
Steps already taken: SPF, DKIM and DMARC published and aligned; fresh test sent
after the DNS change.
Full headers of one junked message and one inboxed message are attached.
Please review the sending domain.
Where Mailneo fits
Most of this is DNS and sender configuration at your registrar and provider, which we cannot change for you. For a connected account, Mailneo checks your sending domain's SPF, DKIM and DMARC records and common DNS blacklists, and it adds List-Unsubscribe and one-click headers to campaign and newsletter emails. See email accounts. It cannot override Microsoft's filtering, remove you from a blacklist, or guarantee inbox placement.
Common questions
Why do some Outlook addresses get my mail and others do not?
Authentication is judged per message and per route. One reply on Microsoft's forum notes that a message altered in transit, or misaligned for some recipients, can be rejected even when other messages from the same domain pass.
Can the Outlook.com recipient fix this?
No. A personal @outlook.com address needs no records of its own, and Microsoft manages that domain's DNS. The sender or their provider must fix the sending domain.
Does a minimal DMARC record help?
Often yes for the "lacks DMARC" bounce. Microsoft forum answers suggest at least a minimal record such as v=DMARC1; p=none; as a workaround. It will not fix a DKIM failure or misalignment.
Does Gmail passing mean my setup is correct?
No. Gmail can accept mail that Microsoft rejects, since the two apply different rules and reputation data. Test against Outlook.com directly and read the headers there.
Explore: Email Deliverability
Related Articles
Outlook junks mail though SPF, DKIM and DMARC pass: SNDS fix
When Outlook junks mail that passes SPF, DKIM and DMARC, authentication isn't the problem; reputation is. Register your IPs in SNDS and JMRP, find out what is driving complaints or spam signals, split marketing from transactional domains, ramp volume slowly, and consider a reputable relay if your IP is new.
Zoho SMTP 535 5.7.8 Authentication Failed on Free Plans
Zoho's "535 5.7.8 Authentication Failed" means the server rejected your SMTP login. The usual causes are 2FA without an app password, a free Zoho plan with no SMTP access, or the wrong regional server. Generate an app password, copy the host and port from your own account, and confirm your plan includes SMTP.
0x800ccc0e: Outlook Unable to Connect to SMTP Server, Fixed
Outlook error 0x800ccc0e means the app could not open a connection to your outgoing (SMTP) server. Usually the port, encryption setting or password is wrong, or antivirus, a firewall or your ISP is blocking it. Set port 587 with STARTTLS, turn on SMTP authentication, and test again.
SocketLabs "421 4.5.1 Too many errors" blacklist: how to fix it
`421 4.5.1 Too many errors, you have been temporarily blacklisted` means a SocketLabs server saw repeated auth or bad-address errors from your IP and paused it. Stop whatever is retrying, fix credentials and invalid recipients, clear the queue, and wait. The block usually lifts within minutes, but returns if retries resume.
Ready to supercharge your email marketing?
Start sending smarter emails with AI-powered campaigns. No credit card required.
Get Started Free