> required_hits 6.1 ... > score RAPE 4.125 ... > rape rape rape
I think it only counts once. Since 4.125 < 6.1 makes it not spam. Of course your total showed 0.9, as others noted, restarting spamd would also be needed. -----Original Message----- From: Joel Epstein [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 3:31 PM To: Theo Van Dinter Cc: Matt Kettler; [EMAIL PROTECTED] Subject: Re: [SAtalk] How to add rules? ok... now what? =) If the following is in /etc/mail/spamassassin/local.cf, why does the following mail not get tagged? # How many hits before a mail is considered spam. required_hits 6.1 # Whitelist and blacklist addresses are now file-glob-style patterns, so # "[EMAIL PROTECTED]", "*@isp.com", or "*.domain.net" will all work. # whitelist_from [EMAIL PROTECTED] # Add your own customised scores for some tests below. The default scores are # read from the installed spamassassin rules files, but you can override them # here. To see the list of tests and their default scores, go to # http://spamassassin.org/tests.html . # # score SYMBOLIC_TEST_NAME n.nn body RAPE /\brape\b/i describe RAPE contains rape score RAPE 4.125 **** begin mail **** From - Mon Jul 22 15:29:23 2002 X-UIDL: 3c6a9df90001dbcd X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: <[EMAIL PROTECTED]> Received: from iws-irms.com ([216.138.133.220]) by socks.ubsinc.com (8.11.6/8.11.4) with ESMTP id g6MKaAv18718 for <[EMAIL PROTECTED]>; Mon, 22 Jul 2002 15:36:10 -0500 Message-ID: <[EMAIL PROTECTED]> Date: Mon, 22 Jul 2002 15:29:20 -0500 From: Joel Epstein <[EMAIL PROTECTED]> Organization: Integrated Warehousing Solutions User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Joel Epstein <[EMAIL PROTECTED]> Subject: tewstin Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.9 required=6.1 tests=FROM_AND_TO_SAME,AWL version=2.20 X-Spam-Level: Status: rape rape rape rape Theo Van Dinter wrote: > On Mon, Jul 22, 2002 at 02:48:17PM -0500, Joel Epstein wrote: > >>Could I add the following to /usr/share/spamassassin/20_body_tests.cf: >> > > First, you should add your own rules to > /etc/mail/spamassassin/local.cf > -- if you add it to the normal rules files, they'll be wiped out when > you upgrade. > > >>full RAPE /rape/i >>describe RAPE contains rape >>score RAPE 4.125 >> > > Second, you want to be more specific, otherwise this will match > "grape", "scrape", etc. body RAPE /\brape\b/i perhaps. The \b's > specify that it should be the word "rape". > > -- ================================= Joel Epstein Manager of Systems Integration Integrated Warehousing Solutions 3075 Highland Parkway Suite 715 Downers Grove, Illinois 60515 Phone: 630.932.4300 Fax: 630.932.7652 Email: [EMAIL PROTECTED] ------------------------------------------------------- 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 ------------------------------------------------------- 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