I upgraded from 2.60 to 2.63 (would like to go to 3.0) just now and the spamassassin -d --lint gives me all kinds of errors. Starting with a bunch of them in /etc/spamassassin/20_phrases.cf.
Is there a better version of the rules out there I should grab or is there a SA newbie trick I don't know as far as troubleshooting the rules? I'm looking for the cause of the syntax errors (am a pretty proficient Perl programmer), but I cannot find anything wrong in the file it lists, and each time I run the command to lint, it moves to the next error, rather than staying on the same error long enough for me to troubleshoot and fix it. Problem is that the error messages don't really match up with the line numbers, or even the content of the file reported...?
I want to get this thing running as error-free as possible!
Thanks very much,
Andy Norris
An example of one of the errors below:
Misplaced _ in number at /usr/share/spamassassin/20_phrases.cf, rule REMOVAL_INSTRUCTIONS, line 8.
Bareword found where operator expected at /usr/share/spamassassin/20_phrases.cf, rule REMOVAL_INSTRUCTIONS, line 8, near "0624_body_test"
(Missing operator before body_test?)
Failed to compile body SpamAssassin tests, skipping:
(syntax error at /usr/share/spamassassin/20_phrases.cf, rule REMOVAL_INSTRUCTIONS, line 8, near "sub BIGTHING-"
Can't use global @_ in "my" at /usr/share/spamassassin/20_phrases.cf, rule REMOVAL_INSTRUCTIONS, line 10, near "( @_ "
syntax error at (no file), rule BIGTHING-0624, line 6, near "}
}"
)