Package: spamassassin
Version: 3.1.7-2
Severity: normal
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mail::SpamAssassin::Plugin::DKIM fails even if it's documented dependency
Mail::DKIM is installed:
[EMAIL PROTECTED]:~$ /usr/bin/sa-learn --spam Maildir/.newspam/cur/
plugin: failed to parse plugin (from @INC): Can't locate
Crypt/OpenSSL/Bignum.pm in @INC (@INC contains: lib /usr/share/perl5 /etc/perl
/usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl
/usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4) at
/usr/share/perl5/Mail/SpamAssassin/Plugin/DKIM.pm line 60.
BEGIN failed--compilation aborted at
/usr/share/perl5/Mail/SpamAssassin/Plugin/DKIM.pm line 60.
Compilation failed in require at (eval 52) line 1.
plugin: failed to create instance of plugin Mail::SpamAssassin::Plugin::DKIM:
Can't locate object method new via package Mail::SpamAssassin::Plugin::DKIM
at (eval 60) line 1.
I've installed Mail::DKIM and it's dependencies using the libmail-dkim-perl
package:
[EMAIL PROTECTED]:~$ apt-cache show libmail-dkim-perl
Package: libmail-dkim-perl
Priority: optional
Section: perl
Installed-Size: 248
Maintainer: Magnus Holmgren [EMAIL PROTECTED]
Architecture: all
Version: 0.19-3
Depends: perl (= 5.6.0-16), liberror-perl, libdigest-sha1-perl,
libdigest-sha-perl, libmailtools-perl, libnet-dns-perl,
libcrypt-openssl-rsa-perl
Filename: pool/main/libm/libmail-dkim-perl/libmail-dkim-perl_0.19-3_all.deb
Size: 60690
MD5sum: c55164eab15a40432cf5b4334dca6bcd
SHA1: 21aba0901182106a52920eb5bfa2d4d24cd8bced
SHA256: 25034fc7703f8132358f22f0e9a0a53e30b716e1d5b31472528738b395b879d2
Description: Creation and verification of DKIM mail signatures - Perl library
DomainKeys Identified Mail (DKIM) provides a method for validating an identity
that is associated with a message, during the time it is transferred over the
Internet. That identity then can be held accountable for the message.
.
This is a Perl implementation created by Jason Long of Messiah College.
It performs signing as well as signature verification.
Neither spamassassin nor libmail-dkim-perl lists any dependency on
Crypt::OpenSSL::Bignum. I noticed this comment in
Mail::SpamAssassin::Plugin::DKIM:
# Have to do this so that RPM doesn't find these as required perl modules.
# Crypt::OpenSSL::Bignum included here, since Mail::DKIM loads it in some
# situations at runtime and spews messy errors if it's not there.
BEGIN { require Mail::DKIM; require Mail::DKIM::Verifier; require
Crypt::OpenSSL::Bignum; }
but I can't find any reference to Crypt::OpenSSL::Bignum anywhere in
Mail::DKIM,
so I belive this is a dependency bug in spamassassin. If the comment
were true, this should have been reported as a bug against libmail-dkim-perl
instead of an ugly workaround.
Anyway, the requirement must either be removed from spamassassin or documented
in spamassassin.
Bjørn
- -- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (700, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages spamassassin depends on:
ii libarchive-tar-perl 1.30-2 Archive::Tar - manipulate tar file
ii libdigest-sha1-perl 2.11-1 NIST SHA-1 message digest algorith
ii libhtml-parser-perl 3.55-1 A collection of modules that parse
ii libsocket6-perl 0.19-1 Perl extensions for IPv6
ii libwww-perl 5.805-1WWW client/server library for Perl
ii perl 5.8.8-7Larry Wall's Practical Extraction
Versions of packages spamassassin recommends:
ii libmail-spf-query-perl 1:1.999.1-2 query SPF (Sender Policy Framework
ii libnet-dns-perl 0.59-1 Perform DNS queries from a Perl sc
ii perl [libmime-base64-perl] 5.8.8-7 Larry Wall's Practical Extraction
ii spamc3.1.7-2 Client for SpamAssassin spam filte
- -- debconf information:
spamassassin/upgrade/2.40:
spamassassin/upgrade/2.40w:
spamassassin/upgrade/cancel: Continue
spamassassin/upgrade/2.42m: No
spamassassin/upgrade/2.42u: No
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHBJ1210rqkowbIskRApYLAJ45mPMEVRCpFWnA6fv069JK/tzvswCghWkC
My7BfHhdkxJO5pppLqQ5GuA=
=xLlx
-END PGP SIGNATURE-