You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Personal Técnico <te...@caos.uab.es> on 2010/02/22 13:02:12 UTC

Checking Rules

Hi,

I would like to know how SA determines what rules are aplied while 
scanning a mail and what rules not, because I have received two mails 
with similar body but applied rules were different.

Another question: is there any way for configuring SA for getting a 
detailed score of rules in a mail when "X-Spam-Status: No". By default, 
SA does a detailed score when mail is marked as SPAM, but not in HAM cases.

Thanks.

Re: Checking Rules

Posted by Kevin Parris <KP...@ed.sc.gov>.
It "applies" all the rules, in the sense of testing each message for
each condition.  If a message matches the conditions of a rule then that
is considered a "hit" on that rule.  Rules that "hit" on a message are
listed in the report.  Messages that appear, to the human observer, to
be very similar, are not necessarily actually similar when judged by the
precision of rule evaluation criteria.  A human might think "these two
messages both contain references to medications" but for the same rules
to "hit" the particular elements in messages that the rules test for
must be alike, not merely similar.  For example, a rule designed to
catch references to penicillin can't catch ALL the many variant
spellings and use of numerals that resemble letters that spammers employ
specifically to get around such filtering techniques.

>>> Personal Técnico <te...@caos.uab.es> 02/22/10 7:02 AM >>>
Hi,

I would like to know how SA determines what rules are aplied while 
scanning a mail and what rules not, because I have received two mails 
with similar body but applied rules were different.

Another question: is there any way for configuring SA for getting a 
detailed score of rules in a mail when "X-Spam-Status: No". By default,

SA does a detailed score when mail is marked as SPAM, but not in HAM
cases.

Thanks.

Re: Checking Rules

Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
On 22.02.10 13:02, Personal Técnico wrote:
> I would like to know how SA determines what rules are aplied while  
> scanning a mail and what rules not, 

only rules that have non-zero score are checked.

> because I have received two mails  
> with similar body but applied rules were different.

it's quite common that network rules don't match for early recipients, but
do for others.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Fucking windows! Bring Bill Gates! (Southpark the movie)

Re: Checking Rules

Posted by RW <rw...@googlemail.com>.
On Mon, 22 Feb 2010 13:14:08 +0000
Kevin Golding <ke...@caomhin.demon.co.uk> wrote:

> In article <4B...@caos.uab.es>, Personal Técnico
> <te...@caos.uab.es> writes
> >Another question: is there any way for configuring SA for getting a 
> >detailed score of rules in a mail when "X-Spam-Status: No". By
> >default, SA does a detailed score when mail is marked as SPAM, but
> >not in HAM cases.
> 
> add_header all Tests _TESTSSCORES_
>            ^^^ that part adds it to ham too
>

Or the report header

add_header all Report _REPORT_

Re: Checking Rules

Posted by Kevin Golding <ke...@caomhin.demon.co.uk>.
In article <4B...@caos.uab.es>, Personal Técnico
<te...@caos.uab.es> writes
>Another question: is there any way for configuring SA for getting a 
>detailed score of rules in a mail when "X-Spam-Status: No". By default, 
>SA does a detailed score when mail is marked as SPAM, but not in HAM cases.

add_header all Tests _TESTSSCORES_
           ^^^ that part adds it to ham too

Kevin