Bug 5621 - short-circuit meta w/ high priority & net dependency should force net result before running normal rules
Summary: short-circuit meta w/ high priority & net dependency should force net result ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Rules (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: Other other
: P5 enhancement
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-22 04:19 UTC by Loren Wilton
Modified: 2007-08-22 04:29 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Loren Wilton 2007-08-22 04:19:44 UTC
This is an enhancement request.

The goal of short-circuit rules is to stop furhter rule processing and save the 
processing time.  If you make a net rule a short-circuit rule, it probably 
won't by default do much good, since net scores are harvested late in the game 
to give them time to arrive.

If you make a meta rule with a dependency on a net rule, and then give the meta 
both a high (negative) priority so that it runs very early and make it a short-
circuit rule, it should block processing of other non-net rules until the 
dependency net rule can be evaluated, or times out.

This would have the effect of lengthening the time to process a mail message, 
but could reduce the overall processor time for the message by eliminating most 
rule processing.  It would also have the ability to insure that the message 
doesn't get marked as spam if the rule is essentially nice itself.
Comment 1 Justin Mason 2007-08-22 04:29:53 UTC
this is already what happens (or should be).