Filtering logic when using multiple AND and a single OR

OldB

Member
Jan 5, 2015
6
0
1
cPanel Access Level
Reseller Owner
I have read https://documentation.cpanel.net/display/1138Docs/Account+Level+Filtering 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:
^(localuser(bc|\..{0,22})?)@ourdomain\.co.uk
*does* match when used with Match Regex 'Any recipient' but *fails* when used in Match Regex 'From'
Anyone know why?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,883
2,256
463
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.