spamassassin wil not install

micheld

Verified User
Joined
Apr 5, 2006
Messages
55
Location
NL
I try this:
http://help.directadmin.com/item.php?id=36

And do the on my directadmin

I get this: (can anyone help me?)

Installing /usr/share/man/man3/Net::SSLeay.3pm
Installing /usr/share/man/man3/Net::SSLeay::Handle.3pm
Writing /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/Net/SSLeay/.packlist
Appending installation info to /usr/lib/perl5/5.8.5/i386-linux-thread-multi/perllocal.pod
Downloading IO-Socket-SSL-0.97.tar.gz...
--11:44:35-- http://files.directadmin.com/services/9.0/IO-Socket-SSL-0.97.tar.gz
=> `/usr/local/directadmin/scripts/packages/IO-Socket-SSL-0.97.tar.gz'
Resolving files.directadmin.com... 199.237.54.170
Connecting to files.directadmin.com[199.237.54.170]:80... connected. HTTP request sent, awaiting response... 200 OK
Length: 32,741 [application/x-tar]

100%[====================================>] 32,741 86.41K/s

11:44:36 (86.26 KB/s) - `/usr/local/directadmin/scripts/packages/IO-Socket-SSL-0.97.tar.gz' saved [32,741/32,741]

IO-Socket-SSL-0.97/
IO-Socket-SSL-0.97/t/
IO-Socket-SSL-0.97/t/01loadmodule.t
IO-Socket-SSL-0.97/t/core.t IO-Socket-SSL-0.97/t/ssl_settings.req
IO-Socket-SSL-0.97/t/02settings.t IO-Socket-SSL-0.97/t/compatibility.t
IO-Socket-SSL-0.97/t/sessions.t
IO-Socket-SSL-0.97/certs/
IO-Socket-SSL-0.97/certs/test-ca.pem
IO-Socket-SSL-0.97/certs/server-cert.pem
IO-Socket-SSL-0.97/certs/server-key.enc
IO-Socket-SSL-0.97/certs/my-ca.pem
IO-Socket-SSL-0.97/certs/client-cert.pem
IO-Socket-SSL-0.97/certs/client-key.enc
IO-Socket-SSL-0.97/certs/server-key.pem
IO-Socket-SSL-0.97/certs/client-key.pem
IO-Socket-SSL-0.97/example/ IO-Socket-SSL-0.97/example/ssl_server.pl
IO-Socket-SSL-0.97/example/ssl_client.pl
IO-Socket-SSL-0.97/Changes
IO-Socket-SSL-0.97/BUGS
IO-Socket-SSL-0.97/patches/ IO-Socket-SSL-0.97/patches/Net_SSLeay.patch
IO-Socket-SSL-0.97/MANIFEST
IO-Socket-SSL-0.97/docs/
IO-Socket-SSL-0.97/docs/debugging.txt
IO-Socket-SSL-0.97/META.yml
IO-Socket-SSL-0.97/util/ IO-Socket-SSL-0.97/util/export_certs.pl
IO-Socket-SSL-0.97/SSL.pm
IO-Socket-SSL-0.97/README
IO-Socket-SSL-0.97/Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for IO::Socket::SSL
cp SSL.pm blib/lib/IO/Socket/SSL.pm
Manifying blib/man3/IO::Socket::SSL.3pm
Installing /usr/lib/perl5/site_perl/5.8.5/IO/Socket/SSL.pm
Installing /usr/share/man/man3/IO::Socket::SSL.3pm
Writing /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/IO/Socket/SSL/.packlist
Appending installation info to /usr/lib/perl5/5.8.5/i386-linux-thread-multi/perllocal.pod
Downloading Mail-SpamAssassin-3.1.1.tar.gz...
--11:44:37-- http://files.directadmin.com/services/9.0/Mail-SpamAssassin-3.1.1.tar.gz
=> `/usr/local/directadmin/scripts/packages/Mail-SpamAssassin-3.1.1.tar.gz'
Resolving files.directadmin.com... 199.237.54.170
Connecting to files.directadmin.com[199.237.54.170]:80... connected. HTTP request sent, awaiting response... 200 OK
Length: 1,129,275 [application/x-tar]

100%[====================================>] 1,129,275 256.71K/s ETA 00:00

11:44:42 (238.50 KB/s) - `/usr/local/directadmin/scripts/packages/Mail-SpamAssassin-3.1.1.tar.gz' saved [1,129,275/1,129,275]

NOTE: settings for "make test" are now controlled using "t/config.dist". See that file if you wish to customise what tests are run, and how.

checking module dependencies and their versions...

***************************************************************************
ERROR: the required Digest::SHA1 module is not installed.

The Digest::SHA1 module is used as a cryptographic hash for some
tests and the Bayes subsystem. It is also used by Razor2.


***************************************************************************
ERROR: the required HTML::Parser (version 3.24) module is not installed.

Version 3.31 or later is recommended.

HTML is used for an ever-increasing amount of email so this dependency
is unavoidable. Run "perldoc -q html" for additional information.


