PDA

View Full Version : Pyzor + DCC problem


Belsameth
15th June 2006, 08:31
Hiya,

I used one of the howto's here as a basic system, tho a bit modified to be able to use Postfix Admin and Maia Mailguard.
Anyway, whenever I run spamassassin -D I get the following errors that I can't seem to figure out.

config: SpamAssassin failed to parse line, skipping: dcc_add_header 1
config: SpamAssassin failed to parse line, skipping: pyzor_add_header 1

I'd say it's somewhere in the local.cf file, but I've no idea where. everything seems to be correct and working, except those 2 things.

Anyone here have any idea where I should (start to) look?

local.cf:

################################################## #########################
#
# rewrite_header Subject *****SPAM*****
# report_safe 1
# trusted_networks 212.17.35.
# lock_method flock

# dcc
use_dcc 0
dcc_path /usr/bin/dccproc
dcc_add_header 1
dcc_dccifd_path /usr/sbin/dccifd

#pyzor
use_pyzor 0
pyzor_path /usr/bin/pyzor
pyzor_add_header 1

#razor
use_razor2 1
razor_config /etc/razor/razor-agent.conf

#bayes
use_bayes 1
use_bayes_rules 1
bayes_auto_learn 1
bayes_store_module Mail::SpamAssassin::BayesStore::SQL
bayes_sql_dsn DBI:mysql:maia
bayes_sql_username username
bayes_sql_password password
auto_whitelist_factory Mail::SpamAssassin::SQLBasedAddrList
user_awl_dsn DBI:mysql:maia
user_awl_sql_username username
user_awl_sql_password password

falko
15th June 2006, 15:57
Do the warnings disappear when you comment out dcc_add_header 1 and pyzor_add_header 1 in local.cf?

Belsameth
15th June 2006, 18:23
I've commented out the use DCC and use Pyzor which helps.
I've not yet tried to comment out just those lines.
I assumed they were needed for the proper functioning of both.

Edit: Yup, with those lines commented out it runs perfectly :)

falko
16th June 2006, 02:41
Edit: Yup, with those lines commented out it runs perfectly :)
Then leave it like that. :)

Belsameth
16th June 2006, 02:43
I assume it's no big deal then...
It annoys me tho, especially since there doesn't seem to be any reason for the failure.
Spamassassin -D doesn't give any extra info either.

Guess I'll dig a bit more when I'm bored :D

brianaustin
18th June 2006, 03:49
/etc/mail/spamassassin/v310.pre

enable the plugins

;^)

brianaustin
18th June 2006, 03:51
turn those 0 to 1

use_pyzor 1
use_dcc 1