Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Wed Jan 18, 2017 7:35 pm


MTA, MUA, Qmail, Exchange, Exim, Postfix, Sendmail, Courier, Mirapoint, Vpopmail, pop3, smtp, imap

Author Message
LaR3
  Post  Post subject: Spamassassin sa-update complains about not installed modules  |  Posted: Tue Sep 01, 2009 10:32 am

Joined: Mon Aug 03, 2009 4:55 pm
Posts: 19

Offline
 

Spamassassin sa-update complains about not installed modules

Spamassassin is a perl based mail filter. It requires serveral perl modules, as you can see below.

At installation and startup time, spamassassin does not request all of them, but sa-update the spamassassin update tool does:

Code:
# sa-update -D
[26491] dbg: logger: adding facilities: all
[26491] dbg: logger: logging level is DBG
[26491] dbg: generic: SpamAssassin version 3.2.5
[26491] dbg: config: score set 0 chosen.
[26491] dbg: dns: no ipv6
[26491] dbg: dns: is Net::DNS::Resolver available? yes
[26491] dbg: dns: Net::DNS version: 0.65
[26491] dbg: generic: sa-update version svn607589
[26491] dbg: generic: using update directory: /var/lib/spamassassin/3.002005
[26491] dbg: diag: perl platform: 5.010000 linux
[26491] dbg: diag: module installed: Digest::SHA1, version 2.12
[26491] dbg: diag: module installed: HTML::Parser, version 3.61
[26491] dbg: diag: module installed: Net::DNS, version 0.65
[26491] dbg: diag: module installed: MIME::Base64, version 3.07_01
[26491] dbg: diag: module installed: DB_File, version 1.816_1
[26491] dbg: diag: module installed: Net::SMTP, version 2.31
[26491] dbg: diag: module installed: Mail::SPF, version v2.005
[26491] dbg: diag: module installed: Mail::SPF::Query, version 1.999001
[26491] dbg: diag: module installed: IP::Country::Fast, version 2
[26491] dbg: diag: module installed: Razor2::Client::Agent, version 2.84
[26491] dbg: diag: module installed: Net::Ident, version 1.20
[26491] dbg: diag: module installed: IO::Socket::INET6, version 2.54
[26491] dbg: diag: module installed: IO::Socket::SSL, version 1.27
[26491] dbg: diag: module installed: Compress::Zlib, version 2.015
[26491] dbg: diag: module installed: Time::HiRes, version 1.9711
[26491] dbg: diag: module not installed: Mail::DomainKeys ('require' failed)
[26491] dbg: diag: module installed: Mail::DKIM, version 0.36
[26491] dbg: diag: module installed: DBI, version 1.609
[26491] dbg: diag: module installed: Getopt::Long, version 2.37
[26491] dbg: diag: module installed: LWP::UserAgent, version 5.829
[26491] dbg: diag: module installed: HTTP::Date, version 5.810
[26491] dbg: diag: module installed: Archive::Tar, version 1.38
[26491] dbg: diag: module installed: IO::Zlib, version 1.07
[26491] dbg: diag: module not installed: Encode::Detect ('require' failed)
[26491] dbg: gpg: Searching for 'gpg'
[26491] dbg: util: current PATH is: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/php/bin
[26491] dbg: util: executable for gpg was found at /usr/bin/gpg
[26491] dbg: gpg: found /usr/bin/gpg
[26491] dbg: gpg: release trusted key id list: 5E541DC959CB8BAC7C78DFDC4056A61A5244EC45 26C900A46DD40CD5AD24F6D7DEE01987265FA05B 0C2B1D7175B852C64B3CDC716C55397824F434CE
[26491] dbg: channel: attempting channel updates.spamassassin.org
[26491] dbg: channel: update directory /var/lib/spamassassin/3.002005/updates_spamassassin_org
[26491] dbg: channel: channel cf file /var/lib/spamassassin/3.002005/updates_spamassassin_org.cf
[26491] dbg: channel: channel pre file /var/lib/spamassassin/3.002005/updates_spamassassin_org.pre
[26491] dbg: channel: metadata version = 795855
[26491] dbg: dns: 5.2.3.updates.spamassassin.org => 795855, parsed as 795855
[26491] dbg: channel: current version is 795855, new version is 795855, skipping channel
[26491] dbg: diag: updates complete, exiting with code 1


The solution is to install the required perl module manually: perl -MCPAN -e "install Mail::DomainKeys"
Code:
# perl -MCPAN -e "install Mail::DomainKeys"
Sorry, we have to rerun the configuration dialog for CPAN.pm due to
some missing parameters...



The following questions are intended to help you with the
configuration. The CPAN module needs a directory of its own to cache
important index files and maybe keep a temporary mirror of CPAN files.
This may be a site-wide or a personal directory.

I see you already have a  directory
    /root/.cpan
Shall we use it as the general CPAN build and cache directory?

<cpan_home>
..............AND FOLLOW THE INSTRUCTIONS...................


And the result is:
Code:
# sa-update -D 2>&1 | grep Domain
[28287] dbg: diag: module installed: Mail::DomainKeys, version 1.0

_________________
Humble user
http://www.ivorde.ro





Top
Display posts from previous:  Sort by  
E-mail friendPrint view
Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO