question

Ian562 avatar image
0 Votes"
Ian562 asked VictorIvanidze-0112 answered

Exchange Online - Route Email by Sender Domain

Hello Everyone,

We use a 3rd party cloud hosted email protection system that we use for our Exchange 2013 user base. We just setup hybrid with Exchange Online and would like to start moving a set of our users to Exchange Online.

The user base on Exchange 2013 uses domain.com while the user base located on Exchange Online uses a child domain of my.domain.com.

Both domains are setup in O365 Admin Center.

I have the following rule created but it seems like the "The sender's domain is..." setting includes both domain.com AND my.domain.com. This caused ALL Exchange Online email to route out through our 3rd party cloud hosted email protection system.

Then I added an Exception of "sender's address domain portion belong to": 'my.domain.com'.


Name: Route domain.com to 3rd party cloud hosted email protection system
If the message:
sender's address domain portion belongs to any of these domains: 'domain.com'

Take the following actions:
Route the message using the connector named 'Outbound to 3rd Party Host Email Protection System'.

Except if the message:
Is sent to 'Inside the organization'
or sender's address domain portion belongs to any of these domains: 'my.domain.com'

This seems to work for the most part but the issue is if anyone with a my.domain.com account has forwarding enabled (which is alot), AND someone from the domain.com sends and email to them it will route out through our 3rd party email protection system.


Is there a better way to create a rule to route Exchange Online users with domain.com outbound through our hosted email protect system AND have our child domain users of my.domain.com route out via O365?

Thanks for any input!
Ian...

office-exchange-server-administrationoffice-exchange-hybrid-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KyleXu-MSFT avatar image
0 Votes"
KyleXu-MSFT answered KyleXu-MSFT commented

@Ian562

Based on my testing, the (The sender's domain is domain.com) in transport rule also contain the child domain of "domain.com". So, the only way is to use an additional filter in "Except if".

One small suggestion: move "Is sent to 'Inside the organization'" from except if to "Apply this rule if" (The sender is located Outside the organization). It could speed up the filter process.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Ian562

Any update about this thread now?

0 Votes 0 ·
VictorIvanidze-0112 avatar image
0 Votes"
VictorIvanidze-0112 answered

Have a look at RouteBySender tool.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.