HCHTech
Well-Known Member
- Reaction score
- 4,252
- Location
- Pittsburgh, PA - USA
This is kind of a long-standing question for me, and some work today brought it back to the fore.
When you are creating an Exchange Transport Rule, and you want to enter an exception if the body of the email contains a specific phrase, do you use the operator "Subject or body includes any of these words" or "Subject or body matches these text patterns"?
I think MS has changed the wording of these selections over the years, and on its face, it appears that if you want the exception ONLY if a specific phrase is found, then you shouldn't be using the "Subject or body include any of these words". If you then enter the phrase "Elephant Graveyard", that would imply that the exception would fire if either the word "Elephant" or the word "Graveyard" was found.
Conversely, the other choice "Subject or body matches these text patterns" seems like the right choice for an exact phrase match. However, it isn't clear to me whether you have to put your answer in regex for this choice. I know regex expressions are ALLOWED, but I don't know if they are REQUIRED. For my example, can I just type in "Elephant Graveyard", or must I type \bElephant Graveyard\b (or some other regex equivalent)?
I've tried some trial and error, but it would be nice to know the real answer. Does anyone know?
Extra credit question: Why does it take SO LONG to save a new rule (over 40 seconds!)? THEN, the rule is created DISABLED, so you have to ENABLE it as a separate step, which takes ANOTHER 40 seconds. So frustrating.
When you are creating an Exchange Transport Rule, and you want to enter an exception if the body of the email contains a specific phrase, do you use the operator "Subject or body includes any of these words" or "Subject or body matches these text patterns"?
I think MS has changed the wording of these selections over the years, and on its face, it appears that if you want the exception ONLY if a specific phrase is found, then you shouldn't be using the "Subject or body include any of these words". If you then enter the phrase "Elephant Graveyard", that would imply that the exception would fire if either the word "Elephant" or the word "Graveyard" was found.
Conversely, the other choice "Subject or body matches these text patterns" seems like the right choice for an exact phrase match. However, it isn't clear to me whether you have to put your answer in regex for this choice. I know regex expressions are ALLOWED, but I don't know if they are REQUIRED. For my example, can I just type in "Elephant Graveyard", or must I type \bElephant Graveyard\b (or some other regex equivalent)?
I've tried some trial and error, but it would be nice to know the real answer. Does anyone know?
Extra credit question: Why does it take SO LONG to save a new rule (over 40 seconds!)? THEN, the rule is created DISABLED, so you have to ENABLE it as a separate step, which takes ANOTHER 40 seconds. So frustrating.