On Wed, 2005-01-05 at 09:16 -0500, Jason Gauthier wrote: > Ah, thanks! Good tip. I'm not the best with regex, and that would > explain the obvious oversight. Unfortunately, it didn't help :( > > Jan 5 09:08:13 spamfilter amavis[8277]: (08277-08) spam_scan: > hits=1.072 > tests=ALL_TRUSTED,AWL,NO_REAL_NAME,RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL > > Anything else I can try? How can I verify that SA is reading my > local.cf? Anyway to enable debugging somewhere? >
Any time you write a custom rule the first thing you should do is run 'spamassassin -D --lint' to make sure that you have the syntax correct. You may want to check out www.rulesemporium.com for more tips on custom rule writing (They have some awsome custom rulesets as well, Thanks guys) and the following links should be helpful as well This helped me out lots with getting the syntax correct when I was learing how to write custom rules: http://mywebpages.comcast.net/mkettler/sa/SA-rules-howto.txt For more information on Perl Regex you should check out http://www.contactor.se/~dast/mail2sms/regex.shtml and 'perldoc perlfaq6' should be helpful as well. -- Tim Donahue <[EMAIL PROTECTED]> Haynes Group, Incorporated
