Email

Outlook error 550 5.7.1: message rejected, how to fix it

In short. Your email did not arrive and you received an error message back containing "550 5.7.1". At Microsoft (Outlook.com, Microsoft 365, Exchange Online), this code means a security setting, on your side or the recipient's, blocked the message. The cause is in the text that follows the code. Depending on the case, you cannot fix it alone: you then have to alert the recipient's administrator. Allow one hour to review your domain's DNS records.

The 5.7.1 code is generic: Microsoft states that it actually covers the whole range 5.7.0 to 5.7.999. This page covers the variants that Microsoft's official documentation describes for Exchange Online. For the variant tied to the authentication level required of high-volume senders (SPF, DKIM, DMARC), see our page on error 550 5.7.515 instead, which is not repeated here.

Last checked: November 29, 2026, in Microsoft's official documentation.

The variants Microsoft confirms

Microsoft lists three common texts behind this code and describes two more in its dedicated troubleshooting page:

Text after the codeWhat it means according to Microsoft
Delivery not authorizedThe sender is not allowed to send to this recipient (restricted group, mail flow rule).
Unable to relayThe sending system is not allowed to send to a server that is not the message's final destination.
Client was not authenticated (code 530 5.7.1)The receiving server requires authentication before submission, and the sender did not authenticate.
RESOLVER.RST.AuthRequired; authentication requiredThe recipient is a mail-enabled public folder that rejects external senders.
Client host [IP address] blocked using Blocklist 1The sending server's IP address is on Microsoft's blocklist.

Any other 5.7.1 variant you may come across online is not confirmed by this documentation: do not apply these remedies to it before reading its full text.

Step 1: read the non-delivery report

The non-delivery report (NDR) sent back to the sender has a readable part and a "Diagnostic information for administrators" part. The useful line is in that second part, for example:

550 5.7.1 Unable to relay

Copy that line exactly. Depending on the text, what follows is completely different: an Unable to relay is fixed on the DNS or server side, a Delivery not authorized is fixed at the recipient.

Step 2: check your domain's DNS records

Microsoft names two DNS causes: an incorrect MX record and an incomplete SPF record. Query them from the Internet, replacing example.com with your own domain.

MX record, on Linux or macOS:

dig +short MX example.com

And on Windows:

nslookup -type=MX example.com

Expected value for a domain hosted at Microsoft 365: a single MX of the form <domain>.mail.protection.outlook.com or <domain>.subdomain.mx.microsoft. Microsoft does not support several MX records for a domain enrolled in Exchange Online. If you see two or more, or an MX pointing to another server while your mail is at Microsoft, that is a direct cause of Unable to relay.

SPF record:

dig +short TXT example.com
nslookup -type=TXT example.com

Expected value: a single line starting with v=spf1 that lists all your senders. If Microsoft 365 is your only sending source, Microsoft documents the value v=spf1 include:spf.protection.outlook.com -all. Two v=spf1 lines are an error: SPF then returns permerror. Merge them into one. An SPF record that forgets your newsletter or invoicing tool is the cause Microsoft calls an "incomplete SPF record".

DMARC record:

dig +short TXT _dmarc.example.com
nslookup -type=TXT _dmarc.example.com

Expected value: v=DMARC1; p=none; rua=mailto:… at minimum. It is not the direct cause of 5.7.1, but a domain without DMARC piles up rejections.

Step 3: fix according to the variant

Unable to relay. According to Microsoft, three common causes: a third party tries to use the server to send spam (nothing to fix, the NDR comes from a forged address), an MX points to a server that does not accept this domain, or the sending tool lacks permission to relay. Fix the MX (step 2), or have the tool or client authorized to relay on the receiving server.

Client was not authenticated. The server requires an authenticated connection. The sending system's administrator must configure it to authenticate with the receiving server: enter a valid account in your sending tool (printer, invoicing software, website) instead of sending anonymously.

Delivery not authorized. Most often, the recipient is a distribution group that accepts only its members or authorized senders. The sender must ask the group's owner for permission. Groups with more than 5,000 members also require a moderator's approval. If no group is involved, a mail flow rule (transport rule) at the recipient may have rejected the message.

RESOLVER.RST.AuthRequired. The administrator must open the public folder in the Exchange admin center, go to "Mail flow settings", clear "Require that all senders are authenticated" and select "All senders".

Client host … blocked using Blocklist 1. Forward the NDR to [email protected], or use Microsoft's delist portal. Fix the cause first (compromised machine, open relay), or the address may be blocked again.

Step 4: resend and check

Resend a test message to the same address. Then check your records from the Internet with our free tools SPF check and DMARC check. The step-by-step guides are here: SPF guides, including the one for Microsoft 365, and DMARC guides.

Check your domain for free. AttackScout reads your SPF and your DMARC from the Internet and tells you which one is the problem. In one minute, no account. Check my domain

To watch these records over time and be alerted to a change, see the pricing.

Frequently asked questions

550 5.7.1: can I fix this error myself?

Microsoft writes that, in general, no: the sender must contact the recipient (by phone, for example) so that their administrator adjusts the configuration. You can, however, fix your own MX and SPF records if your domain is the cause.

550 5.7.1: I get an NDR for a message I did not send.

This is the case Microsoft describes for Unable to relay: a third party used your address as a forged sender, and the NDR reaches you as a side effect. Microsoft notes that this situation is hard to avoid.

550 5.7.1: how does this relate to error 5.7.515?

Both start with 5.7, but 5.7.515 concerns the authentication level required of high-volume senders. See the 550 5.7.515 page.

Sources

Accessed on November 29, 2026.

Get the free alerts