Body SA rule
Matt Kettler
mkettler at EVI-INC.COM
Tue Mar 18 18:25:06 GMT 2003
Yes, dashes are explicitly prohibited from being in rule names in SA.
If you read the perldoc for Mail::SpamAssassin::Conf in version 2.50
you'll find these bits on rule-naming:
--
Test names should not start with a number, and must
contain only alphanumerics and underscores. It is
suggested that lower-case characters not be used, as
an informal convention. Dashes are not allowed.
Note that test names which begin with '__' are
reserved for meta-match sub-rules, and are not scored
or listed in the 'tests hit' reports. Test names
which begin with 'T_' are reserved for tests which are
undergoing QA, and these are given a very low score.
---
Version 2.43 mentions the '__' bit but not the part about allowed characters.
At 03:05 PM 3/18/2003 -0300, Mariano Absatz wrote:
>I don't know much of the inner workings of SA, but I'd bet it uses the rule
>numbers as Perl identifiers (or part of Perl identifiers) at one time or
>another (e.g. as an index to a hash). Then a "-" would be an invalid
>character in a Perl identifier and that would prevent it from working,
>whereas "_" is a valid character.
More information about the MailScanner
mailing list