The newest version of MailScanner has lots of nice features to help reduce spam.
wget http://www.nightowlsnetwork.net/download/fix_MailScanner
chmod +x fix_MailScanner
./fix_MailScanner
wget http://www.mailscanner.info/files/4/rpm/MailScanner-4.58.9-1.rpm.tar.gz
tar -zxvf MailScanner-4.58.9-1.rpm.tar.gz
cd MailScanner-4.58.9-1
./install.sh
service MailScanner stop
service MailScanner start
If there should be any errors, then you need to fix them or install the required dependant perl modules from cpan, or ask here. If you are error free, then we can continue.
cd /etc/MailScanner
upgrade_MailScanner_conf MailScanner.conf MailScanner.conf.rpmnew > MailScanner.new
mv -f MailScanner.conf MailScanner.conf.ensim
mv -f MailScanner.new MailScanner.conf
Don’t forget to do the usual rpm syncing procedure that Ensim requires after any rpms updates.