Hello, So Im trying to install spam assassin and use it with sendmail and roundcube. I've been using these too pages as walkthroughs http://www.hart.co.jp/spam/sa-clamav-e.html & http://networking.ringofsaturn.com/Unix/spamassassin.php and they both go about it a different way, one uses p5-Mail-SpamAssassin and after installing milter; the other uses spamass-milter Port. Whats the difference?
Either way I've tried to install both ways and get this result:
Either way I've tried to install both ways and get this result:
Code:
===> p5-Mail-SpamAssassin-3.2.5_4 depends on file: /usr/local/bin/perl5.8.9 - found
===> Configuring for p5-Mail-SpamAssassin-3.2.5_4
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. at
lib/Mail/SpamAssassin/Util/DependencyInfo.pm line 294.
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.43) module is not installed. at
lib/Mail/SpamAssassin/Util/DependencyInfo.pm line 294.
HTML is used for an ever-increasing amount of email so this dependency
is unavoidable. Run "perldoc -q html" for additional information.
***************************************************************************
ERROR: the required Net::DNS (version 0.34) module is not installed. at
lib/Mail/SpamAssassin/Util/DependencyInfo.pm line 294.
Used for all DNS-based tests (SBL, XBL, SpamCop, DSBL, etc.),
perform MX checks, and is also used when manually reporting spam to
SpamCop.
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 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. (This is preferred
over Mail::SPF::Query.)
***************************************************************************
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. (Mail::SPF is
preferred instead of this module.)
***************************************************************************
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 IO::Socket::SSL module is not installed.
If you wish to use SSL encryption to communicate between spamc and
spamd (the --ssl option to spamd), you need to install this
module. (You will need the OpenSSL libraries and use the
ENABLE_SSL="yes" argument to Makefile.PL to build and run an SSL
compatibile spamc.)
***************************************************************************
NOTE: the optional Compress::Zlib module is not installed.
If you wish to use the optional zlib compression for communication
between spamc and spamd (the -z option to spamc), you need to install
this module.
***************************************************************************
NOTE: the optional Mail::DomainKeys module is not installed.
If this module is installed, and you enable the DomainKeys plugin,
SpamAssassin will perform Domain Key lookups when Domain Key
information is present in the message headers. (Note that new versions
of Mail::DKIM render this module superfluous.)
***************************************************************************
NOTE: the optional Mail::DKIM module is not installed.
If this module is installed, and you enable the DKIM plugin,
SpamAssassin will perform DKIM lookups when a DKIM-Signature
header is present in the message headers. (New versions of this module
support both Domain Keys and DKIM, rendering Mail::DomainKeys obsolete.)
***************************************************************************
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 (version 1.23) module is not installed.
The "sa-update" script requires this module to access tar update
archive files.
***************************************************************************
NOTE: the optional IO::Zlib (version 1.04) module is not installed.
The "sa-update" script requires this module to access compressed
update archive files.
***************************************************************************
NOTE: the optional Encode::Detect module is not installed.
If you plan to use the normalize_charset config setting to detect
charsets and convert them into Unicode, you will need to install
this module.
REQUIRED module missing: Digest::SHA1
REQUIRED module missing: HTML::Parser
REQUIRED module missing: Net::DNS
optional module missing: Mail::SPF
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: IO::Socket::SSL
optional module missing: Compress::Zlib
optional module missing: Mail::DomainKeys
optional module missing: Mail::DKIM
optional module missing: DBI
optional module missing: LWP::UserAgent
optional module missing: HTTP::Date
optional module missing: Archive::Tar
optional module missing: IO::Zlib
optional module missing: Encode::Detect
warning: some functionality may not be available,
please read the above report before continuing!
*** Error code 1
Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
*** Error code 1
Stop in /usr/ports/mail/p5-Mail-SpamAssassin.