Email Filters Boolean Ordering
Hi,
What's the best way to set up a filter along the lines of this:
from:abc@def.com AND (subject:Hello OR subject: Hi)
We don't have the option to use parentheses when creating a filter and it's my understanding that entering:
from:abc@def.com AND
subject:Hello OR
subject: Hi
would be parsed as:
(from:abc@def.com AND subject:Hello) OR subject: Hi
-
Hello :) Please let us know if this filter rule meets your requirements: #Test-Filter if $header_from: is "abc@def.com" and $header_subject: contains "Hello" or $header_subject: contains "Hi" then save "/dev/null" 660 endif
The use of "and" and "or" is possible under the "Email Filters" option in cPanel: How to Configure Mail Filters - cPanel Knowledge Base - cPanel Documentation Thank you.0
Please sign in to leave a comment.
Comments
1 comment