cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
579
Views
0
Helpful
4
Replies

How to setup Subject Header filter with multiple words

laicolai
Level 1
Level 1

I would like to tag [SPAM] once match two words but the mail rule does not work.

such as catch the word as : "BTC" and "Mining"

1 Accepted Solution

Accepted Solutions

Fixed the problem using by "regular expression",

herewith the sample: subject == "BTC.*(Bitcoin|Balance|Mining|Transfer)"

View solution in original post

4 Replies 4

Im assuming you're using a content filter?
There are a couple of ways to do it, but the easiest it to create 2 conditions, each one for subject contains whatever and in the upper right of the conditions box, set it for "only if all conditions match"

Because we always received the spam mail subject are related as following sample, I tried to use the "regular expression" in "Subject Header" but not work

BTC Mining

Bitcoin Mining

BTC Balance

Bitcoin Balance

Bitcoin BTC

I would put these in a dictionary, with a weight of 1, and check the box for case insensitive match, then in the content filter set up just one condition to be a dictionary match on the subject.




Fixed the problem using by "regular expression",

herewith the sample: subject == "BTC.*(Bitcoin|Balance|Mining|Transfer)"