Security Policy Errors

How to Create OR Conditions in Exchange Mail Flow Rules

Jason MillerJason Miller Oct 28, 2026 869 views

Question details

The user needs to set up OR conditions for mail flow rules in the updated Exchange Admin Center but can only find options for adding AND conditions.

How to Create OR Conditions in Exchange Mail Flow Rules
Product
Microsoft Exchange
Device & OS
not provided
Scenario
Configuring email routing and security policies in the Exchange Admin Center.
Observed behavior
The updated interface allows users to easily add AND conditions, but lacks a visible, separate option for creating OR conditions between different rule criteria.
Before you start

Ensure you have Exchange administrator privileges to access, modify, and prioritize mail flow rules within the Exchange Admin Center.

Solution 1Recommended

Use Multiple Values within a Single Condition

Add multiple items (such as specific words, phrases, or email addresses) inside one condition, which Exchange automatically treats as an OR operation.

In the Exchange Admin Center, you do not need a dedicated 'OR' button if your alternatives belong to the same condition type. By simply adding multiple values to a single condition, the system evaluates them as alternatives.

1
Access Mail Flow Rules

Log into the Exchange Admin Center and navigate to the 'Mail flow' section, then select 'Rules'.

2
Edit or Create a Rule

Click the '+' icon to create a new rule or select an existing rule and click 'Edit'.

3
Select a Condition

Under the 'Apply this rule if' section, choose your desired condition (for example, 'The subject or body includes').

4
Input Multiple Values

Enter your first word, phrase, or address into the value field and add it. Repeat this process for all alternative values. The rule will trigger if any one of these values is detected.

Use Multiple Values within a Single Condition
Automatic OR Logic: As long as the values are grouped under the exact same condition dropdown, Exchange automatically applies an OR logic to evaluate them.
Free Microsoft Office alternative

Manage Document Attachments Seamlessly with WPS Office

While Microsoft Exchange efficiently manages your organizational email rules, handling the actual documents attached to those emails shouldn't be a hassle. WPS Office provides a free, lightweight, and highly compatible suite for word processing, spreadsheets, and presentations, offering a familiar UI and seamless migration from Microsoft Office.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the downloaded installer and follow the simple on-screen instructions to set up WPS Office on your computer.
  3. 3. Open Your Documents: Launch WPS Office and start seamlessly opening and editing your Microsoft Office email attachments.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Easily open, edit, and save document attachments routed through your mail flow.Lightweight design that consumes minimal system resources.Familiar user interface for a zero-learning-curve transition.
QA img-9

Frequently Asked Questions

Why do my multiple conditions act as an AND statement instead of OR?

In Exchange mail flow rules, adding multiple separate conditions automatically applies an AND operator. To use OR logic, you must either add multiple values inside a single condition or create entirely separate rules.

Can I use 'Stop processing more rules' with multiple OR rules?

Yes. When using separate rules to mimic an OR condition, checking 'Stop processing more rules' prevents subsequent rules from applying once the first matched rule executes its action.

Is there a specific OR button in the new Exchange Admin Center?

No, the updated Exchange Admin Center UX does not have a standalone 'OR' button for combining different conditions. You must rely on multiple values in one condition or configure multiple distinct rules.