How to Install Spamassassin with SpamBlocker, Blockcracking, Easy Spam Fighter on a DirectAdmin server
For Centos 7
first install this!
yum -y install perl-ExtUtils-MakeMaker perl-Digest-SHA perl-Net-DNS perl-NetAddr-IP perl-Archive-Tar perl-IO-Zlib perl-Digest-SHA perl-Mail-SPF \
perl-IP-Country perl-Razor2 perl-Net-Ident perl-IO-Socket-INET6 perl-IO-Socket-SSL perl-Mail-DKIM perl-DBI perl-Encode-Detect perl-HTML-Parser \
perl-HTML-Tagset perl-Time-HiRes perl-libwww-perl perl-Sys-Syslog
For Debian 7, 8 or Ubuntu 16.04
First install this!
cpan -i Archive::Tar Digest::SHA Net::DNS Net::DNS::Resolver::Programmable Mail::SPF Geo::IP Net::CIDR::Lite IO::Socket::IP \
IP::Country Net::Ident Net::Patricia IO::Socket::INET6 Compress::Zlib Mail::DKIM LWP::UserAgent HTTP::Date Encode::Detect ExtUtils::MakeMaker \
NetAddr::IP Mail::SpamAssassin::Plugin::Razor2 Razor2::Client::Agent IO::Socket::SSL DBI Sys::Syslog
After above install you can use below install steps.
For Debian 9 or Ubuntu 18.04
Update install urls
nano /root/.cpan/CPAN/MyConfig.pm
'urllist' => [q[http://www.cpan.org/]],
cpan -i Archive::Tar Digest::SHA Net::DNS Net::DNS::Resolver::Programmable Mail::SPF Geo::IP Net::CIDR::Lite IO::Socket::IP IP::Country Net::Ident Net::Patricia IO::Socket::INET6 Compress::Zlib Mail::DKIM LWP::UserAgent HTTP::Date Encode::Detect ExtUtils::MakeMaker NetAddr::IP Mail::SpamAssassin::Plugin::Razor2 Razor2::Client::Agent IO::Socket::SSL DBI Sys::Syslog
|
||
Newer versions of SpamBlocker support several new features, giving you more control to fight spam, both inbound and outbound. Many of the changes are listed here: https://forum.directadmin.com/showthread.php?t=50059 Info on easy_spam_figher (ESF) and BlockCracking (BC). If you're running CustomBuild 2.0, it can install these things for you: Check Exim version exim --version |head -1 cd /usr/local/directadmin/custombuild ./build set exim yes |