Skip to Main Content

SMTP error code · permanent failure (5xx)

550 5.7.1: Delivery Not Authorized, Message Refused

Samuel Chenard

By Samuel Chenard · CEO & Co-Founder, Palisade · Reviewed August 31, 2026

550 5.7.1 is the catch-all "delivery not authorized" rejection: the receiving server deliberately refused your message. The bounce text tells you which variant you hit: failed SPF/DKIM/DMARC authentication, a relay the server won't perform, a blocklisted sending IP, or a recipient-side restriction. It's permanent; fix the cause the text names, then re-send.

550 5.7.1 at a glance
Code550 5.7.1
ClassPermanent (5xx): the message was refused and will not retry
CategoryPolicy
Side at faultEither side
Auth-relatedConditional: only when the complete bounce names SPF, DKIM, or DMARC

What the bounce actually says

The exact wording varies by provider. These are the documented strings, verbatim. Match yours to pin down which variant you hit.

Gmail (Google Workspace): sender or recipient policy

550 5.7.1 The user or domain that you are sending to (or from) has a policy that prohibits the email that you sent.

Source: knowledge.workspace.google.com

Gmail (Google Workspace): unauthorized direct sending

550 5.7.1 The IP you're using to send email is not authorized to send email directly to our servers.

Source: knowledge.workspace.google.com

Gmail (Google Workspace): low IP reputation

550 5.7.1 This message is likely suspicious due to the very low reputation of the sending IP address.

Source: knowledge.workspace.google.com

Microsoft 365 (Exchange Online): recipient requires authenticated senders

550 5.7.1 RESOLVER.RST.AuthRequired; authentication required [Stage: CreateMessage]

Source: learn.microsoft.com

Microsoft 365 (Exchange Online): sending IP on Microsoft's blocklist

550 5.7.1 Service unavailable; Client host [xxx.xxx.xxx.xxx] blocked using Blocklist 1; To request removal from this list please forward this message to delist@microsoft.com

Source: learn.microsoft.com

Microsoft 365 (Exchange Online): blocklisted IP hidden by the customer's IP Allow list

550 5.7.1 Unable To Relay: Blocked by Customer Allow list

Source: learn.microsoft.com

Exchange Server (on-premises): relay not allowed for this sender

550 5.7.1 Unable to relay

Source: learn.microsoft.com

Generic MTAs: the RFC 3463 standard text

550 5.7.1 Delivery not authorized, message refused

Source: www.rfc-editor.org

Why you're seeing 550 5.7.1

5.7.1 is the broadest security code in the SMTP standard. RFC 3463 defines it as "delivery not authorized, message refused" (the sender is not authorized to send to this destination) and deliberately says nothing about why. So every provider reuses it for its own refusals: Gmail returns it for admin-policy and IP-reputation refusals, Exchange Online for denied relays, blocklisted IPs, and recipients that only accept authenticated senders, and countless MTAs for per-host or per-recipient filtering. That's why the number alone can't be diagnosed. The human-readable text after 550 5.7.1 is the actual verdict. Match it against the variants above, then work the fix that matches. The one constant: some policy on the receiving side judged your message unauthorized, and it will keep doing so until something changes.

Likely causes, ranked

Likely causeWhat's happening
The bounce explicitly names failed SPF, DKIM, or DMARCThis is an authentication failure only when the complete NDR says so. A sending service missing from SPF, disabled DKIM signing, or a DMARC alignment failure can make the message unauthorized, but the bare number does not prove any of them. Gmail and Microsoft 365 use more specific codes for DMARC rejections (`550 5.7.26` and `550 5.7.509`, both below), and Gmail's 5.7.1 "policy that prohibits" variant signals a Workspace admin or organization policy, not DMARC.
You're relaying through a server that won't relay for youThe classic Exchange wording. A printer, scanner, or line-of-business app submits mail through a server that doesn't recognize it as an authenticated or internal sender, so the server refuses to pass the message on. Common right after migrations, IP changes, or password rotations.
The sending IP is on a blocklistExchange Online's blocklist variant and Gmail's low-reputation variant both fit here. So does Exchange's "Blocked by Customer Allow list" NDR, despite the relay wording: the tenant's own IP Allow list hides the blocklist's name. The receiving side checked your connecting IP against a real-time blocklist or its own reputation data and refused the connection outright; nothing about this specific message mattered.
The recipient's organization restricts who can send to that addressRestricted distribution groups, mail-enabled public folders that require authenticated senders, moderated recipients, and per-recipient allow-lists all bounce outsiders with 5.7.1. Your mail and your DNS are fine: the restriction lives entirely on their side.
You're sending directly to the provider from an unauthorized IPGmail refuses direct SMTP connections from IPs it considers unfit to send, typically dynamic or consumer ranges, or IPv6 senders without matching PTR records. Mail must go out through a proper mail server or smarthost instead.
A mail flow rule or content filter refused the messageMicrosoft 365 transport rules and third-party gateways commonly reject with a 5.7.1 when a message trips an org-level rule: attachment types, keywords, geo restrictions. The bounce usually carries the custom text the admin configured.
Flowchart for triaging 550 5.7.1 by its bounce text: blocklist, relay, authentication, or recipient-side restriction, each with its fix.

