550 5.7.27: SPF failed for a bulk sender (Gmail), or the sender has a null MX

At a glance

If Gmail sent this bounce, 5.7.27 means you send in bulk and your message failed SPF. Elsewhere it can carry its registered meaning: your sender address belongs to a domain that says it accepts no mail.

Two meanings for one code

Gmail's use differs from the official one, so check who sent the bounce.

Read the text after the code: it should say whether SPF or the sender domain's MX record is the problem.

Common causes

For Gmail:

For a null MX:

How to fix it

Gmail SPF failure:

  1. Check the record with the SPF checker.
  2. Add the IP or include of every service that sends for you. The SPF generator builds the record.
  3. Google's sender guidelines ask bulk senders (around 5,000 or more messages a day to personal Gmail accounts) for SPF, DKIM and DMARC together, so check DKIM with the DKIM checker and see 5.7.40 for DMARC.

Null MX:

  1. Send from a domain that can receive mail, so bounces and replies have somewhere to go.
  2. If the domain should receive mail after all, replace the null MX with real MX records.

What to do with the address

Keep the recipient's address. In both meanings the problem sits with your sending domain. A recipient domain with a null MX is a different code: 556 5.1.10.

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