How to Change Exchange Online Disclaimers Based on Sending Domain
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.

- 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.
Ensure you have Exchange Administrator or Global Administrator privileges in your Microsoft 365 tenant to create and manage shared mailboxes and mail flow rules.
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.
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.
Select the newly created shared mailboxes, click on 'Send As' permissions, and add the users who need to send emails using these domain addresses.
Open the Exchange Admin Center. Navigate to Mail flow > Rules. Click 'Add a rule' and select 'Apply disclaimers'.
Under 'Apply this rule if', choose 'The sender' and 'domain is'. Enter the specific sending domain for your first shared mailbox.
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.

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. Download the installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the installer and follow the on-screen instructions to set up the suite on your computer.
- 3. Start creating documents: Open WPS Writer, Spreadsheet, or Presentation to immediately start working with full Microsoft Office format compatibility.

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.




