John Horne <[EMAIL PROTECTED]> writes: >> [...] >> Failed to run header SpamAssassin tests, skipping some: syntax error >> at (eval 6) line 11, near ") ~" >> >> syntax error at (eval 6) line 19, near ") ~" >> syntax error at (eval 6) line 568, near "; >> }" >> [...] > [snipped] >> >> header CRON X-Cr)on-Env =~ /\w/ > ^ > I'd say this looks like a problem. I assume it's not suppose to be there?
Yikes, I thought you found it. That certainly looks likely. But after correcting it (removing the rogue `)'), the debug error still remains. And the two rules are still ignored. Disregarding the logging problem with spamd for a moment, and just using spamassassin mode, where the -D logging shows up in procmail.log. Your observation got me closely checking my home made rules and edits. I checked by commenting them all then, uncommenting one by one. I found that this rule seems to be the culprit: header FW_LOG Subject /\[0030AB066D5C\]/ I can't see anything wrong with it, but if I comment it out the error stops. It really a two part rule: score FW_LOG -100 header FW_LOG Subject /\[0030AB066D5C\]/ But the last part is what causes the error: Failed to run header SpamAssassin tests, skipping some: syntax error at (eval 6) line 11, near ") ~" syntax error at (eval 6) line 571, near "; }" Now commenting those rules out, I get no error but still get what seems like the wrong behavior. These two rules: score Virus_scan_report 1.5 header Virus_scan_report Subject =~ /Virus found .* message/i Should give a message with this subject line: Subject: Virus found in the message A score of at least 1.5 but messages with that subject go thru and do not get any score at all. So I'm still at a loss as too how to debug this. I think I'll try removing any rules of my own except the two above and run some more tests. Any better ideas? _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk