Send & Receive Issues

Fix External Sender Banners for On-Premises Relay Messages in Exchange Online

Bushra ParveenBushra Parveen Nov 18, 2026 868 views

Question details

Prevent trusted messages from an on-premises mail relay from receiving an external-sender banner in Exchange Online.

Fix External Sender Banners for On-Premises Relay Messages in Exchange Online
Product
Microsoft Exchange Online
Device & OS
not provided
Scenario
An organization sends messages through an on-premises relay using its internal domain.
Observed behavior
Exchange Online may treat the relay messages as external and apply an external-sender banner.
Before you start

Identify the rule or feature adding the banner, and confirm the relay's public sending IP address and intended connector in the Exchange admin center. Make sure the relay and its trusted sending path are restricted so unauthorized senders cannot use them.

Solution 1Recommended

Add a Trusted Relay Exception to the Banner Rule

Use this approach when an Exchange Online mail flow rule adds the banner and the relay has a restricted, identifiable sending path.

An exception prevents the selected rule from adding its banner; it does not necessarily make Exchange Online classify the message as internal. Do not exempt messages solely because their visible sender address uses your domain.

A sender IP exception is appropriate only when the IP identifies a trusted, controlled mail path. A shared or unrestricted relay could allow unwanted messages to bypass the banner.

1
Check the relay connector

In the Exchange admin center, open Mail flow > Connectors. Review the inbound connector used by the relay and verify that its certificate or IP restrictions match the intended mail path.

2
Open the banner rule

Go to Mail flow > Rules, select the rule that adds the external-sender banner, and open its conditions for editing.

3
Add a relay exception

Under Except if, choose the sender IP address condition and enter the relay's trusted public sending IP address or range. Save the rule changes.

4
Test both mail paths

Send a test message through the relay and another from an external source, then check their banners. Use Mail flow > Message trace to investigate whether each message followed the expected path.

Add a Trusted Relay Exception to the Banner Rule
Check the banner source: If the banner is generated by a different feature or rule, changing this rule will not remove it. Review the relevant configuration before adding an exception.
Free Microsoft Office alternative

Use WPS Office for Compatible Office Documents

WPS Office is a free, lightweight alternative for everyday document work, with a familiar interface and Microsoft Office format support for easier migration. Exchange Online connector and banner settings must still be managed in Microsoft 365.

Free, lightweight tools for everyday office workCompatibility with Microsoft Word, Excel, and PowerPoint formatsA familiar interface that helps users move between office suitesCreate and edit documents to share alongside your existing email workflow
microsoft office alternative - wps office

Frequently Asked Questions

Why does a message from my internal domain get an external banner?

The message may enter Exchange Online through an on-premises relay and match a rule that treats its mail path as external. Check the banner rule under Mail flow > Rules and review the relay connector under Mail flow > Connectors.

Can I exempt every message that shows my internal domain as the sender?

Avoid that approach because a spoofed message could claim the same domain and bypass the banner. Use a reliable characteristic of a restricted, trusted mail path instead.

Does a relay exception make the message internal in Exchange Online?

Not necessarily. An exception to a banner rule stops that rule from adding the banner, but it does not by itself change Exchange Online's internal or external classification.

Will fixing SPF or enabling DKIM remove the banner?

Not necessarily. SPF and DKIM help authenticate mail, but the banner may still be applied by a mail flow rule. Review the rule in Exchange admin center > Mail flow > Rules.