550 5.7.1: what the bounce means and how to fix it

Diagram of a 550 5.7.1 bounce sorted into its five causes

A 550 5.7.1 bounce means the receiving mail server refused your message for a security or policy reason, and it will not accept the same message if you send it again. The code alone does not name the reason. The sentence after the code does, and it points to one of five causes: a recipient rule, sender reputation, message format, the sending IP address, or a relay setting.

This guide shows how to read that sentence for Gmail and Microsoft 365, which fix belongs to which wording, and which codes are often confused with this one.

What does 550 5.7.1 mean?

The reply has two parts. The first, 550, is the SMTP reply code for a refused command. The second, 5.7.1, is the enhanced status code for "delivery not authorized, message refused".

SMTP is the protocol mail servers use to hand messages to each other, and each handoff ends in a three-digit reply. RFC 5321 defines 550 as a requested action that was not taken, with three example reasons: the mailbox was not found, there was no access, or the command was rejected for policy reasons.

The enhanced code narrows that down. RFC 3463 splits it into three numbers, and each one carries its own meaning:

Part Value Meaning in RFC 3463
Class 5 Permanent failure, not likely to be resolved by resending the message in its current form
Subject 7 Security or policy status
Detail 1 Delivery not authorized, message refused

The RFC adds one line of detail for 5.7.1: the sender is not authorized to send to the destination. Read literally, that describes a recipient rule. Receivers now use the same code for spam decisions, reputation blocks and malformed messages, so the text is what matters.

A real bounce message carries the code and then the reason. This line is one of the entries in Gmail's error reference:

550 5.7.1 This message is likely unsolicited email. To reduce the amount of spam sent to Gmail, this message has been blocked.

Which wording did you get, and what does it point to?

The words after the code sort every bounce of this kind into one of five groups. Gmail's SMTP error reference, last updated November 10, 2026, lists 20 separate messages under this single code.

As of November 25, 2026, those 20 Gmail messages group like this:

Group What the Gmail text says Who has to act
Recipient policy The user or domain has a policy that prohibits the email you sent The recipient's admin
Reputation Likely unsolicited email; very low reputation of the sending IP address or the sending domain; rate limited The sender
Message format Not RFC 5322 compliant; missing or multiple From headers; no valid Message-ID The sender's software
Sending IP IP not authorized to send directly to Gmail's servers; IPv6 rules on PTR records and authentication not met The sender's server admin
Relay settings Invalid credentials for relay; daily SMTP relay sending limit exceeded The Google Workspace admin

Gmail adds a short tag to the end of each line. The same reference says gsmtp is added to all errors and gcdp to errors that come from a rule an admin defined. A line ending in gcdp therefore came from the recipient organization's own settings, not from Gmail's spam systems.

Microsoft 365 uses three status texts with this code. Its list of non-delivery reports describes them as follows:

Microsoft status text What it means
Delivery not authorized The sender is not allowed to send to that recipient, often a distribution group that accepts mail only from its members, or a transport rule rejected the message
Unable to relay The sending system asked a server to pass on mail for a domain that server does not accept
Client was not authenticated The receiving server requires the sending system to authenticate first, and it did not

How do you fix it when Gmail sends the bounce?

Match the fix to the group from the table above. Only two of the five groups are fixed in DNS, and one of them is not yours to fix at all.

Recipient policy. Nothing in your setup is wrong. Reach the recipient another way and ask their admin to allow your address or domain.

Reputation. Gmail judged the message as unwanted, or the sending IP address or domain has a very low reputation. There is no record to add that reverses this.

Confirm that the mail is authenticated and aligned first, because a DMARC fail feeds the same judgment. Then read your spam rate in Google Postmaster Tools and work through our steps on how to stop emails going to spam.

Message format. The message breaks RFC 5322, the standard for message headers. Gmail's reference names the faults: no From header, more than one From header, several addresses in From, a From domain that is not valid, duplicate headers, or no valid Message-ID.

The usual source is a script, a form plugin or an application that builds its own mail. A compliant header set has exactly one of each of these:

From: Billing <billing@example.com>
To: Dana <dana@example.net>
Subject: Your invoice for November
Date: Wed, 25 Nov 2026 09:14:02 +0000
Message-ID: <20261125091402.84f1c2@mail.example.com>

Sending IP. Two Gmail messages concern the address you connect from. One says the IP is not authorized to send directly to Gmail's servers, and the cure is to send through your email provider's servers.

The other says the message does not meet Gmail's IPv6 rules on PTR records and authentication. A PTR record maps an IP address back to a host name, and that host name has to resolve to the same address:

$ dig +short -x 192.0.2.25
mail.example.com.
$ dig +short mail.example.com
192.0.2.25

Relay settings. These two messages go to Google Workspace customers who use the SMTP relay service. Register the sending IP address in the relay settings, or wait for the daily limit to reset.

How do you fix it when Microsoft 365 or Outlook sends it?

