A rule with multiple conditions

leksand

Member
Aug 28, 2020
77
0
11
37
If several conditions are specified in the filtering rule, for example: the spam rating level and text with (regular expression) - how will the rule work out? Condition or other condition? Or does the operand And = necessarily have to match both conditions for the rule to work?

2023-10-20-12-48-02.png
 
in a single category (so in your example what objects) they ar 'OR' related so either spam level OR text with
across the whole rule the 'from' 'to' and 'what' categories are AND related

there are some patches on the devel list that introduces some more settings, e.g. marking some objects as 'required' (which would constitute as AND if you have multiple of them)
but they are not in a good shape yet
 
in a single category (so in your example what objects) they ar 'OR' related so either spam level OR text with
across the whole rule the 'from' 'to' and 'what' categories are AND related

there are some patches on the devel list that introduces some more settings, e.g. marking some objects as 'required' (which would constitute as AND if you have multiple of them)
but they are not in a good shape yet

maybe make it possible for the administrator to explicitly specify a logical operand?
 
as i said there are patches on the list to improve that, but they are not ready yet
 
I found the inconvenience of the rules with several conditions - according to the report, it is unclear what exactly the rule worked for. It is better to make separate blocking rules
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!