Create and enable a BrandMail transport rule in Exchange
This article helps Exchange administrators create and enable a transport rule that routes messages through the BrandMail connector.
Before you begin
- Have access to the Exchange admin center and its mail flow rules.
- Have the sender group, routing connector and sender address text needed for your rule.
Steps
Create the rule
- Select Mail flow > Rules in the Exchange admin center.
- Select Add a rule.

- Select Create a new rule.

- Enter a descriptive rule name in Name.
- Select The sender under Apply this rule if.
- Select is a member of this group.
- Select the sender group for messages that should use the BrandMail connector.
- Select Redirect the message to under Do the following.
- Select the following connector.
- Select your BrandMail routing connector.

Add exceptions
- Select Add exception under Except if.

- Select The sender for the first exception.
- Select address includes any of these words.
- Enter the sender address text to exclude from the rule.

- Select The message properties in the next Or row.
- Select include the message type.
- Select Calendaring as the message type.

- Select The message headers... in the next Or row.
- Select includes any of these words.
- Enter
X-BrandMail-Processed as the message header. - Enter
true as the header value.
Set and review the rule
- Select Next to open Set rule settings.
- Select Enforce under Rule mode.
- Select High under Severity.

- Select Stop processing more rules.

- Select Next to open Review and finish.
- Review the rule conditions, exceptions and settings.
- Select Confirm on the connector warning to continue.

- Select Finish.
- Select Done to return to the rules list.
Enable the rule
- Select the new rule in the rules list and click Disabled hyperlink.

- Select the Enable rule switch in the rule details pane.
- Select Confirm on the connector warning.

Click X in the top right to close the pane.
Wait a minute or so for the mail transport rule to take effect.
The rule status will eventually change to Enabled.