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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Filtering logic when using multiple AND and a single OR

Discussion in 'E-mail Discussions' 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 Forums Analyst
    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.

Share This Page