How to Block or Quarantine All International Emails in Microsoft 365
Question details
The user needs to block or quarantine every email message originating from selected international countries, rather than only filtering high-confidence spam.

- Product
- Microsoft 365 Exchange
- Device & OS
- not provided
- Scenario
- Configuring email security policies to strictly block or quarantine all incoming mail from specific foreign regions.
- Observed behavior
- Standard Microsoft 365 anti-spam country and language filters only apply to messages classified as high-confidence spam, allowing normal emails from those countries to be delivered.
Ensure you have global administrator or Exchange administrator permissions in Microsoft 365, as modifying mail flow rules requires elevated administrative access.
Create Exchange Mail Flow Rules
Use Exchange Admin Center mail flow rules to bypass the limitations of standard anti-spam filters and enforce strict blocking based on sender location or headers.
Microsoft's default anti-spam country settings are designed to only filter out high-confidence spam. This means legitimate-looking emails from blocked countries will still reach user inboxes. To categorically block all emails from specific regions, you must configure a dedicated mail flow rule in the Exchange Admin Center.
Log in to the Microsoft 365 admin portal and navigate to the Exchange Admin Center. From the left-hand navigation menu, click on 'Mail flow' and select 'Rules'.
Click the plus icon (+) and select 'Create a new rule'. Give your rule a descriptive name, such as 'Block International Senders', and click 'More options' at the bottom of the window to see all available conditions.
Under 'Apply this rule if', select conditions that target the specific regions. You can use 'The sender is located' if available, or filter by specific top-level domains (like .ru or .cn) using the sender domain condition.
Under 'Do the following', select 'Block the message' to reject the emails outright, or choose 'Deliver the message to the hosted quarantine' if you want administrators to review them first.
Review your settings and click 'Save'. Ensure the checkbox next to the new rule is checked so that the policy is active across your organization.

Switch to WPS Office for a Streamlined Experience
If you are looking for a simpler, lightweight, and highly compatible alternative to Microsoft's complex software ecosystem, WPS Office provides everything you need to create, edit, and manage your documents for free.
- 1. Visit the Official Site: Go to the official WPS Office website to download the latest version for your operating system.
- 2. Install the Software: Run the downloaded installer and follow the quick on-screen prompts to set up the software.
- 3. Open Your Documents: Launch WPS Office and directly open your existing Microsoft Office files without losing any formatting.

Frequently Asked Questions
Why do emails from blocked countries still go to my users' inboxes?
If you relied on the standard anti-spam filter in the Microsoft Defender portal, it is designed to only flag and block high-confidence spam from those selected countries. Normal emails are delivered normally unless blocked by a specific Exchange mail flow rule.
Can I quarantine international emails instead of deleting them permanently?
Yes. When setting up your Exchange mail flow rule, you can select the action 'Deliver the message to the hosted quarantine'. This holds the messages safely so an administrator can review and release them if they are legitimate.
Where did the country picker go in the new spam filter interface?
Microsoft frequently updates the Defender portal. The country and language blocking features are now integrated directly into the Anti-spam inbound policy settings, but remember that they still only apply to messages categorized as high-confidence spam.
Can I block specific international domains instead of entire countries?
Absolutely. You can create a mail flow rule in the Exchange Admin Center that blocks specific top-level domains (like .ru, .br, or .cn) or specific sender email addresses by selecting the 'sender domain is' condition.




