How Country-Based Anti-Spam Blocking Works in Office 365
Question details
Administrators need clarification on whether configuring country or language conditions in Microsoft 365 Defender anti-spam policies blocks all emails from those regions or only high-confidence spam messages.

- Product
- Microsoft 365 Defender
- Device & OS
- not provided
- Scenario
- Configuring email filtering rules and international anti-spam policies based on geographic locations or specific languages.
- Observed behavior
- Administrators want to understand the exact filtering algorithm to ensure legitimate emails from selected countries are not inadvertently rejected or quarantined.
Ensure you have global administrator or security administrator privileges in the Microsoft 365 Defender portal to review or modify threat policies.
Understanding and Checking International Spam Policies
Review how the spam filter processes country and language conditions and verify your current policy settings to prevent blocking legitimate emails.
Country and language conditions in a Microsoft 365 Defender anti-spam policy do not automatically block every legitimate message originating from the selected regions.
Instead, these conditions act as an additional filtering layer. They trigger only when a message from a selected country or language is classified as high-confidence spam. Depending on the action configured in your policy, these specific messages may be rejected, quarantined, or routed to the recipient's Junk Email folder.
Log in to the Microsoft 365 Defender portal using your administrator credentials.
In the left navigation menu, go to Email & collaboration, then click on Policies & rules followed by Threat policies.
Click on Anti-spam to view your organization's active policies. Select the policy you wish to review (note that custom policies always take precedence over the default policy).
Scroll down to the 'International spam' section. Here you can review which countries or languages are targeted and verify what actions (such as Quarantine or Move to Junk) are applied when high-confidence spam is detected from these sources.

Manage Your Documents Efficiently with WPS Office
While Microsoft 365 manages enterprise email and security policies, WPS Office provides a lightweight, comprehensive suite for all your document needs. Enjoy seamless compatibility with Microsoft Word, Excel, and PowerPoint files without the heavy subscription costs.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install the Software: Run the downloaded installer and follow the simple on-screen instructions to complete the setup.
- 3. Start Creating: Launch WPS Office to instantly begin creating, editing, and managing your Word, Excel, PowerPoint, and PDF files.

Frequently Asked Questions
Will legitimate emails from a blocked country be rejected?
No, selecting a country in the anti-spam policy does not block all emails from that region. It only applies the configured policy action (like moving the message to Junk or quarantining it) if the email is explicitly classified as high-confidence spam.
Can I delete the default anti-spam policy in Microsoft 365?
No, the default anti-spam policy cannot be deleted. However, administrators can edit its settings or create new custom anti-spam policies. Custom policies always take precedence over the default one.
How do custom anti-spam policies interact with the default policy?
Custom anti-spam policies can be assigned specific priority levels. They are processed before the default policy. If a message matches the conditions of a custom policy, the actions defined in that custom policy are applied instead of the default rules.




