SA Bugzilla – Bug 5614
score MY_TEST the_same_as_the_score_of SOME_OTHER_TEST
Last modified: 2007-09-27 03:03:21 UTC
In Mail::SpamAssassin::Conf at score SYMBOLIC_TEST_NAME n.nn [ n.nn n.nn n.nn ] mention how to (or and implement) make score MY_TEST the_same_as_the_score_of SOME_OTHER_TEST without needing to hardwire the current values of OTHER_TEST's score into the (user_prefs) file. P.S., on Debian that man page looks like Mail::SpamAssassin::CoUserpContributed Perl DocumMail::SpamAssassin::Conf(3pm) at its first line...
Created attachment 4135 [details] meta_score patch (vs svn) This patch adds the new configuration setting "meta_score", which is used like: meta_score TEST_A (TEST_B + TEST_C) This is overkill for the requested feature, but with the ARITH_EXPRESSION_LEXER regexp already defined for meta test lexing, doing it this way isn't that hard.
Created attachment 4136 [details] meta_score patch (vs svn) Oops, was using ".." instead of "." for the string catenation operator; uploaded fixed patch.