Upgrading MailScanner and ClamAV
Upgrading MailScanner
- Remove any previous versions before downloading:
rm -fv msinstall.tar.gz
rm -Rfv msinstall/
- Run the following commands from the root shell:
wget http://www.configserver.com/free/msinstall.tar.gz
tar -xzf msinstall.tar.gz
cd msinstall/
sh install.sh
Select option 1 to upgrade - Check that MailScanner has restarted OK:
tail -f /var/log/maillog
Upgrading ClamAV
- Download the latest stable ClamAV distribution from http://www.clamav.net
- Expand the distribution and cd into the resultant directory
and build ClamAV using:
tar -xzf clamav-*
cd clamav*
./configure --disable-zlib-vcheck
make
make install
replace "Example" "#Example" -- /usr/local/etc/freshclam.conf
replace "Example" "#Example" -- /usr/local/etc/clamd.conf - Run freshclam to download the latest definitions:
freshclam
- If you're using the clamavmodule, check you have the latest version installed:
/scripts/perlinstaller --force Mail::ClamAV - Then restart MailScanner with:
service MailScanner restart
That's it. If you don't feel confident doing any of this yourself, or if you get into a horrible mess, we offer a cheap package to do it all for you, and more, over here.
*Remember that adding virus scanning of emails to MailScanner will add load to your server.
