You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by carlos baptista <ca...@infarmed.pt> on 2006/02/07 17:51:00 UTC

Spamassassin local.cf

Hi,

Does anyone can help me with a strage problem? I have installed a spamassassin+clamv+qmail, and it's working. Today I nedded to change the local.cf, but spamassassin just keep using the old settings. I already restart the services, even rebooted the server. 

These are my settings:

To start spamd
/usr/sbin/spamd -x -u spamd -H /home/spamd -d -s /var/log/spamd.log -m 10 --max-conn-per-child=10 --siteconfigpath=/etc/mail/spamassassin

old local.cf
# How many hits before a message is considered spam.
required_score 5.0

# Change the subject of suspected spam
rewrite_header subject :SPAM:

# Encapsulate spam in an attachment (0=no, 1=yes, 2=safe)
report_safe 0

# Enable the Bayes system
use_bayes               1
bayes_path /home/spamd/.spamassassin

# Enable Bayes auto-learning
bayes_auto_learn              1

# Enable or disable network checks
skip_rbl_checks         0
use_razor2              1
use_dcc                 1
use_pyzor               1

# Mail using languages used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_languages all

# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_locales all



Changes to local.cf
# Change the subject of suspected spam
rewrite_header subject ****SPAM****
rewrite_header from spanuser@infarmed.pt

# Encapsulate spam in an attachment (0=no, 1=yes, 2=safe)
report_safe 2


Does anyone have a clue?

Thanks

Carlos Baptista