5.7.32: From: domain not aligned with SPF or DKIM (Gmail)

At a glance

A 5.7.32 bounce from Gmail means the domain in your From: address matches neither the domain that passed SPF nor the domain that signed with DKIM. Authentication passed for someone, just not for the domain your recipient sees.

What it means

This is Google's code, and its meaning comes from Google's SMTP error reference, which uses it in two forms:

"Aligned" is the DMARC idea: the domain that passes SPF (the envelope sender) or the domain in the DKIM signature has to match the From: domain. Without that match, DMARC fails, even though SPF and DKIM pass on their own.

Common causes

How to fix it

  1. Look at a delivered copy. Compare three domains: the From: address, the Return-Path (the envelope sender), and the d= in the DKIM-Signature header.
  2. Set up custom DKIM in each sending service, so it signs with your From: domain. Check the key with the DKIM checker.
  3. Where the service supports it, set a custom bounce (return-path) domain under your own domain, and include the service in your SPF record (SPF checker).
  4. Check your DMARC record and the result with the DMARC checker.
  5. Google's sender guidelines require From-domain alignment from bulk senders (around 5,000 or more messages a day to personal Gmail accounts). One aligned method is enough.

What to do with the address

Keep it. The mailbox is fine; the fix is in your sending setup. For the related checks, see 5.7.26 (no SPF or DKIM pass at all) and 5.7.40 (no DMARC record).

See every bounce code in the dictionary.

Many bounces from addresses that do not exist can be avoided: check an address with our free email checker, or clean a whole list before you send.

How we wrote this: drafted by the email-validation.org team with the help of AI writing tools, from our product documentation and the sources linked in the text.

Updated · Maintained by the email-validation.org team