Articles on: Solving Technical Problems

How to fix remote server returned '550 5.1.8 access denied, bad outbound sender as(42004)'

In this quick guide, we guide you into fixing the error remote server returned '550 5.1.8 access denied, bad outbound sender as(42004)'

How to know you're affected by this issue



Look for error messages / delivery errors / NDR (non delivery reports) in the mailbox
Check what error code and reason has been returned by the remote server.
You should find: '550 5.1.8 Access denied, bad outbound sender' and sometimes '550 5.1.8 Access denied, bad outbound sender AS(420004)'

The consequences



The consequences of this 550 5.1.8 error are simple: your emails can't be sent. They're blocked.

Official Reason by Microsoft



According to Microsoft's dedicated documentation, this error occurs when a user tries to send emails after their account exceeds the sending limits in Exchange Online.

MailReach's view on the actual causes



This official reason is a bit vague.

At MailReach we think this issue is a unofficial restriction by Outlook who might think you're sending spam. But it's a blackbox and pretty difficult to understand precisely all the criteria used to trigger this restriction.

It seems to be the equivalent restriction of the user suspensions by Google Workspace.

Here's what we found to be the most probable causes:

The volume of emails sent (especially cold emails). The higher the volume of emails sent the higher the risk to get restricted.
The delay in which the emails are sent. When a lot of emails are sent in a small delay, this issue is more likely to happen.
Some links in the content might increase the risk of having this issue.

Here's how to fix the error 550 5.1.8 Access denied, bad outbound sender



As an Admin of your Office365 tenant, you can unblock user accounts on the Restricted entities page in the Microsoft 365 Defender portal. After you unblock a user account, all restrictions are usually removed within one hour.

As an Admin of your Office 365 do the following steps:

Go directly on the Restricted entities page in the Microsoft 365 Defender portal or follow this path: Microsoft 365 Defender portal > Email & collaboration > Review > Restricted Entities

Select the restricted user and click on Unblock.

Proceed by clicking Next > Submit.

Finally, click on Yes to confirm

After you unblock a user account, all restrictions are usually removed within one hour.

Is it serious? And how bad it is?



So far we've never seen any permanent ban or restriction. Unblocking the users is always possible for now.

We wouldn't say it's super serious, but it's something to consider and you should work on minimizing the risk of it happening again.

How to minimize the risk of having it happening again?



Reduce your daily volume. You should never send more than 100 cold emails per day.
Make sure to send your emails throughout the day, never not all at once or during a small delay.
Consider avoiding using links in your content. Links are one of the top causes of content related spam anyways. The fewer links, the better to land in inbox.

Updated on: 08/08/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!