Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Filtering logic when using multiple AND and a single OR

Discussion in 'E-mail Discussion' started by OldB, Jan 5, 2015.

  1. OldB

    OldB Member

    Jan 5, 2015
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Reseller Owner
    I have read and specifically:
    "cPanel will always process the "and" operator before the "or" operator" and the example.

    Can I infer from this that 'A and B or C and D and E or F' would become: (A and B) or (C and D and E) or F ?
    Is that also generally true - i.e. all ORs are "top level" - i.e. any true condition between them will give true overall
    with all the ANDs honoured?

    Also - apologies if I should have used a new thread but has anyone else spotted that:
    *does* match when used with Match Regex 'Any recipient' but *fails* when used in Match Regex 'From'
    Anyone know why?
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can find more information on Exim filter rules at:

    3. Exim filter files

    In particular, look for the section titled "21. Obeying commands conditionally".

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice