550 5.7.64 Microsoft bounce: relay access denied
What 550 5.7.64 means
Exchange Online refused mail arriving from your organisation's on-premises mail system because the inbound connector no longer matches that server. Only an email administrator in your own Microsoft 365 organisation can fix the connector.
Message text
TenantAttribution; Relay Access Denied
Common causes of 550 5.7.64
- Certificate host name on the inbound connector no longer matches the source server
- Source server's IP address changed and is no longer listed on the connector
How to fix 550 5.7.64
- Ask your Microsoft 365 email administrator to check the inbound connector's certificate host name and source IP addresses against the on-premises server.
- Read the Diagnostic information for administrators section of the bounce for the original error.
Check your domain
Read the headers of a bounced messageRuns in your browser; nothing is uploaded.
Get your domain's deliverability score
Have the full bounce message? Paste it into the bounce code lookup and it will match the code and the provider for you. Open the bounce code lookup.
How to read 550 5.7.64
The first part, 550, is the SMTP reply code. Requested action not taken, mailbox unavailable: the mailbox does not exist, is not allowed, or the message was refused for policy reasons. Replies that start with 4 are temporary and replies that start with 5 are permanent (RFC 5321 §4.2.1).
The second part, 5.7.64, is an enhanced status code (RFC 3463 §2) written class.subject.detail. Class 5 is a Permanent failure (5xx): the command was rejected and the sender should not repeat it unchanged (RFC 5321 §4.2.1; RFC 3463 §2).. Subject 7 is security or policy: authentication, authorization or policy refused the message. The detail number refines the subject, and providers may define details of their own, which is why one code can read differently at Gmail, Microsoft and Yahoo.
Do not keep resending the same message: a permanent failure repeats until the cause is fixed. Correct the cause, then send a new message.
Official source: learn.microsoft.com. Last verified 2026-10-29.
Related guides
- How to create an SPF record (syntax and examples)
- How DKIM works and how to publish a DKIM record
- How to set up a DMARC record, from p=none to p=reject
Related codes
- 5.7.508 Microsoft: ipv6 range over limit
- 5.7.511 Microsoft: sending ip banned
- 5.7.513 Microsoft: recipient custom blocklist
- 5.7.504 Microsoft: recipient address rejected
- 5.7.506 Microsoft: bad helo name
- 5.7.512 Microsoft: from address missing
FAQ
What does 550 5.7.64 mean?
Exchange Online refused mail arriving from your organisation's on-premises mail system because the inbound connector no longer matches that server. Only an email administrator in your own Microsoft 365 organisation can fix the connector. This is a permanent failure.
How do I fix 550 5.7.64?
Ask your Microsoft 365 email administrator to check the inbound connector's certificate host name and source IP addresses against the on-premises server. Read the Diagnostic information for administrators section of the bounce for the original error.
Is 550 5.7.64 permanent, and should I retry?
550 5.7.64 is a permanent failure, so retrying the same message will fail again. Fix the cause first, then send a new message.