550 5.4.1: recipient address rejected, access denied

Quick fix

Check that the recipient address is spelled correctly. If every address at the domain bounces, the recipient's email admin must check the domain's setup in Microsoft 365.

How to fix it

  1. Check the spelling of the recipient address in the bounce against the one you meant to use.
  2. Find out whether one address or every address at the domain is rejected.
  3. If every address is rejected, the recipient's email admin should check the accepted domain in Microsoft 365. Microsoft's page describes switching it from Authoritative to Internal relay and back.
  4. For Relay Access Denied, check the MX records of the recipient's domain and the mail server's configuration.

Learn more: MX records explained: priority and null MX

How to check

The DNS lookup shows the MX records of the recipient's domain, which is where senders deliver mail. For the Relay Access Denied variant, check that they point to the server that should receive mail for the domain. It cannot tell whether a single mailbox exists: only the receiving organization can.

The DNS lookup opens with your domain filled in; it runs when you press Check.

Tools to check it

What the error means

Full error texts: 550 5.4.1 Recipient address rejected: Access denied and 5.4.1 Relay Access Denied

550 5.4.1 is a Microsoft 365 or Exchange Online bounce that is about the recipient, not about your SPF, DKIM or DMARC. Microsoft's list of SMTP errors has it twice: "Recipient address rejected: Access denied" and "Relay Access Denied".

For Recipient address rejected: Access denied the list says "The recipient's address doesn't exist." Microsoft's page for this error says "This automated notification displays when the recipient's email address is invalid." and "The NDR is generated when directory-based edge blocking in Microsoft Exchange Online blocks an incoming email message because the recipient's email address is invalid."

For Relay Access Denied the list says "The mail server that's generating the error doesn't accept mail for the recipient's domain. Mail server or DNS misconfiguration causes this error." This is a different cause under the same code: the receiving server does not treat the domain as one it accepts mail for.

Sources

All findings