Hi Zolcsi,

You have restarted SpamAssassin (spamd)?

I'm using this config (3.2.5), which works:

rewrite_header Subject ***** SPAM *****

report_safe 0

skip_rbl_checks 0

use_bayes 1
use_bayes_rules 1
bayes_auto_learn 0

clear_headers
add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_


Perhaps the clear_headers will help you out...? My auto learning is off because it's getting quite big fast (600MB in 2mins :]).

HTH,
Harm

Zoltan Lippai wrote:
Hi,

I have now the following problem:
I'd like SpamAssassin to add something to the spam messages subjects.
my /etc/mail/spamassassin/local.cf <http://local.cf> looks like this:


rewrite_subject 1
# report_safe 1
# trusted_networks 212.17.35. <http://212.17.35.>

skip_rbl_checks 1
required_hits 5
rewrite_header Subject [interpont-antispam]
use_bayes 1
bayes_file_mode 0700
bayes_path /etc/mail/spamassassin/.spamassassin/bayes
bayes_auto_learn_threshold_spam 8.0
ok_languages all
ok_locales all
add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_ autolearn=_AUTOLEARN_ version=_VERSION_
add_header all LEVEL _STARS(*)_

All these headers are added to the message, but the subject is untouched.
Could you please help me with that?

Thank you,
Zolcsi

Reply via email to