How to install Mail::SPF on cpanel server ?
Please use the following one line command to perform the install:
perl -MCPAN -e "get('Mail::SPF')" && cd /home/.cpan/sources/authors/id/J/JM/JMEHNLE/mail-spf && tar -xzvf Mail-SPF-v2.007.tar.gz && cd Mail-SPF-v2.007 && perl Build.PL && ./Build && ./Build test && ./Build install && /scripts/checkperlmodules --full
Done
===========================================
As an alternative, to help clarify the steps used by the above command, here is each step on its own line:
Code:
# perl -MCPAN -e "get('Mail::SPF')" # cd /home/.cpan/sources/authors/id/J/JM/JMEHNLE/mail-spf # tar -xzvf Mail-SPF-v2.007.tar.gz # cd Mail-SPF-v2.007 # perl Build.PL # ./Build # ./Build test # ./Build install # /scripts/checkperlmodules --full =========================================== You can check the perl module installed on the server by using the single command. # instmodsh