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

--- Comment #23 from Loren Wilton <lwil...@earthlink.net> ---
It seems to me that if net rules are turned off, they are unrun and the result
is indeterminate: that is, we don't know how they would have evaluated if they
had been run.

In that sense, they are then no different than a net rule that was fired but
the result didn't arrive in time. With the recent changes, meta rules are (I
believe) run twice with the result both true and false for an unreceived net
result. I would say that with net rules disabled, we would treat all meta rules
that depend on net rule results the same way: the net results weren't received
in time, so they need to be evaluated twice.

This should extend to any missing result a meta rule depends on, but I don't
know if it makes more sense to do the double evaluation based on not having the
net rule result, or based on checking tflags net for the dependency and some
flag that says net rules are disabled. Given that the case:

#body SOME_DISABLED_RULE /./
meta COMPOUND_TEST  SOME_DISABLED_RULE && OTHER_RULE

should evaluate the meta based solely on OTHER_RULE, it seems to me that
disabled net rules are the same case as the undefined disabled rule, so
possibly the same logic works to ignore the results if disabled net rules.

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

Reply via email to