You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Leon Kolchinsky <lk...@univ.haifa.ac.il> on 2006/11/28 16:54:08 UTC

RE: stilldon'tt take local.cf configs UPDATE

Hi,

I thought I was wrong and "amavis restart" didn't really helped there, but
there is an update for this problem I had with configuration in local.cf not catching.

It seems that only when I do /etc/init.d/amavis restart, all configs in local.cf are coming intact.

I've used to an old version of amavis and SA on Suse, where you would only do changes to local.cf and "spamd restart".

1) So, my question is - Is this a normal behavior? 
2) For every change in local.cf should I do now only "amavis restart" and no "spamd restart"?



Regards,
Leon


-----Original Message-----
From: לאון קולצ'ינסקי 
Sent: Tuesday, November 28, 2006 3:34 PM
To: 'users@spamassassin.apache.org'
Subject: stilldon'tt take local.cf configs

Hello All,

I've trusted networks configured.
But it seems that changes I make to local.cf are not catching :(

For example I've added
score RCVD_IN_BL_SPAMCOP_NET 0
to local.cf

Restarted spamd (/etc/init.d/spamd restart), and after a while I got message with scoring RCVD_IN_BL_SPAMCOP_NET=1.558.


X-Spam-Status: Yes, score=6.276 tag=-999 tag2=5 kill=5 tests=[AWL=-0.686,
	BAYES_00=-2.599, HTML_90_100=0.113, HTML_MESSAGE=0.001,
	RCVD_IN_BL_SPAMCOP_NET=1.558, RCVD_IN_NJABL_DUL=1.946,
	RCVD_IN_SORBS_DUL=2.046, RCVD_IN_XBL=3.897]



I can't figure out what can be the problem here ("amavis debug" and "spamassassin --lint -D" look normal)?



This is how my local.cf looks:

# Add your own customisations to this file.  See 'man Mail::SpamAssassin::Conf'
# for details of what can be tweaked.
#

required_score  5.0
rewrite_header Subject ****SPAM(_SCORE_)****
use_bayes        1
bayes_auto_learn 1

# Enable or disable network checks
skip_rbl_checks         0
use_razor2              1
razor_config  /var/spool/amavis/.razor/razor-agent.conf

# Show individual score for rules
add_header all Report _REPORT_

## Optional Score Increases
score ROUND_THE_WORLD 0
score SUBJ_ILLEGAL_CHARS 0
score HEAD_ILLEGAL_CHARS 0
score FORGED_HOTMAIL_RCVD2 0
score FORGED_YAHOO_RCVD 0
score SUBJ_ALL_CAPS 0
score MISSING_SUBJECT 0
score DNS_FROM_RFC_POST 0
score DNS_FROM_RFC_ABUSE 0
score RCVD_IN_BL_SPAMCOP_NET 0

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

ok_locales              all

# Internal
clear_internal_networks
internal_networks 127/8 132.74.1.219 132.74.1.39 132.74.1.218

# Trusted
clear_trusted_networks
trusted_networks 127/8 132.74.1.219 132.74.1.39 132.74.1.218




Best Regards,
Leon Kolchinsky