Start by asking the recipient, because most Microsoft cases are permission settings on the recipient's side. Microsoft's fix page for this error says a sender typically cannot fix the problem alone and needs the recipient or the recipient's email admin.

That page lists three typical causes, as of November 25, 2026:

  1. You have no permission to send to the recipient. The address is a group or mailbox that takes mail only from approved senders. The group owner or admin has to add you.
  2. You have no permission to send through a server on the route. A device or application is relaying through a server that does not accept it.
  3. The message went to the wrong server. The recipient domain's MX record points somewhere that does not accept mail for it. Microsoft's page tells admins to verify that the domain has only one MX record.

The same page lists two things a sending admin can check on their own domain. The SPF record may be incomplete and may not include every source that sends for the domain, which the SPF record checker shows in a few seconds. Two SPF records on one domain break SPF as well, and our guide to multiple SPF records covers the merge.

If the source IP address is on Microsoft's block list, the fix is a delisting request and not a DNS change. Microsoft's page says to forward the bounce to delist@microsoft.com.

What do Yahoo and other receivers send?

Yahoo does not document this exact code. Its SMTP error codes page groups permanent errors under 553 and 554, with sections for content blocks, authentication failures and other policy errors.

As of November 25, 2026, that page says a 553 or 554 error indicates a permanent problem, and that senders should not retry a message that comes back with a 5xx error. A 421 or 451 reply is temporary, and the sending server retries on its own.

Smaller receivers and corporate gateways use 5.7.1 freely, often with their own wording about a blocklist, a relay or a content rule. Read the text, and if it names a blocklist, check the listing at the list's own site before you change anything else.

Which nearby codes are mistaken for it?

Several codes sit one step away and mean something more specific. RFC 7372, published in September 2014, added codes 5.7.20 through 5.7.26 so that receivers could report an authentication fault by name.

As of November 25, 2026, Gmail and Microsoft document these neighbors:

Code Sent by What it reports Where to look
5.7.25 Gmail The sending IP address has no PTR record Reverse DNS
5.7.26 Gmail The sender is unauthenticated, or the mail failed the domain's DMARC policy DMARC checker
5.7.27 Gmail The message did not pass SPF SPF record checker
5.7.30 Gmail The message did not pass DKIM DKIM checker
5.7.40 Gmail The sending domain has no DMARC record or no policy in it DMARC checker
5.7.23 Microsoft 365 Rejected because of an SPF violation SPF record checker
5.7.509 Microsoft 365 The domain fails DMARC and has a policy of reject DMARC checker
5.7.511 Microsoft 365 Access denied, banned sender Email delist@microsoft.com
5.7.606 to 5.7.649 Microsoft 365 Access denied, banned sending IP The delist portal

Microsoft's bounce for a banned IP address reads like this:

550 5.7.606-649 Access denied, banned sending IP [192.0.2.25]

Microsoft's delist portal page says removal through the portal might take up to 24 hours or longer. For 5.7.511 it says to email the address above with the full bounce and the IP address, and that Microsoft will reply within 48 hours.

There is also a temporary twin. Gmail sends 421 4.7.0 with nearly the same low-reputation wording when it defers a message and has not yet refused it. A code that starts with 4 is retried by the sending server, and one that starts with 5 is not.

How do we diagnose it on a client domain?

We start with the full bounce text, not the code, because the text decides which of the five groups applies. A screenshot of the summary line is not enough, so we ask for the original bounce.

The order we work in:

  1. We sort the bounces by receiving provider and by wording. One domain can show two groups at once, such as a recipient rule at one company and a reputation block at Gmail.
  2. We check the sending domain's records with the SPF, DKIM and DMARC checkers, since broken authentication sits behind several of the wordings.
  3. We pull a delivered message from the same sending source and read its headers for alignment and for duplicate or missing header fields.
  4. We check the sending IP address for a matching PTR record and for blocklist entries.
  5. Only then do we look at volume and complaints, because reputation is slower to repair than a record and should not be blamed first.

On one engagement in our case studies, authentication-related delivery failures measured 17% before the work and 1.5% after it. That work began with an audit of the sending domains and their authentication, the same step 2 as above.

To see what your own domain publishes today, run the free email deliverability test. It reads the SPF, DKIM and DMARC records in one pass.

Should you resend the message?

Do not resend the same message unchanged. RFC 5321 says the sending system should not repeat the exact request after a reply that starts with 5, and RFC 3463 calls the failure permanent for the message in its current form.

Fix the cause first, then send again. For a recipient rule that means waiting for the other side to allow you. For a format fault it means correcting the headers, and for a reputation block it means lower volume to engaged recipients while the complaint rate comes down.

Repeated attempts against a reputation block do not help, because the receiver has already said the answer will not change for that message. No fix here can promise delivery to the inbox. What it does is remove the stated reason for the refusal, which you can confirm when the next message is accepted.

Drafted with AI assistance from our own records and client work, then reviewed and approved by Kunal Arora. See our editorial policy.