run spamassassin --lint, and spamasssassin -tD <sample-nonspam.txt.

It looks like one of your custom rules has a typo in it and spamassassin is barfing trying to read your rule files. In particular I'd look for a rule that's missing the ending / or /i, or anything containing ") ~" (minus the quotes).

spamassassin -tD <sample-nonspam.txt will also tell you where the rule files are being read from.

The rule typo is going to be what causes those error messages, and is likely causing the custom rule you included in your email to be ignored. In general when SA encounters a typo it might wind up ignoring a LARGE number of rules before it can begin to parse again. This is particularly true for regex rules that "don't end" :)



At 11:08 AM 11/4/2002 -0800, Chris wrote:
Hello,

Im getting the following error message when running spamd,
----------------------------------------------------------
(chris)(ralph|.spamassassin)$ Failed to run header SpamAssassin tests, skipping
some: syntax error at (eval 15) line 59, near ") ~"
syntax error at (eval 15) line 67, near ") ~"
syntax error at (eval 15) line 552, near ";
}"
----------------------------------------------------------
I have no idea where to fix this. Any help would be appreciated.

Also, I cannot tell if what is wrong with my test rules, I never get any matches
no matter where I put them. How can I tell where the rules are being read from??
-----------------------------------------------------------------
header THIS_IS_A_TEST Subject =~ /this is a test/i
score THIS_IS_A_TEST 28
------------------------------------------------------------------

Thanks, Chris


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to