I am am using Spamassassin 3.1.1 with postfix 2.2.9 and Amavisd-new 2.4.1-rc1

A spamassassin upgrade seems to have broken razor and DCC

This is what I get (selected bits) from a spamd --lint

[11299] warn: config: failed to parse line, skipping: razor_config 
/etc/mail/spamassassin/.razor/razor-agent.conf
[11299] warn: config: failed to parse line, skipping: use_razor2 1
[11299] warn: config: failed to parse line, skipping: dcc_path /usr/bin/dccproc
[11299] warn: config: failed to parse line, skipping: use_dcc 1
[11299] warn: config: failed to parse line, skipping: dcc_add_header 1


My local.cf contains:


rewrite_subject 1
# Tells SpamAssassin to change the subject on SPAM messages to include
# The subject_tag (valuses 0 or 1).

report_safe 0
# Setting it to 0 tells SpamAssassin to put the report into the headers.
# 1 puts the report in main email and the original one goes as an attachemnt.
# 2 is as 1 + attachment is converted into text.

use_terse_report 0
# 0 gives terse report; 1 gives even shorter one.

use_bayes 1
# This turns Bayesean Learning on. 0 turns it off.

bayes_path /var/spool/amavis/.spamassassin/bayes
# Bayesean database location.

timelog_path /var/spool/amavis/.spamassassin/assassin.log
# Timelog path (commented out).

auto_learn 1
# Auto learning lets SpamAssassin classify spam as SPAM.

skip_rbl_checks 1
# By default SpamAssassin runs the Realtime Blackhole List checks.
# It's better to turn this option off.

razor_config /etc/mail/spamassassin/.razor/razor-agent.conf

use_razor2 1
# Tells SA that we want to use Razor version 2

dcc_path /usr/bin/dccproc

use_dcc 1
# In case you want DCC.

pyzor_options --homedir /etc/mail/spamassassin

use_pyzor 1
# Tells SA that we don't want to use Pyzor

# Path to the Pyzor Client
pyzor_path /usr/bin/pyzor



dcc_add_header 1
# DCC header in case you want it.

dns_available yes
# If you are sure you have DNS access set it to "yes".


header LOCAL_RCVD Received =~ /\S+\.domain\.com\s+\(.*\[.*\]\)/
score LOCAL_RCVD -50
# This checks "Received: from...." lines in the message header.
# Set .domain.com to your domain so outgoing mail will not be tagged as
# spam. Unless you are a spammer of course. In case you are I strongly urge
# you to use this option.

## Optional Score Increases
score DCC_CHECK 4.000
score RAZOR2_CHECK 2.500
score PYZOR_CHECK 2.50
score BAYES_99 4.300
score BAYES_90 3.500
score BAYES_80 3.000
# For scores have a look at /usr/local/share/spamassassin/50_scores.cf
# file.

score VIRUS_CLEANED_MYDOOM 0.1
score NO_DNS_FOR_FROM 0.1
score NO_RDNS 0.1
score NO_RDNS2 0.1


I did follow the wiki, but it seems not to understand my lines.

What am I doing wrong?

Kind regards


Benedict White


Reply via email to