You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Jesse Houwing <j....@student.utwente.nl> on 2004/04/12 14:16:25 UTC
Rule namespaces
Hey,
with the 22 char rulename limit it is sometimes hard to give the
rulename itself a meaningful name, especially if the rule includes __ T_
and or a ruleset prefix,
I have a few proposals that might be helpful in these cases.
instead of the T_ for testign rules, can't we set up a tflags flag
"test" that zeros the score.
and instead of a ruleset prefix it would be nice if a namespace could be
defined in the ruleset. All rules will be prefixed with their namespace
or could even be ordered by their prefix for logical grouping.
Finally instead of doube __ only a single _ would suffice, but that
doesn't save as much as theother two. maybe a tflags "hidden" or
something might work, but that would make the ruleset much longer with
lots more rules to parse.
Another option is to ignore the __ and the "T_" in the rulename and not
count it against the rulenamelength. in that case any rule (also rules
with a name of 22 chars) can be made hidden or testing without having to
alter the name.
In favor ot the tflags option I'd like to add that these "__" and "T_"
are actually meta data of the rule and they should not be included in
the name. They could be included like this: "/http:/i !hidden !testing"
or something similar.
Jesse