Short answer:
In a hybrid Microsoft 365 setup with Centralized Mail Transport (CMT), Xink rerouting may bypass your on-premises Exchange. To fix this, create a connector and transport rule to route Xink-processed emails back through your on-premises environment.
This guide is intended for Exchange Administrators, IT Administrators, and Microsoft 365 Administrators.
Environment
Microsoft 365 and Exchange Server hybrid environment with Centralized Mail Transport (CMT) enabled.
All outbound emails from both on-premises and Exchange Online users are routed through the on-premises Exchange server.
Problem
After enabling Xink server-side (rerouting), outbound emails from Exchange Online users may be routed through Microsoft Exchange Online Protection (EOP) instead of your on-premises Exchange environment.
Solution
Ensure that Xink-processed emails are routed back through your on-premises Exchange by:
- Creating a new Outbound connector
- Creating a transport rule targeting Xink-handled messages
Step 1 – Create a new outbound connector
- Sign in to the Microsoft 365 admin center.
- Go to Mail flow > Connectors.
- Create a new Outbound connector to route Xink-handled messages to your on-premises Exchange environment.

Step 2 – Create a transport rule for Xink-handled emails
Note: This rule must only apply to emails processed by Xink (identified by the header X-Xink-Handled).
- In the Exchange Admin Center, go to Mail flow > Rules.
- Click + and select Create a new rule.
- Click More options to expand all settings.
- Name the rule (e.g. FromXink-to-OnPremises).
- Set the condition:
A message header > includes any of these words
Header name: X-Xink-Handled
Value: Yes - Add action:
Modify the message properties > set a message header
Header: X-Goto-OnPremises
Value: Yes - Add another action:
Redirect the message to > the following connector
Select your outbound connector (e.g. XinkOut-to-OnPremises) - Add an exception:
A message header > includes any of these words
Header: X-Goto-OnPremises
Value: Yes - Click Save.

Result
All emails processed by Xink server-side will now be routed back to your on-premises Exchange environment.
Your Centralized Mail Transport configuration will then handle final delivery to recipients, ensuring consistent routing and compliance with your existing mail flow setup.
