You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2008/03/11 15:19:47 UTC
[Bug 5849] New: dcc problem
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5849
Summary: dcc problem
Product: Spamassassin
Version: 3.2.4
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P5
Component: spamassassin
AssignedTo: dev@spamassassin.apache.org
ReportedBy: matorola@gmail.com
Created an attachment (id=4270)
--> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4270)
spamassassin -t -D < sample-spam.txt
Hello!
Installed SA 3.2.4 on solaris 10 x86 box.
compiled dcc 1.3.83 with --homedir=/var/dcc --bindir=/var/dcc
and installed into /var/dcc
/etc/mail/spamassassin/local.cf have following directives:
loadplugin Mail::SpamAssassin::Plugin::DCC
use_dcc 1
dcc_home /var/dcc
dcc_path /var/dcc/bin/dccproc
but running spamassassin in test mode:
[root@test /]# /usr/perl5/bin/spamassassin -D -t 2>&1 < /sample-spam.txt |
egrep -i "error|local.cf|dcc"
[8843] dbg: util: PATH included '/var/dcc/bin', keeping
[8843] dbg: util: final PATH set to:
/var/dcc/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/sfw/bin:/usr/perl5/bin:/usr/perl5/5.8.4/bin
[8843] dbg: config: read file /usr/perl5/5.8.4/etc/mail/spamassassin/local.cf
[8843] dbg: config: fixed relative path:
/usr/perl5/5.8.4/var/spamassassin/3.002004/updates_spamassassin_org/25_dcc.cf
[8843] dbg: config: using
"/usr/perl5/5.8.4/var/spamassassin/3.002004/updates_spamassassin_org/25_dcc.cf"
for included file
[8843] dbg: config: read file
/usr/perl5/5.8.4/var/spamassassin/3.002004/updates_spamassassin_org/25_dcc.cf
[8843] dbg: config: using "/etc/mail/spamassassin/local.cf" for included file
[8843] dbg: config: read file /etc/mail/spamassassin/local.cf
[8843] dbg: plugin: loading Mail::SpamAssassin::Plugin::DCC from @INC
[8843] dbg: dcc: network tests on, registering DCC
[8843] dbg: util: current PATH is:
/var/dcc/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/sfw/bin:/usr/perl5/bin:/usr/perl5/5.8.4/bin
[8843] dbg: rules: meta test DIGEST_MULTIPLE has undefined dependency
'DCC_CHECK'
and no tests done for dcc. can someone suggest what can be wrong?
attached full log from spamassassin -t -D < sample-spam.txt
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[Bug 5849] dcc problem
Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5849
Matt Kettler <mk...@verizon.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Matt Kettler <mk...@verizon.net> 2008-03-13 02:49:12 PST ---
In the future, please refrain from using bugzilla to ask configuration
questions. Please post to the users@spamassassin.apache.org mailing list
instead. If you have further questions, please post there and I'll follow up.
Your problem results from putting the loadplugin statement in your local.cf.
This needs to be in /etc/mail/spamassassin/v310.pre. (it should be there
already, you just need to uncomment it)
The fundamental problem with putting loadplugin statements in your local.cf is
that local.cf is read AFTER the default ruleset. This causes DCC the rules in
the default ruleset to get skipped, as the files detect the plugin isn't
loaded.
The .pre files exist in order to load plugins that impact the default ruleset,
and they are parsed before any of the .cf files.
(Also, don't try to apply any general settings in your .pre files, because
they're parsed BEFORE the default ruleset, and the defaults will simply clobber
them)
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.