pam004

Member
Oct 23, 2006
5
0
151
Hi :D
I have a question about the e-mail filtering function provided on cPanel.

When setting up a filter, is it possible to enter more than one word to be filtered? If so, what is the correct syntax (delimiter).
eg, I'd like to filter subject line > contains > word1 word2 word3 etc instead of setting up a filter for each word.

I've tried spaces and commas as delimiters and it didn't work so I'm wondering if multi words are supported.

Thanks!
 

ujr

Well-Known Member
Mar 19, 2004
290
0
166
Yup, it sure is possible .... it uses standard regex, and you MUST use the "matches regex"
 

pam004

Member
Oct 23, 2006
5
0
151
ujr said:
Yup, it sure is possible .... it uses standard regex, and you MUST use the "matches regex"

Thanks, but regex isnt working either.

Anyone else?
Please provide syntax or an example of what you are saying in your answer.
 
Last edited:

ujr

Well-Known Member
Mar 19, 2004
290
0
166
here are some examples:

(st0ck.?|v.[aàáâãäå@]gr[aàáâãäå@])

this will match st0ck, st0cks, or v1àgra or any combo of the chars

normally this works just fine.