http://issues.apache.org/SpamAssassin/show_bug.cgi?id=3109
------- Additional Comments From [EMAIL PROTECTED] 2006-03-22 18:43 ------- Created an attachment (id=3427) --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3427&action=view) shortcircuit patch on 3.1.1 due to popular demand... here is a patch against 3.1.1. this patch goes one step further and defines a 60_shortcircuit.cf with some basic (obvious) rules that just use their default scores... # echo -e "To: [EMAIL PROTECTED]" | spamc X-Spam-Tests: USER_IN_BLACKLIST_TO X-Spam-Score: 10.0 X-Spam-Flag: YES [13826] dbg: check: running tests for priority: -100 [13826] dbg: check: running tests for priority: -95 [13826] dbg: check: running tests for priority: -90 [13826] dbg: shortcircuit: hit on rule USER_IN_BLACKLIST_TO, sc type is default, apply score of 10 so, you see it runs through whitelist first at priority -100, all trusted on -95, and then hits a blacklist_to on priority -90. with this approach there is no cancellation when a whitelist_* and blacklist_* (maybe by mistake) hit on the same message. whitelist takes priority. if you want it the other way around, set the black test to higher (lower number) priorities than -100. have fun! ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
