How to re- install spamassassin in server

We can use the following script to re install spamassassin on the server.

/scripts/perlinstaller –force Mail::Spamassassin

If the above script is giving errors, do the following steps:

export

unset PERL5LIB

unset PERL_LOCAL_LIB_ROOT

rm /usr/bin/spamd

rm /usr/bin/spamc

/scripts/installspam –force

/scripts/perlinstaller –force Mail::SpamAssassin