https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7735

Wolfgang Breyha <wbre...@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wbre...@gmx.net

--- Comment #48 from Wolfgang Breyha <wbre...@gmx.net> ---
Honestly I believe that the change to handle undefined rules as "unrun" makes
more harm than it helps. Up to 3.4.6 it was possible to include rules in a "
BLA1 || BLA2 || BLA3" chain without having to check those dependencies with
every run of sa-update. With 4.x this is impossible, because each and every
"unrun" rule makes the whole chain and further dependencies "unrun".

At least if an "unrun" rule is used in an logical "or" or in an arithmetic
operation it should be considered "unhit" as used in the man page which still
only says:

"meta meta SYMBOLIC_TEST_NAME boolean arithmetic expression
           Can also define an arithmetic expression in terms of other tests,
with an unhit test having the value "0" and a hit test
           having a nonzero value.  The value of a hit meta test is that of its
arithmetic expression.  The value of a hit eval
           test is that returned by its method.  The value of a hit header,
body, rawbody, uri, or full test which has the
           "multiple" tflag is the number of times the test hit.  The value of
any other type of hit test is "1"."

"unrun" or "undefined" values are not mentioned here.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to