#550 5.7.1 Message rejected as spam by Content Filtering
Some messages are not being received and are being bounced with the message:
email@example.com (Undelivered): 550 5.7.1 Message rejected as spam by Content Filtering.
where "firstname.lastname@example.org" is the email address of the recipient on your exchange server.
For some reason the message is being rejected by Content Filtering in Exchange.
Microsoft don't give details on what triggers the Content Filter to block emails, so you may never know exactly why an email was blocked by the Content Filter.
These notes assume that the email is good and shouldn't be blocked.
If you are the sender and don't have access to the configuration on the recipient's exchange server then all you can do is make a guess at which words or phrases might be triggering a negative score for the email or contact the exchange server administrator and ask for their help (point them to these notes should help).
- Disable Exchange Content Filtering. This isn't desirable because it would open the flood gates to spam, so I'm not going to cover it further. Even if you use an external filtering service, disabling Exchange's filtering is still a bad idea.
- Change Content Filter settings to not reject, so email goes in
recipients Junk items instead of the email being rejected.
- Open Exchange Management Console
- Navigate down to Microsoft Exchange On-Premises > Organization Configuration > Hub Transport.
- Open the "Anti-spam" tab.
- Right click on "Content Filtering" and select "Properties".
- Select the "Action" tab.
This is where you configure what to do with emails that are flagged as spam.
- Clear the check box next to "Reject messages with SCL rating
greater than or equal to ...".
The email will still be regarded as junk, but will now appear in the recipient's junk email folder instead of being rejected.
Note: If you have "Reject messages ..." cleared then clear "Delete messages ..." as well.
- Whitelist the sender.
Annoyingly the Content Filter in Exchange Management Console doesn't provide the option to whitelist a sender. Yet you can whitelist a sender - details are here: How to add sender exceptions to content filtering. This method doesn't require any changed to the "Content Filtering" settings.
These notes have been tested with Exchange Server 2010.
About the author: Brian Cryer is a dedicated software developer and webmaster. For his day job he develops websites and desktop applications as well as providing IT services. He moonlights as a technical author and consultant.