[Mimedefang] HELP! At end of my rope with MD/SA
Dirk the Daring
dirk at psicorps.org
Mon Jul 4 11:46:30 EDT 2005
I have been beating my head against the wall, trying to add
SpamAssassin v3.0.4 to my MIMEDefang v2.52 installation. This has gone
on for a solid week, and I am at the end of my rope. I need help, and I
hope the community can offer me some fresh ideas.
The System:
Solaris 8 (with MU #7 and 2005-Jun-05 patchkit) on Sun 4m
Perl v5.8.6 compiled with gcc v3.3.2
IO-Stringy v2.110
MIME-Base64 v3.05
MailTools v1.67
MIME-Tools v5.417
Digest-SHA1 v2.10
libnet v1.19
Mail-Audit v2.1
Time-HiRes v1.68
HTML-Tagset v3.04
HTML-Parser v3.45
Compress-Zlib v1.34
Archive-Zip v1.15
UNIX-Syslog v0.100
ClamAV (clamd) v0.85.1 and sendmail v8.13.4 are also installed
The Problem:
MIMEDefang v2.52 builds and installs fine. It detects
Mail::SpamAssassin and indicates its OK to use SA-related calls in
mimedefang-filter. The sa-mimedefang.conf file is installed in
/opt/mimedefang/conf
If I run MD with a filter that *optionally* adds SA (that is,
using
if ($Features{"SpamAssassin"})
constructions as the default filter does, MD works fine.
If I add
$Features{'SpamAssassin'} = 1;
to mimedefang-filter, so I can eliminate the "if $Features" logic and
simplify my -filter file, I get the following error:
Can't locate object method "new" via package "Mail::SpamAssassin"
(perhaps you forgot to load "Mail::SpamAssassin"?) at
/opt/mimedefang/bin/mimedefang.pl line 6177.
Compilation failed in require at /opt/mimedefang/bin/mimedefang.pl
line 4881.
I have been thru my Perl v5.8.6 install (in /opt/perl) from one end
to another, everything is world-readable, including the "site_lib"
hierarchy.
The contents of /opt/perl/bin, including all the SA executables, are
symbolically linked to /usr/bin, and again, all are
world-readable/world-executable (there's only 2 user accounts on this
machine, root and mine - its not an end-user server).
I can make more info available if needed, and any help is
appreciated. I really need to get this working.
Dirk
More information about the MIMEDefang
mailing list