Error codes

421 4.7.32 Gmail: "the From: header isn't aligned with either the authenticated SPF or DKIM organizational domain"

Last updated 2026-11-23

What Gmail says

421 4.7.32, rate limited

Your email has been rate limited because the From: header (RFC5322) in this message isn't aligned with either the authenticated SPF or DKIM organizational domain. Learn more about DMARC alignment. To learn more about Gmail requirements for bulk email senders, visit Email sender guidelines.

421 5.7.32, blocked

Your email was blocked because the From: header (RFC5322) in this message isn't aligned with either the authenticated SPF or DKIM organizational domain. Learn more about DMARC alignment. To learn more about Gmail requirements for bulk email senders, visit Email sender guidelines.

Source: Google, Gmail SMTP errors and codes, fetched 2026-11-23.

What it means, in plain words

  • SPF or DKIM may well have passed, but for a different domain from the one in your From address.
  • Alignment asks whether the organizational domain of the From address matches the domain SPF checked (the envelope sender) or the domain DKIM signed with (the d= value).
  • A sending service that signs with its own domain and uses its own bounce domain passes authentication for itself, not for you. See strict and relaxed alignment.

Check your own setup

Open the headers of a message you sent through the same service and compare three domains in the Authentication-Results line:

The three values to compare:

header.from=example.com      (the From address)
smtp.mailfrom=bounces.service.com  (the domain SPF checked)
header.d=service.com               (the domain DKIM signed with)

At least one of smtp.mailfrom or header.d needs the same organizational domain as header.from. Or paste the bounced message's headers into the header analyzer and read the Authentication-Results line.

The DMARC checker reads your live DMARC record and shows what to change.

The fix

  • Set up DKIM at the sending service with your own domain, so d= is example.com. Many services call this a custom or branded DKIM domain.
  • Or set a custom envelope sender (return-path or bounce domain) on a subdomain of yours, so SPF passes for your organizational domain.
  • Google's DMARC page covers alignment: Set up DMARC.

Check your records now. Humerly's audit checks your SPF, DKIM and DMARC setup against live DNS. No signup.

This error is live on your domain right now. If you need it gone today, the Humerly Emergency Fix is the direct route: your DNS, every change on your approval, verified before we call it done. Details and the price are on the Emergency Fix page.

Request the fix

What this page covers: the records and settings the receiver named and how to correct them. It does not predict where a message lands once accepted; authentication and inbox placement are separate questions.

FAQ

SPF and DKIM both pass. Why does Gmail say they are not aligned?

Because they pass for a domain that is not yours. Alignment compares those domains with the domain in your From address.

Does a subdomain count as aligned?

Under relaxed alignment, yes, when it shares the From address's organizational domain. Strict alignment needs an exact match.

What is the difference between 421 4.7.32 and 421 5.7.32?

Same alignment problem. Google's text for 4.7.32 says rate limited; the text for 5.7.32 says blocked.