550 5.7.1 Error: What It Means and How to Fix It for Gmail, Microsoft 365 and Postfix
550 5.7.1 means the receiving server refused your email for a policy reason. Decode the bounce text and fix it for Gmail, Microsoft 365 and Postfix.
On this page
A 550 5.7.1 bounce means the receiving mail server permanently refused your message because a security or policy rule said you are not allowed to deliver it. The code itself only says "delivery not authorized, message refused." The text that follows it tells you which rule fired, and that text decides whether you fix it yourself or have to ask the recipient's admin.
This guide shows how to read the full bounce, matches the most common 550 5.7.1 messages from Gmail, Microsoft 365, Outlook.com and Postfix servers to their causes, and walks through the fixes in the order that finds the problem fastest.
What 550 5.7.1 means
Every SMTP rejection has two parts. The first three digits are the basic reply code from RFC 5321. The dotted number after it is an enhanced status code defined in RFC 3463.
| Part | Value | Meaning |
|---|---|---|
| Basic reply code | 550 | Requested action not taken: mailbox unavailable or command rejected for policy reasons |
| Class | 5 | Permanent failure: resending the same message will fail again |
| Subject | 7 | Security or policy status |
| Detail | 1 | Delivery not authorized, message refused |
RFC 3463 describes X.7.1 as a case where "the sender is not authorized to send to the destination," which "can be the result of per-host or per-recipient filtering." That wording explains why the same code shows up for very different problems: a blocklisted IP, a missing DKIM signature, a distribution group that only accepts internal senders, or an SMTP server that refuses to relay.

How to read 550 5.7.1: each part narrows down what the receiving server is telling you.
Because the class is 5, your sending server will not retry. The message is gone until you fix the cause and send it again.
Read the full bounce before you change anything
The single most useful thing you can do is read the complete diagnostic text, not just the code. In a non-delivery report (NDR) it usually sits under "Diagnostic information for administrators" or "Remote server returned." In a raw delivery status notification it looks like this:
Reporting-MTA: dns; mail.example.com
Final-Recipient: rfc822; jane@example.net
Action: failed
Status: 5.7.1
Remote-MTA: dns; mx.example.net
Diagnostic-Code: smtp; 550 5.7.1 Service unavailable; Client host [203.0.113.25] blocked using zen.spamhaus.org
Three details matter here:
- Remote-MTA tells you which server rejected the message. A rejection from your own outbound server means the problem is on your side (relay or authentication to your provider). A rejection from the recipient's MX means their filter decided.
- Diagnostic-Code carries the human-readable reason. That sentence is what you match against the table below.
- The IP address in brackets is the address the receiver saw. It is not always the one you expect, especially when mail passes through a CRM, a ticketing tool or a forwarding service.
Also note whether the bounce affects one recipient, one recipient domain, or everyone. A single domain points to that domain's policy or filter. Rejections across Gmail, Microsoft and others at the same time point to your authentication or your IP and domain reputation.
Common 550 5.7.1 messages and what they mean
The wording below comes from provider documentation and standard server software. Variable parts such as IP addresses and domain names are shown as placeholders.
| Bounce text (shortened) | Who sends it | Most likely cause | Who fixes it |
|---|---|---|---|
| "The user or domain that you are sending to (or from) has a policy that prohibits the email that you sent" | Gmail / Google Workspace | A Workspace admin rule blocks your domain, the content or the recipient | Recipient's admin |
| "This message is likely unsolicited email" | Gmail | Content and sending pattern look like spam | Sender |
| "...very low reputation of the sending IP address" / "...of the sending domain" | Gmail | Poor IP or domain reputation | Sender |
| "This message does not meet IPv6 sending guidelines regarding PTR records and authentication" | Gmail | Sending over IPv6 without a matching PTR record or without SPF/DKIM | Sender |
| "Messages missing a valid Message-ID: header are not accepted" or "...not RFC 5322 compliant" | Gmail | Malformed headers: missing or duplicate From:, missing Message-ID | Sender (app or script) |
| "The IP you're using to send email is not authorized to send email directly to our servers" | Gmail | Sending straight from a dynamic or residential IP | Sender: use your provider's SMTP relay |
| "Invalid credentials for relay [IP]" | Google Workspace SMTP relay | The relay IP or domain is not registered in the Workspace account | Sender's Workspace admin |
| "Service unavailable; Client host [IP] blocked using Blocklist 1" | Microsoft 365 / Exchange Online | Sending IP is on Microsoft's own blocklist | Sender: request delisting |
| "RESOLVER.RST.AuthRequired; authentication required" | Exchange Online | Recipient (often a group or public folder) only accepts authenticated, internal senders | Recipient's admin |
| "Message rejected: Message lacks SPF/DKIM/DMARC Auth Records" | Outlook.com, Hotmail, Live | Missing authentication, often no DMARC record | Sender |
| "Relay access denied" (usually returned as 554 5.7.1) | Postfix servers | The server is not the destination for that domain and you did not authenticate | Sender: fix SMTP settings |
| "Client host [IP] blocked using zen.spamhaus.org" | Any server using Spamhaus | Sending IP is listed on a Spamhaus blocklist | Sender: delist and fix the cause |
Google publishes the full list of its responses in Gmail SMTP errors and codes, and Microsoft covers the Exchange Online cases in Fix NDR error 550 5.7.1 in Exchange Online.
How to fix a 550 5.7.1 error as the sender
Work through the checks in this order. Each one rules out a whole group of causes, so you rarely need to go to the end.

