If you find that emails are not arriving at their destination and find the following error in the Exim error_log, you may need to take the actions in the Answer Section.
Error found in Exim error_log:
SMTP error from remote mail server after RCPT TO:<email@example.com>: 550 5.4.1 Recipient address rejected: Access denied.
MX records for the receiving email server are 'mail.protection.outlook.com':
# host domain.tld
domain.tld mail is handled by 10 domain-tld.mail.protection.outlook.com. <-- here
# host domain-tld.mail.protection.outlook.com
domain-tld.mail.protection.outlook.com has address 184.108.40.206
domain-tld.mail.protection.outlook.com has address 220.127.116.11
There may be an issue at 'mail.protection.outlook.com' that needs attention. We found the below steps that may be useful in resolving the error.
If external senders receive NDR 5.4.1 when they send mail to recipients in your domain, please try the steps below:
- Open the Office 365 portal at https://portal.office.com.
- Click Domains and verify your domain appears in the list as Active.
- Select the domain and click Troubleshoot. Follow the troubleshooting wizard steps.
If you maintain control of the DNS records for your Office 365 domain, you can also check the status of the domain in the Exchange admin center by performing these steps:
- Open the Office 365 portal, click Admin, and select Exchange.
- Click Mail flow > Accepted domains.
- Verify that your domain is listed, and verify the Domain Type value for the domain. Typically, the Domain Type value should be Authoritative. However, if you have properly configured a shared domain, the value may be Internal Relay.
This information is from the following URL: https://answers.microsoft.com/en-us/msoffice/forum/all/mailprotectionoutlookcom-is-rejecting-my-mails/5a6bb9e0-062c-44e0-8a60-d79959bc003e