Anti-spam protection - Microsoft Defender for Office 365 (original) (raw)

In all organizations with cloud mailboxes, email messages are automatically protected against spam (junk email).

To help reduce junk email, Microsoft 365 includes junk email protection using proprietary spam filtering (also known as content filtering) technologies to identify and separate junk email from legitimate email. Spam filtering learns from known spam and phishing threats and user feedback from our consumer platform, Outlook.com. Ongoing feedback from admins and users helps ensure our filtering technologies are continually trained and improved.

Microsoft 365 uses the following spam filtering verdicts to classify messages:

For more information about anti-spam protection, see the Frequently asked questions: Anti-spam protection for cloud mailboxes

In the default anti-spam policy and in custom anti-spam policies, you can configure the actions to take based on these verdicts. In the Standard and Strict preset security policies, the actions are already configured and unmodifiable as described in Anti-spam policy settings.

To configure the default anti-spam policy, and to create, modify, and remove custom anti-spam policies, see Configure anti-spam policies.

Tip

Anti-spam policies

Anti-spam policies control the configurable settings for spam filtering. The important settings in anti-spam policies are described in the following subsections. For troubleshooting information, see Troubleshoot common anti-spam policy issues.

Tip

The anti-spam policy settings in the default policy and in the Standard and Strict preset security policies are described in Anti-spam policy settings.

Recipient filters in anti-spam policies

Recipient filters use conditions and exceptions to identify the internal recipients that the policy applies to. At least one condition is required in custom policies. Conditions and exceptions aren't available in the default policy (the default policy applies to all recipients). You can use the following recipient filters for conditions and exceptions:

You can use a condition or exception only once, but the condition or exception can contain multiple values:

Bulk complaint threshold (BCL) in anti-spam policies

Microsoft 365 assigns a bulk complaint level (BCL) value to inbound messages from bulk senders. Messages from bulk senders are also known as bulk mail or gray mail.

For more information about BCL, see Bulk complaint level (BCL).

Tip

By default, the PowerShell only setting MarkAsSpamBulkMail is On in anti-spam policies in Exchange Online PowerShell. This setting dramatically affects the results of a Bulk compliant level (BCL) met or exceeded filtering verdict:

Spam properties in anti-spam policies

The Test mode settings, the Increase spam score settings, and most of the Mark as spam settings are part of Advanced Spam Filtering (ASF) in anti-spam policies.

These settings aren't configured in the default anti-spam policy by default, or in the Standard or Strict preset security policies.

For complete information about ASF settings, see Advanced Spam Filter (ASF) settings in anti-spam policies.

The other settings that are available in this category are:

These settings aren't configured in the default anti-spam policy by default, or in the Standard or Strict preset security policies.

Actions in anti-spam policies

Zero-hour auto purge (ZAP) in anti-spam policies

ZAP for phishing and ZAP for spam are able to act on messages after they're delivered to Exchange Online mailboxes. By default, ZAP for phishing and ZAP for spam are turned on, and we recommend that you leave them on. For more information, see:

Quarantine policies in anti-spam policies

For quarantine verdicts in anti-spam policies, quarantine policies define what users are able to do to those quarantined messages, and whether users receive quarantine notifications. For more information, see Anatomy of a quarantine policy.

Allow and block lists in anti-spam policies

Anti-spam policies contain the following lists to allow or block specific senders or domains:

By default, these lists aren't configured in the default anti-spam policy. You can't configure the lists in the Standard or Strict preset security policies.

The following features mostly replace these lists:

Priority of anti-spam policies

If preset security policies are turned on, the Standard and Strict preset security policies are applied before any custom anti-spam policies or the default policy. If you create multiple custom anti-spam policies, you can specify the order of policy application. Policy processing stops for eligible recipients after the application of the first eligible policy (the highest priority policy for that recipient).

For more information about the order of precedence and how multiple policies are evaluated, see Order and precedence of email protection and Order of precedence for preset security policies and other policies.

Default anti-spam policy

Every organization has a built-in anti-spam policy named Default that has the following properties: