Organization-wide message disclaimers "except For" stopped working

Steve Parry (SAMS) 0 Reputation points
2024-09-09T06:02:16.9266667+00:00

I have a Mail Transport Rule (established following the principles here: https://learn.microsoft.com/en-us/exchange/security-and-compliance/mail-flow-rules/disclaimers-signatures-footers-or-headers).

This rule has been working fine, successfully not adding another disclaimer if part of the text in the disclaimer already existed in the Message.

A few weeks ago (specific date unknown) I found that the transport rule had stopped detecting that there was already the disclaimer text present, and therefore email trails were having numerous disclaimers added.

When I investigated last week I discovered that something seems to have changed, and the exclusion text (which definitely exists in the disclaimer) wasn't being triggered.

I tested this by copying the text I was searching for to before the "dash dash space" at the head of the disclaimer, for which the transport rule worked as expected. Putting the search text after the "-- " failed, as did removing the "-- " altogether.

Does anyone have any ideas or suggestions?

Thank you!

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,606 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jake Zhang-MSFT 5,055 Reputation points Microsoft Vendor
    2024-09-09T08:37:06.0533333+00:00

    Hi @Steve Parry (SAMS) ,

    Welcome to the Microsoft Q&A platform!

    It sounds like you have a well-thought-out mail transport rule to manage your email disclaimers, but something has changed, causing issues. Let's break down some potential troubleshooting steps and solutions to address this.

    Potential Causes and Solutions:

    1. Format and Punctuation Changes:
    • Your detailed testing indicates that the presence of -- (dash dash space) might be creating an issue.
    • Ensure that there have been no changes in formatting or hidden characters within the disclaimer text. Sometimes, even an invisible character can cause mismatches.
    1. Email Encoding:
    • If the encoding of emails has changed (e.g., from plain text to HTML), it might affect how text is detected. Verify that the transport rule applies to the correct encoding.
    1. Rule Order and Conditions:
    • Double-check the order of your transport rules. They are processed in order, and a preceding rule might be affecting the processing of your disclaimer rule.
    • Review all conditions and exceptions in the rule to make sure they still match your requirements. 4. Recent Updates or Changes:
    • Check if there were any recent updates or changes to your email server or platform that might affect mail transport rules. Microsoft Exchange and similar platforms often receive updates that can change behavior slightly.
    1. Testing and Isolation:
    • As you indicated, the problem seems to be with the text detection after -- . Try simplifying the disclaimer temporarily to isolate the issue.
    • Test different variations of the disclaimer, such as removing or altering the problematic text. This can help pinpoint the cause.

    Steps to Test and Validate:

    1. Verify Rule Configuration:
    • Access the rule settings in your Exchange admin center.
    • Ensure that the text matching condition is exactly as intended.
    1. Create a Test Rule:
    • Create a simplified test rule with a basic disclaimer without the -- and see if it is detected correctly.
    • Gradually introduce elements of the original disclaimer until you identify the breaking point.
    1. Log and Monitor:
    • Enable logging for your mail transport rule (if available). Sometimes detailed logs can provide insights into why the match fails.
    1. Contact Support:
    • If the issue persists, consider reaching out to Microsoft Support or consulting Exchange community forums. Document your findings and tests to provide them with detailed context.

    Example Transport Rule Update:

    1. Modify Disclaimer Text:
    • Ensure that your disclaimer template does not contain problematic characters.
    • Example:
    
    --
    
    Legal Disclaimer: This email and its attachments are confidential... 
    
    
    1. Testing Scenario:
    • Create emails that test just before and just after the -- to isolate the change. 

    Please feel free to contact me for any updates. And if this helps, don't forget to mark it as an answer.

    Best,

    Jake Zhang


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.