***************************************************************************
NOTE: the optional Net::DNS (version 0.34) module is not installed.

Used for all DNS-based tests (SBL, XBL, SpamCop, DSBL, etc.),
perform MX checks, and is also used when manually reporting spam to
SpamCop. Recommended.

If this is installed and you are using network tests of any variety
(which is the default), then you need to make sure the Net::DNS
version is sufficiently up-to-date:

- version 0.34 or higher on Unix systems
- version 0.46 or higher on Windows systems


***************************************************************************
NOTE: the optional Mail::SPF::Query module is not installed.

Used to check DNS Sender Policy Framework (SPF) records to fight email
address forgery and make it easier to identify spams.


***************************************************************************
NOTE: the optional IP::Country module is not installed.

Used by the RelayCountry plugin (not enabled by default) to determine
the domain country codes of each relay in the path of an email.


***************************************************************************
NOTE: the optional Razor2 (version 2.61) module is not installed.

Used to check message signatures against Vipul's Razor collaborative
filtering network. Razor has a large number of dependencies on CPAN
modules. Feel free to skip installing it, if this makes you nervous;
SpamAssassin will still work well without it.

More info on installing and using Razor can be found
at http://wiki.apache.org/spamassassin/InstallingRazor .


***************************************************************************
NOTE: the optional Net::Ident module is not installed.

If you plan to use the --auth-ident option to spamd, you will need
to install this module.


***************************************************************************
NOTE: the optional IO::Socket::INET6 module is not installed.

This is required if the first nameserver listed in your IP
configuration or /etc/resolv.conf file is available only via
an IPv6 address.


***************************************************************************
NOTE: the optional Time::HiRes module is not installed.

If this module is installed, the processing times are logged/reported
more precisely in spamd.


***************************************************************************
NOTE: the optional DBI module is not installed.

If you intend to use SpamAssassin with an SQL database backend for
user configuration data, Bayes storage, or other storage, you will need
to have these installed; both the basic DBI module and the driver for
your database.


***************************************************************************
NOTE: the optional LWP::UserAgent module is not installed.

The "sa-update" script requires this module to make HTTP requests.


***************************************************************************
NOTE: the optional HTTP::Date module is not installed.

The "sa-update" script requires this module to make HTTP
If-Modified-Since GET requests.


***************************************************************************
NOTE: the optional Archive::Tar module is not installed.

The "sa-update" script requires this module to access tar update
archive files.


***************************************************************************
NOTE: the optional IO::Zlib module is not installed.

The "sa-update" script requires this module to access compressed
update archive files.

REQUIRED module missing: Digest::SHA1
REQUIRED module missing: HTML::Parser
optional module missing: Net::DNS
optional module missing: Mail::SPF::Query
optional module missing: IP::Country
optional module missing: Razor2
optional module missing: Net::Ident
optional module missing: IO::Socket::INET6
optional module missing: Time::HiRes
optional module missing: DBI
optional module missing: LWP::UserAgent
optional module missing: HTTP::Date
optional module missing: Archive::Tar
optional module missing: IO::Zlib

warning: some functionality may not be available,
please read the above report before continuing!

make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.



[root@www2 scripts]# /usr/bin/spamd -d -c -m 5
bash: /usr/bin/spamd: No such file or directory
 
1. why don't you use cpan ?
2. otherwise you have to change version in da install script
2. make sure your packages are up2date especially ssl/openssl before
 
Try this:
Code:
cd /usr/local/directadmin/scripts
perl -pi -e 's/#downloadMake/downloadMake/' ./spam.sh
./spam.sh
It uncomments the install of some of the required perl modules.

John
 
Thank you....

I get a question about decoding on unidode entities?



HTML-Parser-3.37/typemap

Perl-5.8 provide core support for Unicode strings. You can compile
HTML::Entities so that Unicode entities like € and € are
decoded into a string containing "\x{20AC}". If you select no to
the question below such entities will be left alone and only entities
in the Latin-1 range is decoded.

Do you want decoding on unicode entities? [no]
 
did you need multie unicode language support (live outside of north america) then you may want that.

Either way you can change it later by recompiling.
 
Thank you for the support, it works!

Only one question i see this, i do not now what to do.

The global spamassassin config file is in /etc/mail/spamassassin/local.cf

You'll want to make sure that you have the correct call to spamc in the spamcheck transport in your exim.conf:
transport_filter = /usr/bin/spamc -u ${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}


Only check this rule if correct on exim.conf?

Thank you...
 
Hello,

/etc/mail/spamassassin/local.cf

won't get used. This is because spamc is called with the -u option, specifying the user for that domain. When the user is passed the /home/username/.spamassasin/user_prefs is used instead.

If you don't want users to have their own user_prefs file, then you can change the spamc line to just "spamc" and the default local.cf will be used instead.

John
 
I fixed the problem. I installed all the Perl modules that it asked for. Spamassassin is now set up.
 
Back
Top