Enhanced Status Code 5.4.1: Relay Access Denied
Enhanced Status Code 5.4.1 means “Relay Access Denied.” The receiving server will not relay your message or has refused the recipient outright. In Exchange Online this is one of the most common permanent rejections senders meet.
550 5.4.1 Recipient address rejected: Access denied
What does 5.4.1 mean?
In practice 5.4.1 is a Microsoft code. Exchange Online returns it as recipient address rejected with access denied, and as relay access denied. The registry assigns X.4.1 to no answer from host, which is a network condition, and Microsoft's usage has no relation to it.
The two Microsoft forms mean different things. Recipient address rejected with access denied usually means the address does not exist in the tenant, or exists but is configured to reject external mail. Distribution groups and shared mailboxes are frequently set to accept only from authenticated internal senders, which produces this code for every external sender while internal mail flows perfectly. Relay access denied means the server does not consider you authorised to send through it to that destination at all.
The recipient-side restriction is the one worth knowing about, because it is invisible from outside and looks exactly like a bad address. A group configured to require sender authentication rejects everyone external with no indication that the address is valid. If a recipient insists their address works and you are getting 5.4.1, that setting is the first thing for them to check.
How 5.4.1 plays out
5.4.1 rejectionWhere 5.4.1 sits: soft vs hard bounce
| Soft bounce (4xx) | Hard bounce (5xx) | |
|---|---|---|
| Nature | Temporary | Permanent |
| SMTP class | 4xx | 5xx |
| What to do | Let it retry | Suppress the address |
| Recoverable? | Often | No |
| 5.4.1 is | ✓ this code |
What each provider means by 5.4.1
A registered code does not oblige a provider to use it that way, and the large ones diverge. Match the wording in your own bounce, not the definition above.
Common causes of 5.4.1
- The recipient address does not exist in the destination tenant
- A distribution group or shared mailbox is set to accept mail only from authenticated senders
- A mail flow rule at the destination blocks your domain or address
- You are attempting to relay through a server that does not authorise you
- The destination applies a directory-based edge block to unknown recipients
- The recipient organisation restricts inbound mail to an allowed sender list
How to fix 5.4.1
- Confirm the recipient address exists and is spelled correctly
- Ask the recipient to check whether the group or mailbox requires sender authentication
- If relaying, verify you are authenticating and that the domain is registered with the relay
- Ask the recipient administrator to check mail flow rules for a block on your domain
- Do not retry, since the leading 5 makes this permanent and retries harm reputation
- Distinguish this from 5.1.1, which means the address genuinely does not exist