You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Dave Richardson <da...@derdev.com> on 2007/05/30 20:12:55 UTC

spamd 3.1.7 - linux - rewrite_header subject NOT working

Running spamd 3.1.7 on FC3.  using qmail-scanner 2.01.

Headers reflect that I AM loading spamd with the desired config file... 
(I've changed require_score in small increments and headers reflect 
correct value)
spamassassin --lint   reports no errors


local.cf:
==============
required_score 5.8
rewrite_header subject [SPAM]
report_safe 0
use_pyzor 0
use_razor2 1
skip_rbl_checks 0
rbl_timeout 3
score RCVD_IN_BL_SPAMCOP_NET 2
use_bayes 1
bayes_auto_learn 1
bayes_path /home/spamd/.spamassassin/bayes
score DRUGS_ERECTILE 31.0
================================

I receive header "X-Spam-Status: Yes, score=33.9 required=5.8"

Log entry for same is:
===================
Wed May 30 12:57:51 2007 [22080] info: spamd: connection from 
localhost.localdomain [127.0.0.1] at port 50127
Wed May 30 12:57:51 2007 [22080] info: spamd: checking message 
<3f...@example.com> for me@mydomain.com:0
Wed May 30 12:57:56 2007 [22080] info: spamd: identified spam (33.9/5.8) 
for me@mydomain.com:0 in 4.3 seconds, 3496 bytes.
Wed May 30 12:57:56 2007 [22080] info: spamd: result: Y 33 - 
AWL,BAYES_40,DRUGS_ERECTILE,FUZZY_VPILL,HTML_50_60,HTML_MESSAGE,HTML_TEXT_AFTER_BODY,SPF_HELO_PASS,SPF_PASS,SUBJECT_DRUG_GAP_C,URIBL_AB_SURBL 
scantime=4.3,size=3496,user=me@mydomain.com,uid=0,required_score=5.8,rhost=localhost.localdomain,raddr=127.0.0.1,rport=50127,mid=<3f...@example.com>,bayes=0.26818567082693,autolearn=no
==================

BUT rewrite_header isn't having desired change!  HELP!??




Re: spamd 3.1.7 - linux - rewrite_header subject NOT working

Posted by Theo Van Dinter <fe...@apache.org>.
On Wed, May 30, 2007 at 01:12:55PM -0500, Dave Richardson wrote:
> Running spamd 3.1.7 on FC3.  using qmail-scanner 2.01.
> BUT rewrite_header isn't having desired change!  HELP!??

Since you're using a third-party daemon, they may have their own way to markup
headers.  I would check the appropriate documentation to look at that.


-- 
Randomly Selected Tagline:
"If you think nobody cares if you're alive, try missing a couple of car
 payments." - Zen Musings

Re: spamd 3.1.7 - linux - rewrite_header subject NOT working

Posted by Dave Richardson <da...@derdev.com>.
Jason Haar wrote:
> Dave Richardson wrote:
>   
>> Running spamd 3.1.7 on FC3.  using qmail-scanner 2.01.
>>
>> Headers reflect that I AM loading spamd with the desired config
>> file... (I've changed require_score in small increments and headers
>> reflect correct value)
>> spamassassin --lint   reports no errors
>>     
> Please read the Qmail-Scanner FAQ. Your answer lies there...
>
>   
My apologies, I had no idea that my upgrade from 1.25 to 2.01 of 
qmail-scanner was going to have new defaults that (IMHO) changed my 
historical use of spamd/spamc.

I have profiled for '--scanners="clamdscan,verbose_spamassassin" and all 
is well again.

Thanks Jason!  My apologies again.
Dave.

Re: spamd 3.1.7 - linux - rewrite_header subject NOT working

Posted by Jason Haar <Ja...@trimble.co.nz>.
Dave Richardson wrote:
> Running spamd 3.1.7 on FC3.  using qmail-scanner 2.01.
>
> Headers reflect that I AM loading spamd with the desired config
> file... (I've changed require_score in small increments and headers
> reflect correct value)
> spamassassin --lint   reports no errors
Please read the Qmail-Scanner FAQ. Your answer lies there...

-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1