SpamAssassin Plugin
Hello,
When running a spamassassin command I get this error:
plugin: failed to parse plugin (from @INC):
Can't locate Mail/SpamAssassin/Plugin/Hashcash.pm in @INC
(you may need to install the Mail::SpamAssassin::Plugin::Hashcash module)
(@INC contains: /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux
/usr/local/cpanel/3rdparty/perl/536/cpanel-lib /usr/local/cpanel
/usr/local/cpanel/3rdparty/perl/536/lib/x86_64-linux
/usr/local/cpanel/3rdparty/perl/536/lib
/opt/cpanel/perl5/536/site_lib/x86_64-linux
/opt/cpanel/perl5/536/site_lib) at (eval 54) line 1.
I search the HashCash Perl module in WHM Module Installers but it was not available. How can I install this SpamAssassin Plugin to avoid this error?
Thank you in advance.
Mauricio
-
Hey there! You can install the plugin using the following command on the server:
/usr/local/cpanel/3rdparty/perl/536/bin/cpan install DIGEST::Hashcash
as outlined in our guide here:
However, it seems that plugin has been deprecated as the installation command gives me this warning:
It seems you are running perl version 5.036000, likely the "official" or
*** "standard" version. While there is nothing wrong with doing that,
*** standard perl versions 5.022 and up are not supported by Digest::Hashcash.
*** While this might be fatal, it might also be all right - if you run into
*** problems, you might want to downgrade your perl or switch to the
*** stability branch.so you may want to look into alternative tools to use instead.
0
Please sign in to leave a comment.
Comments
1 comment