09-12-2023 05:09 AM
I created new Content filter to block emails coming from specific domain -
condition1 @- @xyz.com and
condition2 -- Subject start with ^Test
and Action to drop such emails but it's not functioning as desired. Below is configuration detail
Login to CES
Mai Policies > Incoming Content Filters > Add Filters
Set the Filter name to CF_Test
Add Condition >> Envelope Sender - mail-from == "@xyz.com$"
Add Condition >> Subject Header - subject == "^Test for"
Select -- Apply only if all condition match
Add Action > drop
Submit
Commit
09-12-2023 05:30 AM
09-12-2023 05:37 AM
Yes, all policies are applied but this is not workiing as expected.
09-12-2023 07:58 AM
this is what worked for me... the domain is "contains" in the gui.
make sure you're selecting Only if all conditions match in the upper right.
09-12-2023 08:58 AM
So, keep in mind the rules are RegEx, so if you call out starts with Test and it comes in test, it will fail cause of the capitalization.
For our system, we use Dictionaries to set the matches instead of a bunch of filters. We can pun in it full emails or domains. for your example, set your filter to ^[Tt]est
09-12-2023 09:31 AM
09-12-2023 01:28 PM
This is, How I configured but does not work as expected...
09-14-2023 07:01 AM
I would set your email trigger as ends with and the subject to contains
09-29-2023 08:43 AM
This is fixed after I configure with contains in sender domain and subject header instead of begins with in Subject and set if all conditions applied.
Opened case with Cisco to know why it did not work with Message subject begins with...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide