Exchange Connection Problems

How to Change Exchange Online Disclaimers Based on Sending Domain

Emma BrownEmma Brown Nov 3, 2026 870 views

Question details

An organization needs to apply different email disclaimers in Microsoft 365 depending on the specific sending domain, including when emails are sent from alias addresses.

How to Change Exchange Online Disclaimers Based on Sending Domain
Product
Exchange Online
Device & OS
not provided
Scenario
Configuring organization-wide mail-flow rules to append domain-specific legal disclaimers or signatures for outbound emails.
Observed behavior
Aliases typically default to the primary mailbox address, causing mail-flow rules to apply the wrong domain disclaimer when sending from a secondary alias.
Before you start

Ensure you have Exchange Administrator or Global Administrator privileges in your Microsoft 365 tenant to create and manage shared mailboxes and mail flow rules.

Solution 1Recommended

Use Shared Mailboxes and Mail Flow Rules

Since aliases often default to the primary sender address during mail flow evaluation, using separate shared mailboxes with 'Send As' permissions ensures the domain disclaimer triggers reliably.

Exchange Online evaluates mail flow rules based on the primary SMTP address. If a user sends from an alias, the rule may not recognize the secondary domain. To fix this, you must use distinct shared mailboxes for each domain.

1
Create separate shared mailboxes

Navigate to the Microsoft 365 Admin Center. Go to Teams & Groups > Shared mailboxes, and create a unique shared mailbox for each domain you want to send from.

2
Assign 'Send As' permissions

Select the newly created shared mailboxes, click on 'Send As' permissions, and add the users who need to send emails using these domain addresses.

3
Create a new mail flow rule

Open the Exchange Admin Center. Navigate to Mail flow > Rules. Click 'Add a rule' and select 'Apply disclaimers'.

4
Define the domain condition

Under 'Apply this rule if', choose 'The sender' and 'domain is'. Enter the specific sending domain for your first shared mailbox.

5
Append the disclaimer

Enter the HTML or plain text disclaimer content for that specific domain. Save the rule, and then repeat this process to create a separate rule for the second domain.

Use Shared Mailboxes and Mail Flow Rules
Testing your rules: Always test your mail flow rules by sending an email to an external address before applying them organization-wide to ensure the correct disclaimer is appended.
Free Microsoft Office alternative

Looking for a cost-effective office suite for your organization?

While Exchange Online handles your email infrastructure, WPS Office provides a powerful, free, and lightweight suite for creating the documents, spreadsheets, and presentations you share via email. Enjoy a familiar interface and seamless compatibility with Microsoft Office formats without the hefty subscription fees.

  1. 1. Download the installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install WPS Office: Run the installer and follow the on-screen instructions to set up the suite on your computer.
  3. 3. Start creating documents: Open WPS Writer, Spreadsheet, or Presentation to immediately start working with full Microsoft Office format compatibility.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight design that runs smoothly on PCs, Macs, and mobile devices.Built-in PDF editor for securing and signing documents before emailing them.Familiar user interface ensuring a zero learning curve for your team.
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't my Exchange mail flow rule recognize my alias address?

Exchange typically evaluates mail flow rules based on the primary SMTP address of the sender's mailbox. Because of this, conditions set specifically for an alias address might be bypassed. Using shared mailboxes with distinct primary addresses resolves this issue.

Can I format my Exchange disclaimers with HTML?

Yes, Exchange Online fully supports HTML formatting in disclaimers. This allows you to include company logos, hyperlinks, and specific text styles to match your organization's branding requirements.

Is it possible to prevent disclaimers from stacking on replies?

Yes. When creating the disclaimer rule in the Exchange Admin Center, you can specify a fallback action. Choose 'Wrap' if the disclaimer can't be added, or add an exception to bypass the rule if the email subject contains 'RE:' or if the email body already contains specific text from the disclaimer.