You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Kevin W. Gagel" <ga...@cnc.bc.ca> on 2004/07/22 20:56:49 UTC

REPOST-Problem with add header

Sorry for the repost. This message scored pretty high on my setup so I'm
replacing keywords with X's...

I'm using the following:

clear_headers
add_header all Autolearn Autolearned as _AUTOLEARN_
add_header all See _CONTACTADDRESS_ for information about anti-spam scanning.
add_header all Scan-Date Scanned on _DATE_
add_header all Remote-Host _REMOTEHOSTNAME_ at _REMOTEHOSTADDR_
add_header all Summary _SUMMARY_
add_header all Tests _TESTSSCORES(,)_
add_header all RBL-Results _RBL_
add_header all DCCD-Results _DCCB_, _DCCR_
add_header all Bayes-Score _BAYES_
add_header all Level _STARS(*)_
add_header all Score _SCORE_

But my Score never shows up. Why won't _SCORE_ show up? I'm using my own test
message and I have a level of seven stars but my score continues to be empty.

spamc < email > rslt and spamassassin < email > rslt get the same results,
seven stars and no score. Yet it clearly shows all the tests that the message
triggered. See below for header results. Note: I expect both rbl-results and
remote-host to be blank as I'm doing this from the command line.

X-Spam-Bayes-Score: 0.5
X-Spam-Tests: CAXASH=0,CLXK_BXOW_CXS=0.566,FXM_NO_UXR=1.286,
    HTML_LINK_CLX_HERE=0.1,HTML_MEXGE=0.001,IMPXNCE=4.243,
    LINES_OF_YXING=0.011,PXS_ENXGE=1.101,PXS_ENXGE2=0.59,
    UPPXASE_75_100=0
X-Spam-Remote-Host:  at 
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on avas2.cnc.bc.ca
X-Spam-See: http://avas.cnc.bc.ca for information about anti-spam scanning.
X-Spam-Summary:  1.3 FROM_NO_USER           From: has no local-part before @
sign
    0.6 PXS_ENXGE2         BODY: Information on getting larger
penis/breasts
    0.6 CLX_BX_CXS       BODY: Asks you to click below (in capital
letters)
    4.2 IMPXNCE              BODY: Impotence cure
    1.1 PXS_ENXGE          BODY: Information on getting larger
penis/breasts
    0.1 HTML_LINK_CLX_HERE   BODY: HTML link text says "click here"
    0.0 HTML_MEXGE           BODY: HTML included in message
    0.0 LINES_OF_YXING       BODY: A WHOLE LINE OF YELLING DETECTED
    0.0 UPPXASE_75_100       message body is 75-100% uppercase
    0.0 CAXASH           Contains at least 3 dollar signs in a row
X-Spam-Autolearn: Autolearned as no
X-Spam-Scan-Date: Scanned on Thu, 22 Jul 2004 10:56:49 -0700
X-Spam-Score: 
X-Spam-DCCD-Results: colnewcal, avas2 1190; Body=2 Fuz1=2 Fuz2=2
X-Spam-Level: *******
X-Spam-RBL-Results: 


====================
Kevin W. Gagel
Network Administrator
(250) 561-5848 local 448
(250) 562-2131 local 448

====================
Kevin W. Gagel
Network Administrator
(250) 561-5848 local 448
(250) 562-2131 local 448

--------------------------------------------------------------
The College of New Caledonia, Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
--------------------------------------------------------------

Re: REPOST-Problem with add header

Posted by Theo Van Dinter <fe...@kluge.net>.
On Thu, Jul 22, 2004 at 11:56:49AM -0700, Kevin W. Gagel wrote:
> add_header all Score _SCORE_

RTFM: in 2.6x it's _HITS_:

$ perldoc Mail::SpamAssassin::Conf
[...]
 _YESNOCAPS_       "YES"/"NO" for is/isn't spam
 _YESNO_           "Yes"/"No" for is/isn't spam
 _HITS_            message score
 _REQD_            message threshold
 _VERSION_         version (eg. 2.55)
[...]

(FYI: it's been renamed _SCORE_ in 3.0, so if you were reading different
documentation, I see where you could be confused.)

-- 
Randomly Generated Tagline:
Ground water is contaminated with dihydrogen oxide.