5.4.1: Recipient address rejected: access denied (Microsoft 365)

At a glance

Microsoft 365 refused the recipient at the edge of its network. Most often the address does not exist in that organization; sometimes the organization's mail setup does not accept mail for the domain at all.

What it means

In the IANA registry, X.4.1 is "no answer from host", a network code that RFC 3463 §3.5 treats as transient only. Microsoft uses 5.4.1 in its own way, for two different rejections (Exchange Online NDR reference):

Both are permanent. The text after the code tells you which one you have.

Common causes

For "Recipient address rejected":

For "Relay Access Denied":

How to fix it

If you are the sender:

  1. Check the spelling of the address and confirm it with the person through another channel.
  2. For "Relay Access Denied", tell the recipient's organization. Only their administrator can fix it.

If you run the receiving organization:

  1. For "Recipient address rejected", check that the address is assigned to a mailbox, group or contact in your directory. If it should exist and does not, add it to the right recipient.
  2. For "Relay Access Denied", check that the domain is listed and verified as an accepted domain in Microsoft 365, and that its MX records match what Microsoft 365 shows for it.
  3. Send a test from an outside account after each change.

What to do with the address

For "Recipient address rejected: Access denied", treat the address as not existing: suppress it, like 550 5.1.10. For "Relay Access Denied", the address may be fine; the whole domain is failing, so hold it and contact the organization before removing anything.

See every bounce code in the dictionary.

Many bounces from addresses that do not exist can be avoided: check an address with our free email checker, or clean a whole list before you send.

How we wrote this: drafted by the email-validation.org team with the help of AI writing tools, from our product documentation and the sources linked in the text.

Updated · Maintained by the email-validation.org team