How to fix 550 5.7.1

  1. Preserve the complete NDR and match its exact wording

    Copy the entire non-delivery report before changing DNS or mail-flow settings, including the sentence after 550 5.7.1, the rejecting host, timestamps, and any attached original-message headers. Match that sentence to the provider variants above: relay wording, a named blocklist, an authentication result, a recipient restriction, and a content-policy refusal require different fixes. The number alone is not a diagnosis.

  2. If the NDR names DMARC, verify this message's alignment

    Inspect the trusted receiver's Authentication-Results for the actual rejected message or a same-path test, not just the domain's DNS records. DMARC passes when SPF passes with an aligned envelope-from domain or DKIM passes with an aligned d= domain; it fails only when neither produces an aligned pass for the visible From domain. Preserve the NDR beside that message-level evidence so you do not mistake a relay or organization-policy rejection for DMARC.

    Sources: RFC 9989 (DMARC) · Google Workspace DMARC guidance

  3. If it names authentication: fix the failed, unaligned path

    For an SPF failure, authorize the real sending service and stay under the 10-DNS-lookup limit. For a DKIM failure, enable signing with your domain and verify the signature. For a DMARC failure, make at least one passing path align with the visible From domain; a valid SPF or DKIM record by itself does not establish alignment. Use the DMARC and SPF checkers only after the NDR identifies this authentication branch.

  4. If it says relay: authenticate the submission

    This step is for the classic "Unable to relay" or "not authorized to relay" wording, but not "Blocked by Customer Allow list", which is a blocklist problem (next step). Stop submitting anonymously: point the device or app at authenticated SMTP submission (SMTP AUTH on port 587 with a real account) or set up a connector scoped to its IP address. A mail server only relays for senders it can identify, and this error means it couldn't identify yours.

  5. If it names a blocklist: check your IP and domain reputation

    Run the connecting IP through /tools/ip-reputation and the domain through /tools/domain-reputation, then check public blocklists with /tools/blocklist-checker. Microsoft's own variant tells you where to send the delisting request; public RBLs each have their own removal process. If the bounce says "Blocked by Customer Allow list", your own settings are hiding the culprit: remove the sending IP from the IP Allow list under connection filtering in the Exchange admin center, and the NDR will name the actual blocklist. Then delist. Fix the leak (open relay, compromised account, spam burst) before requesting removal, or you'll be relisted.

  6. If only one recipient bounces: ask their admin, then re-send

    A single failing address while everything else delivers points at a recipient-side restriction only their email admin can lift. Once the cause is fixed, whichever it was, re-send the message yourself: 550 is a permanent failure, so nothing retries automatically.

Related free tools: DMARC checker · SPF checker · Domain reputation · Blocklist checker

Why it matters for MSPs

550 5.7.1 is an ambiguous MSP ticket: the same code can cover a scan-to-email device that lost relay rights, a tenant whose new CRM fails alignment, a blocklisted mail server, or a recipient restriction. Keep the complete NDR in the ticket and classify the wording before assigning work. For the authentication branch, Palisade can surface failing senders from DMARC reports, draft the record or policy change for review, and route the work through ConnectWise, HaloPSA, or Autotask; relay, reputation, and recipient-policy branches still need their own evidence and owner.

Questions readers ask

Frequently asked questions

Is 550 5.7.1 permanent, or will the server retry?

It's permanent. Any 550 response is a hard failure: the receiving server refused the message, your server bounced it back to you, and nothing retries on its own. Once you've fixed the cause the bounce text names, you have to re-send the message yourself. Temporary refusals use 4xx codes instead; those defer and retry automatically.

Whose fault is 550 5.7.1, mine or the recipient's?

The cause named after 550 5.7.1 determines whether the sender or recipient must act. Failed authentication, denied relays, unauthorized direct sending, and blocklisted IPs are sender-side: you fix DNS, submission settings, or reputation. Restricted groups, public folders that require authenticated senders, and per-recipient allow-lists are recipient-side: only their admin can permit you. The bounce text tells you which case you're in.

Why do I only get 550 5.7.1 when sending to one specific domain?

That pattern points at the receiving side: that organization's policy may restrict who can send to the address, or its filter may refuse your domain or IP specifically. Preserve the complete NDR, compare its wording with bounces from other domains, and ask the recipient to involve their email admin. Check DMARC or SPF only when the NDR names an authentication failure.

Is 550 5.7.1 the same as 554 5.7.1?

550 5.7.1 and 554 5.7.1 carry the same enhanced `5.7.1` status: delivery not authorized. Only the basic reply code in front differs, and providers use 550 and 554 for the same refusal family. Diagnose from the human-readable bounce text either way. Both are permanent failures that will not retry.

How do I fix 550 5.7.1 "Unable to relay" from Exchange or Microsoft 365?

A 550 5.7.1 `Unable to relay` response means Exchange did not authorize that submission to relay. Configure the printer, scanner, or application to use authenticated SMTP submission (SMTP AUTH on port 587 with a licensed mailbox) or create a connector scoped to the device's IP address. Exchange only relays for senders it can identify; this error means it couldn't identify yours.

Related error codes

Email deliverability, fixed: the full guide