Use mail flow rules to set the spam confidence level (SCL) in messages
You can create a mail flow rule (also known as a transport rule) that sets the spam confidence level (SCL) of an email message. The SCL is a measure of how likely a message is to be spam. Spam is unsolicited (and typically unwanted) email messages. The service takes different action on a message depending on its SCL rating. For example, you might want to bypass spam content filtering for messages that are sent from people inside your organization because you trust that a message sent internally from a colleague isn't spam. Using mail flow rules to set the SCL value of a message gives you increased control in handling spam.
What do you need to know before you begin?
Estimated time to complete this procedure: 10 minutes.
You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Mail flow rules" entry in Feature Permissions in Exchange Online or Feature permissions in EOP.
For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts for the Exchange admin center in Exchange Online.
To create a mail flow rule that sets the SCL of a message
In the Exchange admin center (EAC), choose Mail flow > Rules.
Choose New, and then select Create a new rule.
Specify a name for the rule.
Choose More options, and then under Apply this rule if, specify a condition that will trigger the action you'll be setting for this rule (which is to set the SCL value).
For example, you can set The sender > is internal/external, and then in the select sender location dialog box, select Inside the organization, and choose ok.
Under Do the following, select Modify the message properties > set the spam confidence level (SCL).
In the specify SCL dialog box, select one of the following values, and choose ok:
Bypass spam filtering - This sets the SCL to -1, which means that content filtering won't be performed.
0-4 - When you set the SCL to one of these values, the message will be passed along to the content filter for additional processing.
5, 6 - When you set the SCL to one of these values, the action specified for Spam in the applicable content filter policies will be applied. By default, the action is to send the message to the recipient's Junk Email folder.
7-9 - When you set the SCL to one of these values, the action specified for High confidence spam in the applicable content filter policies will be applied. By default, the action is to send the message to the recipient's Junk Email folder.
Specify additional properties for the rule, and choose save.
For more information about the additional properties you can select or specify for this rule, see Use the EAC to create mail flow rules.
How do you know this worked?
To verify that this procedure is working correctly, send an email message to someone inside your organization, and verify that the action performed on the message is as expected. For example, if you set the spam confidence level (SCL) to Bypass spam filtering, then the message should be sent to the specified recipient's inbox. However, if you set the spam confidence level (SCL) to 9, and the High confidence spam action for your applicable content filter policies is to move the message to the Junk Email folder, then the message should be sent to the specified recipient's Junk Email folder.