> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 27, 2003 9:02 AM
> To: [EMAIL PROTECTED]
> Subject: [SAtalk] Testing site-wide custom rules, how to?
> 
> 
> Good-day!
> 
> We're using SA along with amavisd-new. After adding custom 
> rules to our
> site-wide local.cf file, we are desperately looking at a way 
> to test them.
> 
> Currently amavisd-new's logs show always the same :
> 
> Aug 27 13:57:52 isosun21 amavisd[29954]: (29954-03) header: 
> X-Spam-Status:
> No, hits=0.0 tagged_above=-999.0 required=6.3 tests=\n
> Aug 27 13:57:52 isosun21 amavisd[29954]: (29954-03) header: 
> X-Spam-Level: \n
> 
> With no mention of any 'tests=' done...
> 
> Where's the catch to be able to test SA (we've installed the 
> Perl module
> version of SA) before going live with a system?
> 
> Joel
> 

There is a small section at the wiki about testing rules.
http://www.exit0.us

You don't see info about rules in the log, you only see them in the email
headers. 

I have a similar question regarding tests:
(Is there | what is the) method to grep with a regex rule? 

I simply would like to grep a corpus with a regex rule. Somthing like:
/^someword \d\w{2,4} \.com\>/i   
(That is complete junk, but just an example)

I try to grep with the -E but doesn't give expected results. Is there a way
to do this that matches the regex exactly? Or is grep, egrep, fgrep limited
to a different style of regex?

Otherwise I have to use a series of greps piped together. WHich sometimes
limits what I'm looking for.

If this could be done with a small perl script, I would also like the -B,
-C, and -A kind of options in it like grep has.

--Chris Santerre


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to