Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Which rules are used

From: Anthony Peacock <a.peacock(at)chime.ucl.ac.uk>
Date: Tue Sep 04 2007 - 10:09:32 EDT


Hi Claudia,

The easiest way to see what rules are hitting a particular message is to save the message (including _ALL_ headers) into a text file and then to pass it to SpamAssassin in test mode:

spamassassin --test-mode < email.txt

This will produce a report of the rules that are hitting the message.

If you want more information use the debug option:

spamassassin --debug --test-mode < email.txt

If you would like people here to let you know which rules these emails hit on their systems, place the email text file somewhere on the web, so that we can download it and run it through our systems.

PS make sure you are running the above commands as the same user that spamassassin usually runs as.

Do you need help?X

Claudia Burman wrote:
> Hi,
> Is there a way to know if spamassassin is using all the rules?
> I'm getting too much spam, including some which I think should be
> captured...
>
> Thanks
> Claudia Burman
> Argentina
>
>

-- 
Anthony Peacock
CHIME, Royal Free & University College Medical School
WWW:    
http://www.chime.ucl.ac.uk/~rmhiajp/
"A CAT scan should take less time than a PET scan.  For a CAT scan,
  they're only looking for one thing, whereas a PET scan could result in
  a lot of things."    - Carl Princi, 2002/07/19
Received on Tue Sep 4 10:10:36 2007

This archive was generated by hypermail 2.1.8 : Fri Oct 26 2007 - 23:52:52 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library