Gmail 5.7.32: From header not aligned with SPF or DKIM
Updated 10 November 2026 · 4 min read
Short answer
Gmail's 5.7.32 (blocked) and 4.7.32 (rate limited) mean the domain in the visible From: header isn't aligned with the organisational domain that SPF or DKIM authenticated. Mail may well pass SPF and DKIM, but for someone else's domain, such as your email platform's. Fix it by making the platform sign DKIM with your domain (d=yourdomain.com) or use a return-path on your domain.
How 5.7.32 differs from 5.7.26
| Code | Trigger |
|---|---|
| 5.7.26 | Message unauthenticated and the domain's DMARC policy says reject (or SPF hard fail) |
| 5.7.32 | Authentication may pass, but not for a domain aligned with From |
| 5.7.40 | No DMARC record or no policy at all |
Typical cases
- Newsletter or CRM tool on default settings: SPF passes for the tool's bounce domain and DKIM is signed by the tool's domain.
- Sending as a client's domain from your agency account without authenticating that client's domain in the tool.
- A relay that rewrites Return-Path to its own domain and doesn't sign DKIM for yours.
- Strict alignment (
adkim=s; aspf=s) with signing on a subdomain likemail.acme.comwhile From isacme.com.
Worked check
Authentication-Results: mx.google.com;
dkim=pass header.i=@sendtool.example;
spf=pass smtp.mailfrom=bounce-123@sendtool.example;
dmarc=fail header.from=acme.com
→ both pass for sendtool.example, neither aligns with acme.comWhy Gmail checks the organisational domain
Gmail's message talks about the SPF or DKIM organisational domain. That is DMARC's relaxed alignment: news.acme.com and acme.com share the organisational domain acme.com, so a DKIM signature from mail.acme.com is accepted for a From of acme.com. A signature from acme-mail.com, or a return-path on sendtool.example, is a different organisation, however closely the names resemble each other. This is also why a lookalike sending domain such as getacme.com needs its own DKIM key: it is a separate organisational domain from acme.com.
Fix
- 1
Authenticate your domain in the tool
Look for Domain authentication / Sender authentication / Custom DKIM. Publish its CNAMEs or TXT records.
- 2
Add a custom return-path if offered
Gives aligned SPF as a second path.
- 3
Check alignment mode
If you set strict, either sign with the exact From domain or go back to relaxed.
- 4
Re-test
Show original should now say
dkim=pass header.d=acme.comanddmarc=pass.
Check the result
DNS shows your DKIM keys; the alignment itself shows in the received message's headers. Run the domain through the free ReplyDak deliverability check: it reads MX, SPF, DKIM and DMARC live from public DNS, counts SPF lookups and checks the main blocklists, with no sign-up. If your DKIM selector is not a common one, type it into the optional selector box.
More setups and errors: SPF, DKIM and DMARC by provider, DNS host and error.
FAQ
What does 'From header isn't aligned' mean?
The From domain doesn't share an organisational domain with the domain that passed SPF or DKIM.
Can SPF and DKIM pass and still get 5.7.32?
Yes, if they pass for a different domain, such as your sending platform's.
Is 4.7.32 permanent?
No, 4.7.32 is a temporary rate limit; 5.7.32 is the block.