How to upgrade spamassasin in cPanel.
Spamassasin latest version is 3.4. This is a perl module and can be installed from WHM>> Install a PERL module and give the module name as,
Mail::SpamAssassin.
Alternatively, this can be installled from backend using the below commands,
=-=-=-=-=-=-=-==-=-=-=-=-
To achieve this, do the following,
Go to cpan,
cpan
cpan> install Mail::SpamAssassin
OR
this could be installed using the command
/scripts/perlinstaller Mail::SpamAssassin
=-=-=-=-=-=-=-=-=-=-=-=-=-=
If this fails, this cold be installed forcefully using the below command,
=-=-=-=-=-=-=-=-
cpan> force notest install Geo::IP IO::Socket::IP Net::Patricia NetAddr::IP
cpan> force notest install Mail::SpamAssassin Mail::SpamAssassin::Plugin::Razor2
cpan> quit
=-=-=-=-=-=-=
Once this is complete, spamassasin version could be verified using the command,
#spamassassin -V
SpamAssassin version 3.4.0
running on Perl version 5.10
"Apache spamassin" version in cPanel is taken from the binary,
------------------
/usr/local/cpanel/3rdparty/bin/spamd -V
----------------
Spamassasin support "3.32" for the cPanel stable verion 11.44. Latest version 3.4 is incorporated in 11.46.
To install spamassin fupp package, execute the following command in cPanel servers.
----------------------------------------------------
cpan -i Archive::Tar Digest::SHA Net::DNS::Resolver::Programmable Mail::SPF IP::Country Net::Ident 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
-----------------------------------------------------
Spamassasin latest version is 3.4. This is a perl module and can be installed from WHM>> Install a PERL module and give the module name as,
Mail::SpamAssassin.
Alternatively, this can be installled from backend using the below commands,
=-=-=-=-=-=-=-==-=-=-=-=-
To achieve this, do the following,
Go to cpan,
cpan
cpan> install Mail::SpamAssassin
OR
this could be installed using the command
/scripts/perlinstaller Mail::SpamAssassin
=-=-=-=-=-=-=-=-=-=-=-=-=-=
If this fails, this cold be installed forcefully using the below command,
=-=-=-=-=-=-=-=-
cpan> force notest install Geo::IP IO::Socket::IP Net::Patricia NetAddr::IP
cpan> force notest install Mail::SpamAssassin Mail::SpamAssassin::Plugin::Razor2
cpan> quit
=-=-=-=-=-=-=
Once this is complete, spamassasin version could be verified using the command,
#spamassassin -V
SpamAssassin version 3.4.0
running on Perl version 5.10
"Apache spamassin" version in cPanel is taken from the binary,
------------------
/usr/local/cpanel/3rdparty/bin/spamd -V
----------------
Spamassasin support "3.32" for the cPanel stable verion 11.44. Latest version 3.4 is incorporated in 11.46.
To install spamassin fupp package, execute the following command in cPanel servers.
----------------------------------------------------
cpan -i Archive::Tar Digest::SHA Net::DNS::Resolver::Programmable Mail::SPF IP::Country Net::Ident 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
-----------------------------------------------------