Blazalek.com

5.7.1Delivery not authorized, message refused

The system permanently refused the message because the sender was not authorized to send to the destination. Per-host or per-recipient filtering may produce this decision. Do not retry the same unchanged attempt.

Category
Security, authentication and policy
Class
Permanent failure
Retry
Do not retry unchanged
Suppression
Check the full context

What this code means

The system permanently refused the message because the sender was not authorized to send to the destination. Per-host or per-recipient filtering may produce this decision. Do not retry the same unchanged attempt.

Technical meaning

The standard X.7.1 pattern means that the sender is not authorized to send to the destination, so the message was refused; per-host or per-recipient filtering may produce this result. The registry description says this detail is useful only as a permanent error, and code 5.7.1 applies it in class 5.

Delivery status

The leading digit 5 denotes a permanent failure of the current attempt. The code alone does not identify the specific rule or system that applied it, and it does not establish that the recipient address is invalid.

Class
Permanent failure
Retry
Do not retry unchanged
Suppression
Check the full context

Retry decision

Operational guidance: stop automatic and manual retries of the same unchanged attempt. Consider a new send only after a verified change to the sender identity or authorization, the applicable rule, or the sending path; check suppression again before the attempt.

Suppression decision

Operational guidance: do not automatically add an address or domain to a suppression list based on 5.7.1 alone. Inspect the complete response, authorization and filtering context, event history, and applicable policy, then make the suppression decision in that context.

Common causes

  • The reporting system determined that the sender was not authorized to send to the destination, for example because of per-host or per-recipient filtering.
  • In the accepted Gmail example, the message violated a custom-domain email policy.
  • In the accepted Exchange Online example, delivery from an external sender to a mail-enabled public folder required authentication.

Diagnostic steps

  1. Inspect the raw SMTP response or nondelivery report and confirm that the enhanced code is exactly 5.7.1 and that the basic reply is in the 5xx class; retain the complete response text.
  2. Correlate the event with the intended message, attempt time, sender identity and host, destination, transaction stage, and system that returned the code; identify the specific rule from available logs instead of inferring it from the code alone.
  3. If the response contains Gmail marker “gcdp”, inspect the applicable custom-domain policy; if it contains “RESOLVER.RST.AuthRequired”, inspect the authentication requirement for the specified Exchange Online public-folder delivery.
  4. Stop unchanged retries; before a controlled new send, verify a material correction and reassess suppression.

Actions by owner

Sender

  • Do not resend the same unchanged message; confirm the intended sender identity and destination, then give the administrator the complete response.
  • Correct only a confirmed error in the sender, recipient, or required sending path, without treating the address as invalid from this code alone.

Sender administrator

  • Retain the complete response and attempt context, then inspect the sender identity, host, authentication, and sending-path configuration used for the specific refusal.
  • Stop unchanged retries; after a verified correction, make a controlled new attempt and reassess suppression.

Recipient administrator

  • If the code came from a recipient system you manage, inspect authorization rules and host- or recipient-level filters for the specified attempt, including the applicable domain policy or authentication requirement.
  • If the confirmed rule does not match the intended policy, correct it within your authority and verify the result of a new, controlled attempt.

Provider

  • For the specified attempt, inspect managed-service logs and the applied rule, then give the administrator exact, safe context for the refusal.
  • Correct a confirmed problem in the managed layer or identify the owner of the required correction; do not trigger automatic suppression from 5.7.1 alone.

Verified provider examples

Verified provider examples for 5.7.1 appear below, from Gmail / Google Workspace, Microsoft 365 / Exchange Online and Interia Poczta. They show real provider practice for this response and do not redefine the standard 5.7.1 meaning or cover every occurrence.

Google Workspace Gmail custom domain policies · SMTP 550 · gcdp

Exact SMTP response

550 5.7.1 This message violates example.com email policy. - gcdp <sessionid> - gsmtp
Exchange Online mail-enabled public folder delivery · SMTP 550 · RESOLVER.RST.AuthRequired

Exact SMTP response

550 5.7.1 RESOLVER.RST.AuthRequired; authentication required [Stage: CreateMessage]
Microsoft 365 / Exchange Online · SMTP 530

Exact SMTP response

530 5.7.1 Client was not authenticated
Interia Poczta · SMTP 550

Exact SMTP response

550 5.7.1 Recipient doesn't want your mail

Sources and verification

The standard X.7.1 meaning and the permanent class-5 application of code 5.7.1 were verified against the IANA registry and RFC 2034, RFC 3463, and RFC 5248 as of July 17, 2026. The exact Gmail and Microsoft examples come from accepted evidence gmail-ph01-122 and p03-b06-microsoft-x-7-1-001, respectively. Diagnostic, remediation, retry, and suppression recommendations are separate operational guidance.

  • Enumerated Status Codes / X.7.1

  • rfc5248T0 source

    Section 2.1: registry fields and non-exclusive Associated Basic Status Code

  • rfc2034T0 source

    Section 4: enhanced status class agrees with SMTP reply class

  • rfc3463T0 source

    IANA registry reference for X.7.1

  • Introductory identifier example immediately before the SMTP error messages table

  • Problem section: exact NDR error contains the contiguous complete inner SMTP response for an external sender

  • How to interpret an Exchange NDR > example diagnostic block and following paragraph

  • Article body, delivery-failure error list, entry heading "550 5.7.1 Recipient doesn't want your mail"

Last verified:

Wojtek Blazalek

Email deliverability expert

Stuck on this error code? I help teams clear the root cause of rejections and fix authentication and reputation — so email lands in the inbox.

Hands-on deliverability work for teams that send at scale.