550 5.7.1GmailHard bounce (5xx)

Fix Gmail 550 5.7.1 Policy, Spam & Reverse DNS Blocks

Why Gmail rejects messages with 550 5.7.1, how to tell reputation blocks apart from PTR, TLS, or DMARC failures, and step-by-step fixes.

Verified 2026-12-046 min read
Exact SMTP / API response (550 5.7.1)
550-5.7.1 [IP] Messages missing a valid messageId header are not accepted / Our system has detected that this message is likely unsolicited mail.

Audit your domain authentication & DNS live

Check SPF, DKIM, DMARC, MX, and MTA-STS records before troubleshooting reputation or content blocks.

Run check

Read the text after 550-5.7.1 first

550 5.7.1 is Gmail's general policy rejection code, so the message text right after the code tells you which problem you actually have:

Sub-message after 550-5.7.1Root cause
"does not have a PTR record" or "IPv6"Sending IP lacks forward-confirmed reverse DNS (PTR -> A/AAAA)
"Unauthenticated email from domain.com is not accepted due to domain's DMARC policy"Sending domain has p=reject and SPF/DKIM alignment failed
"Messages missing a valid Message-ID header" or "multiple From addresses"Malformed RFC 5322 headers from custom SMTP code
"Our system has detected that this message is likely unsolicited mail"Low IP/domain reputation, blocklisted link domain, or spammy content
"The user or domain that you are sending to has a policy that prohibited"Recipient's Google Workspace admin blocked your domain or IP

Diagnose the exact cause in 60 seconds

1. Check reverse DNS (if running your own MTA or VPS)

# Replace 203.0.113.10 with the sending IP shown in the bounce
dig -x 203.0.113.10 +short
# Then verify the returned hostname resolves back to the same IP
dig A mail.yourdomain.com +short

If dig -x returns nothing, or if the hostname does not resolve back to the same IP, Gmail blocks the connection. Note that many cloud VPS providers (AWS EC2, DigitalOcean, Hetzner) enable IPv6 by default without a PTR record, so Postfix silently picks IPv6 and fails on Gmail.

2. Audit SPF, DKIM, and DMARC alignment

If the error cites DMARC policy, your own _dmarc record is set to p=reject and the failing stream is not aligned. Run our domain email deliverability audit to verify SPF, DKIM, and DMARC alignment on your sending domain.

3. Check IP blocklists and Google Postmaster Tools

Step-by-step fix

If it is a PTR / IPv6 / TLS failure

  1. Configure a PTR record in your hosting provider's control panel pointing your sending IP to a hostname like mail.yourdomain.com, and add a matching A (or AAAA) record.
  2. Enable STARTTLS on your outbound SMTP relay so Gmail receives messages over TLS.
  3. If you do not want to manage IPv6 PTRs, set inet_protocols = ipv4 in Postfix or route outbound mail through a managed ESP.

If it is an RFC 5322 header error

Confirm every outgoing message generated by your code includes:

  • A single valid From: header ("App Name" <noreply@yourdomain.com>)
  • A properly formatted Date: header
  • A unique Message-ID: <uuid@yourdomain.com> header

If it is a spam/reputation block

  1. Replace public link shorteners and third-party tracking domains with your own verified domain.
  2. Remove suspicious attachments (.zip, .js, macro documents) and verify your HTML is clean and balanced.
  3. Pause blasts to cold or unengaged addresses and send only to recently active users while reputation recovers.
  4. Keep user-reported spam rates below 0.1% in Google Postmaster Tools.

Or skip managing PTR records, TLS, and IP reputation

Self-hosted SMTP servers and raw VPS relays fail Gmail's 550 5.7.1 checks constantly because one missing IPv6 PTR record, unaligned header, or noisy shared IP stops delivery across every @gmail.com customer.

Sequenzy manages the transport infrastructure for you:

  • Properly configured forward-confirmed reverse DNS, TLS transport, and RFC 5322 headers on every send.
  • Guided DKIM, SPF, and DMARC alignment verification plus continuous domain health monitoring.
  • Separate sending routing for transactional emails and marketing campaigns, with automatic bounce and complaint suppression.

Official sources

Frequently asked questions

Related error guides