Skip to main content

Account level filter "or" failing

Comments

4 comments

  • rpvw
    Create multiple rules rather than a complex and/or rule. [quote] Important: We strongly recommend that you use multiple, simple filters instead of a single large filter. Exim, the server's mail transfer agent, handles many small rules more efficiently than it handles one large rule.
    If you want your 2 line rule to work to discard messages that do not have a from example.com or from example.net ..... somewhat unintuitively, use the AND operator. See the following screenshot Also, remember that complex and/or rules are processed as follows:[quote] Important When you create a filter that uses several operators, the system processes the and operator before the or operator. For example:
    • The system processes A or B and C as A or (B and C).
    • The system processes A and B or C as (A and B) or C.

    0
  • bear
    Counter intuitive indeed, but that works. :P Using AND instead of OR allows the filter to process only the wanted domains, and reject all others. Thanks!
    0
  • rpvw
    I think you will find the confusion stems from the comparator used: Does NOT contain .... something AND Does NOT contain .... something else AND Does NOT contain .... something else Then do this action or Contains ... something OR Contains ... something else OR Contains ... something else Then do this action
    0
  • cPanelMichael
    Hello, I've marked this thread as solved. Thank you.
    0

Please sign in to leave a comment.