You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Leon Kolchinsky <lk...@univ.haifa.ac.il> on 2006/11/02 22:39:42 UTC
how to show exact score for the tests in the headers
Hello All,
I'm running a system with Cyrus+Postfix+Amavisd-new+SA+ClamAV.
I've seen on this list that there is a possibility to show in the SA headers the exact score for all tests scored for particular message, like this:
No, hits=-0.8 required=5.0 tests=BAYES_00=-2.599,
DK_POLICY_SIGNSOME=0.001,DNS_FROM_RFC_ABUSE=0.2,
FORGED_MUA_MOZILLA=1.593,SPF_PASS=-0.001 autolearn=no
version=3.1.7
My current SA headers look like this:
X-Spam-Status: Yes, hits=15.8 tag1=-999.0 tag2=5.0 kill=5.0 tests=BAYES_99,
HTML_FONTCOLOR_RED, HTML_FONTCOLOR_UNSAFE, HTML_MESSAGE,
MSGID_FROM_MTA_SHORT, RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL,
RCVD_IN_SORBS_WEB, RCVD_IN_XBL
X-Spam-Level: ***************
How should I change the configs (local.cf, amavis.conf, etc.?) so it looks like in the upper example?
Regards,
Leon Kolchinsky
RE: how to show exact score for the tests in the headers
Posted by Leon Kolchinsky <lk...@univ.haifa.ac.il>.
Hi,
I'm running SLES9.
I've added
add_header all Report _REPORT_
to local.cf file, but I'm still getting those headers without individual scores :(
Like these:
X-Spam-Status: Yes, hits=11.0 tag1=-999.0 tag2=5.0 kill=5.0 tests=BAYES_50,
FROM_ILLEGAL_CHARS, HTML_60_70, HTML_MESSAGE, MIME_HTML_MOSTLY,
RAZOR2_CF_RANGE_51_100, RAZOR2_CHECK, RCVD_IN_BL_SPAMCOP_NET,
RCVD_IN_NJABL_DUL, SUBJ_ILLEGAL_CHARS
X-Spam-Level: ***********
These are the latest patched versions of SA and Amavis on SLES9:
amavisd-new-20030616p9-3.6
spamassassin-2.64-3.7
Is there still a way for me to get these scores for every test?
Best Regards,
Leon
-----Original Message-----
From: Gary V [mailto:mr88talent@hotmail.com]
Sent: Friday, November 03, 2006 12:57 AM
To: users@spamassassin.apache.org
Subject: Re: how to show exact score for the tests in the headers
>>I'm running a system with Cyrus+Postfix+Amavisd-new+SA+ClamAV.
>>
>>I've seen on this list that there is a possibility to show in the SA
>>headers the exact score for all tests scored for particular message, like
>>this:
>>
>>No, hits=-0.8 required=5.0 tests=BAYES_00=-2.599,
>>DK_POLICY_SIGNSOME=0.001,DNS_FROM_RFC_ABUSE=0.2,
>>FORGED_MUA_MOZILLA=1.593,SPF_PASS=-0.001 autolearn=no version=3.1.7
>>
>>My current SA headers look like this:
>>X-Spam-Status: Yes, hits=15.8 tag1=-999.0 tag2=5.0 kill=5.0
>>tests=BAYES_99,
>> HTML_FONTCOLOR_RED, HTML_FONTCOLOR_UNSAFE, HTML_MESSAGE,
>> MSGID_FROM_MTA_SHORT, RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL,
>> RCVD_IN_SORBS_WEB, RCVD_IN_XBL
>>X-Spam-Level: ***************
>>
>>
>>How should I change the configs (local.cf, amavis.conf, etc.?) so it looks
>>like in the upper example?
>>
>To get the list of rules hit and their individual scores, add the following
>line to local.cf:
>
>add_header all Report _REPORT_
>
>Run 'perldoc Mail::SpamAssassin::Conf' for details.
>
>
>--
>Chris
>
That will not help here as amavisd-new does not allow spamassassin to write
headers. The problem here is an outdated amavisd-new. What distro are you
running?
Gary V
_________________________________________________________________
Try Search Survival Kits: Fix up your home and better handle your cash with
Live Search!
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline
Re: how to show exact score for the tests in the headers
Posted by Gary V <mr...@hotmail.com>.
>>I'm running a system with Cyrus+Postfix+Amavisd-new+SA+ClamAV.
>>
>>I've seen on this list that there is a possibility to show in the SA
>>headers the exact score for all tests scored for particular message, like
>>this:
>>
>>No, hits=-0.8 required=5.0 tests=BAYES_00=-2.599,
>>DK_POLICY_SIGNSOME=0.001,DNS_FROM_RFC_ABUSE=0.2,
>>FORGED_MUA_MOZILLA=1.593,SPF_PASS=-0.001 autolearn=no version=3.1.7
>>
>>My current SA headers look like this:
>>X-Spam-Status: Yes, hits=15.8 tag1=-999.0 tag2=5.0 kill=5.0
>>tests=BAYES_99,
>> HTML_FONTCOLOR_RED, HTML_FONTCOLOR_UNSAFE, HTML_MESSAGE,
>> MSGID_FROM_MTA_SHORT, RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL,
>> RCVD_IN_SORBS_WEB, RCVD_IN_XBL
>>X-Spam-Level: ***************
>>
>>
>>How should I change the configs (local.cf, amavis.conf, etc.?) so it looks
>>like in the upper example?
>>
>To get the list of rules hit and their individual scores, add the following
>line to local.cf:
>
>add_header all Report _REPORT_
>
>Run 'perldoc Mail::SpamAssassin::Conf' for details.
>
>
>--
>Chris
>
That will not help here as amavisd-new does not allow spamassassin to write
headers. The problem here is an outdated amavisd-new. What distro are you
running?
Gary V
_________________________________________________________________
Try Search Survival Kits: Fix up your home and better handle your cash with
Live Search!
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline
Re: how to show exact score for the tests in the headers
Posted by Chris Purves <ch...@northfolk.ca>.
Leon Kolchinsky wrote:
> Hello All,
>
> I'm running a system with Cyrus+Postfix+Amavisd-new+SA+ClamAV.
>
> I've seen on this list that there is a possibility to show in the SA headers the exact score for all tests scored for particular message, like this:
>
> No, hits=-0.8 required=5.0 tests=BAYES_00=-2.599,
> DK_POLICY_SIGNSOME=0.001,DNS_FROM_RFC_ABUSE=0.2,
> FORGED_MUA_MOZILLA=1.593,SPF_PASS=-0.001 autolearn=no
> version=3.1.7
>
> My current SA headers look like this:
> X-Spam-Status: Yes, hits=15.8 tag1=-999.0 tag2=5.0 kill=5.0 tests=BAYES_99,
> HTML_FONTCOLOR_RED, HTML_FONTCOLOR_UNSAFE, HTML_MESSAGE,
> MSGID_FROM_MTA_SHORT, RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL,
> RCVD_IN_SORBS_WEB, RCVD_IN_XBL
> X-Spam-Level: ***************
>
>
> How should I change the configs (local.cf, amavis.conf, etc.?) so it looks like in the upper example?
>
To get the list of rules hit and their individual scores, add the
following line to local.cf:
add_header all Report _REPORT_
Run 'perldoc Mail::SpamAssassin::Conf' for details.
--
Chris