1
Content Filtering - syntax for deleting all messages from a domain displayed in the header text
Question asked by Michael Miller - 10/13/2022 at 7:58 AM
Answered
I am trying to create a Content Filtering rule, using wildcards, that will delete ALL incoming emails that mention a particular domain in the header text. 

E.g.: Delete all incoming email with the text [*.click] in the Return-Path header.

What I've done (that isn't working):

Create a rule called "Blacklist"
Match type "ANY condition must be met" 
Enable wildcards ON
Action: Delete Message
Condition: contains specific words or phrases
Field: Email header
Comparison: Contains
*.click


So for this header example,
"Return-Path: <sara_martinkus-myname=mydomain.com@loudmixes.click>"
do I need wildcards on both sides of the phrase, like this? [*.click*]

Thanks for your help!

1 Reply

Reply to Thread
1
Zach Sylvester Replied
Employee Post Marked As Answer
Hey Michael, 

Thanks for reaching out to the comunity. 
You should be able to create a content filtering rule like the following. 

Please let me know if you have any questions. 

Kind Regards, 

Zach Sylvester Software Developer SmarterTools Inc. www.smartertools.com

Reply to Thread