That is version 2.x config.

-Sietse



From: Fettke, Dirk
Sent: Tue 19-Dec-06 16:03
To: Tony Guadagno
Cc: users@spamassassin.apache.org
Subject: AW: Help!  rewrite_header subject not working for me


Hi, 

I don't know if this works with your solution because I do subject-rewriting in 
the amavisd.conf, but my local.cf looks like this (in short form):

----
# rewrite the Subject: line with ****SPAM**** .* if set to 1 (default=1)
rewrite_subject 1
required_score  5
subject_tag ****SPAM(_SCORE_)****
# report briefly, recommended for report_header==1 (default=0)
use_terse_report 0
----

Regards


 

-----Ursprüngliche Nachricht-----
Von: Tony Guadagno [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 19. Dezember 2006 15:46
An: users@spamassassin.apache.org
Betreff: Help! rewrite_header subject not working for me

Hi,
  I have been reading and I don't see my problem exactly.  This is my local.cf  
I am using 3.1.7  I have report_safe =1 and the rewrite_header set. from the 
docs "For the Subject header, this will be prepended to the original subject."  
the problem i have is the string is not prepended to the original subject, it 
replaces it.  I have an example below.  Why?  What am I missing here?


rbl_timeout             15
fold_headers            1
report_contact          [EMAIL PROTECTED] 
required_score          5
use_auto_whitelist              1
rewrite_header          Subject         **SPAM-(score: _SCORE_)**
skip_rbl_checks         0
report_safe             1
dns_available           yes
use_razor2              0
use_pyzor               0

# SURBL
uridnsbl_timeout                2
uridnsbl_max_domains            20

# Bayes

use_bayes               1
bayes_auto_learn                1
bayes_auto_learn_threshold_spam         12.0
bayes_auto_learn_threshold_nonspam              2.0
bayes_auto_expire               1
bayes_learn_to_journal          0
bayes_expiry_max_db_size                150000
bayes_journal_max_size          102400

# Tests
score UNIQUE_WORDS 0

rewritten subject
Subject: **SPAM-(score:20.1)** 

original subject
Subject: High Quality Rolex Replica Watches!


If there is  a way for me to forward an example, please let me know and I will. 
 I tried and it was bounced back as spam .... lol

Reply via email to