http://issues.apache.org/SpamAssassin/show_bug.cgi?id=3109





------- Additional Comments From [EMAIL PROTECTED]  2006-04-10 00:42 -------
Created an attachment (id=3467)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3467&action=view)
automatically set meta rule priorities

Here's a patch that takes care of one issue with the current short-circuiting
patch; it automatically traces priorities of meta rules, and ensures that all
of their dependencies have the same or earlier priority.  in other words,
having to work that out by hand is no longer required; just set a rule to
whatever priority you want and the code will take care of it.

This has the happy side-effect that META_TEST_MIN_PRIORITY is no longer
required.

the next step then is to use the code in bug 4860, and call is_rule_complete()
for each rule in metas, to ensure that they are either not DNS rules, or else
are DNS lookups that have completed; and if that function returns 0 for any
rule, to call $self->{async}->complete_lookups(1) until it returns 1. that will
then allow network tests to be used in shortcircuit metas.



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

Reply via email to