There is a script to re install spam assassin 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