Send & Receive Issues

Configure Separate Outbound Mail Routes for Staff and Students in Microsoft 365

Algirdas JasaitisAlgirdas Jasaitis Nov 27, 2026 868 views

Question details

Configure different outbound mail routes for staff and students in a hybrid Exchange and Microsoft 365 environment.

Configure Separate Outbound Mail Routes for Staff and Students in Microsoft 365
Product
Microsoft 365 Exchange Online and Exchange Online Protection
Device & OS
not provided
Scenario
Staff and students use separate domains, and external staff mail must pass through a third-party security and policy service.
Observed behavior
Student mail should continue through the normal Exchange Online Protection route, while external staff mail should use the security service.
Before you start

Obtain the security provider's outbound smart host address and TLS requirements, and confirm the staff sending domain. Sign in to the Exchange admin center with an account permitted to manage connectors and mail-flow rules.

Solution 1Recommended

Route External Staff Mail Through a Rule-Scoped Outbound Connector

Use a connector selected by a mail-flow rule so staff messages go to the security service without applying the same route to student messages.

Configure the connector to be used only when a transport rule directs messages to it. The rule then selects external messages from the staff domain; student messages remain on their normal route unless another rule or connector applies.

1
Create an outbound connector

In the Exchange admin center, go to Mail flow > Connectors and select Add a connector. Choose Microsoft 365 as the connection source and Partner organization as the destination, then name the connector.

2
Limit connector use to a rule

When asked when to use the connector, select the option to use it only when a transport rule redirects messages to it.

3
Enter the security service settings

Choose routing through smart hosts and enter the address supplied by the security provider. Configure the TLS and certificate settings according to the provider's instructions, then save and validate the connector as prompted.

4
Create the staff mail-flow rule

Go to Mail flow > Rules and select Add a rule > Create a new rule. Add conditions for the sender's domain to match the staff domain and for the recipient to be outside the organization.

5
Select the connector and test

Under the rule's actions, choose the option to route the message using a connector and select the new connector. Save and enable the rule, then send test messages to an external recipient from both staff and student accounts and check Mail flow > Message trace.

Route External Staff Mail Through a Rule-Scoped Outbound Connector
Check the hybrid route: Follow the security provider's instructions for onward delivery and any return path to Microsoft 365. Review other connectors and rules for conflicts or routing loops before moving staff mailboxes.
Free Microsoft Office alternative

Document Your Mail-Routing Plan with WPS Office

WPS Office is a free, lightweight alternative for preparing routing plans and test records in a familiar interface. It supports common Microsoft Office formats for easy migration, but it does not configure Exchange Online mail flow.

Document staff and student routing rules and test resultsOpen and edit Microsoft Word DOCX and Excel XLSX filesWork in a familiar, easy-to-use office interfaceMove existing office documents into a lightweight suite
microsoft office alternative - wps office

Frequently Asked Questions

How can I keep student mail off the security-service connector?

Set the connector to be used only by a transport rule, and configure the rule under Mail flow > Rules to match the staff sender domain. Check other rules and connectors for settings that might also affect student mail.

Will the staff rule affect internal messages?

Add a condition in Mail flow > Rules requiring the recipient to be outside the organization. The rule will then target external staff messages rather than internal-only messages.

What address should I enter as the smart host?

Use the outbound smart host address supplied by the third-party security provider. Enter it in the connector's routing settings under Mail flow > Connectors, and apply the provider's TLS requirements.

How do I verify which route a message took?

Send test messages from staff and student accounts to an external recipient, then check Mail flow > Message trace in the Exchange admin center. Also check the security provider's logs for the staff test message.