In this post, let’s have a look at the error message “5.4.1 – Relay Access Denied” that you get when working with Microsoft 365 Exchange Online.
These are the errors that you usually receive when there is a problem in delivering the email message that was sent by you. These errors are generated and sent by Office 365. This is usually alled as DSN which stands for delivery status notification or in simple words bounce messages.
NDR or Non-delivery report is one of the common type of message that you receive which indicates to the user that the email was not delivered.
5.4.1 – Relay Access Denied
The mail server that’s generating the error doesn’t accept mail for the recipient’s domain. This error is caused by mail server or DNS misconfiguration.
For more information, see Fix email delivery issues for error code 5.4.1 in Exchange Online.