Troubleshooting order for a 550 5.7.1 bounce.
1. Rule out a recipient-side restriction
If the bounce mentions a policy, a restricted group, "AuthRequired" or "not authorized," and only one organization rejects you, nothing in your DNS will fix it. Contact the recipient by another channel and ask their email admin to allow your address or domain. Send them the full diagnostic text and the timestamp. Microsoft says the same in its own guidance: in these cases the sender typically can't fix the problem alone.
2. Check your SMTP relay settings
A "Relay access denied" or "not authorized to relay" response that comes from your own outgoing server means the server does not know you. The usual causes are a mail client or app set to port 25 without SMTP authentication, a wrong username, or a sending domain that is not registered with the relay service. Switch to the submission port your provider documents (normally 587 with STARTTLS), turn on authentication, and send again.
3. Verify SPF, DKIM and DMARC on a real message
Checking that DNS records exist is not enough. Send a message from the exact system that bounced and look at the Authentication-Results header on the receiving side:
Authentication-Results: mx.example.net;
spf=pass smtp.mailfrom=bounce.example.com;
dkim=pass header.d=example.com;
dmarc=pass header.from=example.com
You want SPF or DKIM to pass for a domain that matches the From: address, which is what DMARC alignment means. Google's Email sender guidelines require every sender to set up SPF or DKIM, and senders of more than 5,000 messages a day to Gmail must have SPF, DKIM and DMARC. A minimal DMARC record looks like this:
_dmarc.example.com. 3600 IN TXT "v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com"
You can confirm each record with the SPF record checker and the DMARC checker. If you need the background on each protocol, start with authenticating emails with SPF.
4. Check blocklists and reputation
If the diagnostic text names a blocklist, look up your sending IP and domain on that list and follow its removal process. Fix the cause first, whether that is a compromised account, a purchased list or a spike in invalid addresses, or you will be listed again. For Microsoft's own list, the NDR says to forward the message to delist@microsoft.com, and Microsoft also runs a delist portal at sender.office.com.
A quick domain blacklist check shows whether your domain appears on the common lists. For Gmail, use Google Postmaster Tools: public blocklist lookups do not show Gmail's own filtering decision.
5. Confirm reverse DNS for the sending IP
Gmail requires that the sending IP has a PTR record whose hostname resolves back to the same IP, and the IPv6 variant of 550 5.7.1 is triggered when this or authentication is missing. Run a reverse DNS lookup on the IP from the bounce. If the PTR is missing or points to a generic hostname, ask your hosting provider to set it. The related error reverse DNS does not match SMTP banner has its own walkthrough.
6. Fix malformed headers
Header errors usually come from custom scripts, old plugins and self-built newsletters. Gmail rejects messages without a valid From: address, with several From: headers, with duplicate headers, or without a valid Message-ID. RFC 5322 defines the format of these headers. Send a test to yourself, open the original source, and check that each of these headers appears once and is well formed.
7. Test before you resend
Once you have made a change, do not resend the whole campaign to see whether it worked. Send one message to a test address and check the result. The SendBridge mail tester shows SPF, DKIM and DMARC results, blocklist status and content issues for a real message, so you can see whether the cause is gone before real recipients are involved.
Gmail: 550 5.7.1 versus the newer authentication codes
Since Google started enforcing its sender requirements, many authentication failures that used to arrive as 550 5.7.1 now have their own codes. If you see one of these, the fix is narrower:
| Code | Gmail's reason | What to check |
|---|---|---|
| 550 5.7.26 | Sender is unauthenticated, SPF hard-fails, or the domain's DMARC policy rejects the message | SPF and DKIM for the From: domain, DMARC alignment |
| 550 5.7.27 | Bulk sender failed SPF | SPF record includes the sending IP or service |
| 550 5.7.30 | Bulk sender failed DKIM | DKIM signing is enabled and the public key is published |
| 550 5.7.25 | Sending IP has no PTR record, or it does not match | Reverse DNS |
| 550 5.7.28 | Unusual rate of unsolicited mail from your IP | Sending volume, list quality, complaints |
Gmail still uses 550 5.7.1 for policy, reputation, relay, IPv6 and header problems, so read the sentence after the code.
Microsoft 365 and Outlook.com
Microsoft uses 5.7.1 for several Exchange Online situations. The common ones are a recipient or group that does not accept mail from you, a group with more than 5,000 members where every message needs moderator approval, a public folder that requires authenticated senders, a sending IP on Microsoft's blocklist, and a domain that is not fully set up in Microsoft 365 or has a wrong MX or SPF record.
Two related Microsoft rejections are worth knowing:
- 550 5.7.515 is the code Outlook.com uses for domains sending more than 5,000 messages a day that do not meet its SPF, DKIM and DMARC requirements. Microsoft explains it in Fix NDR error 550 5.7.515 in Outlook.com.
- "Message lacks SPF/DKIM/DMARC Auth Records" came back as 550 5.7.1 for many smaller senders in November 2026. Microsoft attributed the bounces to a faulty update of its spam rules and rolled it back, but the messages that were refused at the time were not retried. If you saw this bounce, resend anything important. Publishing a DMARC record alongside working SPF or DKIM is still the right setup, and our guide to DMARC enforcement covers how to move from p=none to a stricter policy later.
If you are the recipient's admin
When a partner reports a 550 5.7.1 from your server, check these settings in order: mail flow (transport) rules that match the sender or content, delivery restrictions on the group or mailbox, the "require that all senders are authenticated" option on groups and public folders, and your inbound spam or connection filter. Add the sender as an allowed sender only after you confirm the message is legitimate and authenticated.
550 5.7.1 compared with similar codes
| Code | Type | What it usually means |
|---|---|---|
| 550 5.7.1 | Permanent, policy | Delivery not authorized: blocked by a rule, a filter or relay restrictions |
| 554 5.7.1 | Permanent, policy | Same enhanced code, different basic code; common for relay denials and blocklist hits |
| 550 5.1.1 | Permanent, address | The mailbox does not exist; remove the address |
| 550 5.4.1 | Permanent, routing | Recipient address rejected: access denied, see our guide to this error |
| 421 4.7.0 | Temporary, policy | Deferred, often rate limiting or reputation; your server will retry |
Temporary 4xx codes give you time to react. A 5xx code does not, which is why repeated 5.7.x bounces should trigger an investigation, not a resend.
How to prevent 550 5.7.1 bounces
Most sender-side causes come back to the same few habits. Authenticate every system that sends as your domain, including the CRM, the help desk and the billing tool. Keep one DMARC record with reporting turned on so you see sources that fail. Remove invalid and risky addresses before a campaign, because high bounce rates damage the reputation that receivers check. Running a list through email verification before a large send keeps hard bounces low. Finally, watch your sending IP and domain on the main blocklists so a listing does not surprise you in the middle of a launch.
Frequently asked questions
How do I fix error code 550 5.7.1?
Read the full bounce text first. If it names a recipient policy or a restricted group, ask the recipient's admin to allow you. If it names relay, fix your SMTP authentication. If it mentions spam, reputation, a blocklist, PTR or authentication, fix that item on your side, then send one test message before resending.
What does "550 5.7.1 reject for policy reason" mean?
The receiving server applied a local rule and refused the message. The rule can be a content filter, a reputation check or a block on your domain or IP. The recipient's server decides what the rule is, so if your authentication and reputation look clean, contact the recipient's admin.
Is 554 5.7.1 the same as 550 5.7.1?
Both carry the enhanced code 5.7.1, delivery not authorized. The basic code differs: 554 means "transaction failed" and is the default Postfix uses for relay denials and blocklist rejections. The troubleshooting steps are the same.
What is status code 5.7.1?
It is an enhanced mail system status code from RFC 3463. The 5 means permanent failure, the 7 means a security or policy problem, and the 1 means the sender is not authorized to deliver to that destination.
Should I keep retrying a 550 5.7.1 bounce?
No. A 5xx response is permanent and an unchanged retry will be refused again. Repeated rejections can also hurt your reputation with that receiver. Fix the cause, test, then resend.
What to do next
Open the latest 550 5.7.1 bounce and copy the full Diagnostic-Code line. Match it to the table above. If the cause is on your side, check authentication and blocklist status for the domain and IP named in the bounce, send one test through the mail tester, and only then resend to the recipients who bounced.


