mailscanner clamav problem

stevebuk

Registered
Jun 10, 2004
2
0
151
Hi all,

I currenty use the old unsupported mailscanner and clamav on my server and have noticed that I keep getting the following error can you help :-

Current working dir is /usr/share/clamav
Checking for a new database - started at Thu Sep 2 20:47:58 2004
viruses.db not found in the data directory.
viruses.db2 not found in the data directory.
Connected to clamav.ozforces.com.
Reading md5 sum (viruses.md5): ERROR: md5 sum not found on remote server
ERROR: Can't get viruses.md5 sum from clamav.ozforces.com
Checking for a new database - started at Thu Sep 2 20:47:58 2004
viruses.db not found in the data directory.
viruses.db2 not found in the data directory.
Connected to clamav.cpanel.net.
Reading md5 sum (viruses.md5): ERROR: Malformed md5 checksum detected.
ERROR: Can't get viruses.md5 sum from clamav.cpanel.net
Checking for a new database - started at Thu Sep 2 20:47:59 2004
viruses.db not found in the data directory.
viruses.db2 not found in the data directory.
Connected to clamav.elektrapro.com.
Reading md5 sum (viruses.md5): ERROR: md5 sum not found on remote server
ERROR: Can't get viruses.md5 sum from clamav.elektrapro.com
Checking for a new database - started at Thu Sep 2 20:48:03 2004
viruses.db not found in the data directory.
viruses.db2 not found in the data directory.
Connected to clamav.ozforces.com.
Reading md5 sum (viruses.md5): ERROR: md5 sum not found on remote server
ERROR: Can't get viruses.md5 sum from clamav.ozforces.com
Checking for a new database - started at Thu Sep 2 20:48:03 2004
viruses.db not found in the data directory.
viruses.db2 not found in the data directory.
Connected to clamav.essentkabel.com.
Reading md5 sum (viruses.md5): ERROR: md5 sum not found on remote server
ERROR: Can't get viruses.md5 sum from clamav.essentkabel.com
Checking for a new database - started at Thu Sep 2 20:48:04 2004
viruses.db not found in the data directory.
viruses.db2 not found in the data directory.
Connected to clamav.linux-sxs.org.
Reading md5 sum (viruses.md5): ERROR: md5 sum not found on remote server
ERROR: Can't get viruses.md5 sum from clamav.linux-sxs.org

Thanks
Steve
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Yup. You need to upgrade both MailScanner and ClamAV. The version of ClamAV that you're using is likely to be 0.60 which is no longer supported as the virus definition database format changed in version 0.70 and they stopped support for the old one on 1 September 2004.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
My MailScanner script doesn't do anything with ClamAV.

This is what I do to clear out the old ClamAV and install to the distributions default directory:
Code:
/bin/rm -Rfv /usr/bin/clam*
/bin/rm -Rfv /usr/sbin/clam*
/bin/rm -Rfv /usr/lib/libclam*
/bin/rm -Rfv /usr/share/clam*
/bin/rm -Rfv /usr/include/clam*
/bin/rm -Rfv /usr/bin/freshclam*
/bin/rm -Rfv /usr/etc/clamav*

useradd clamav
wget http://heanet.dl.sourceforge.net/sourceforge/clamav/clamav-0.75.1.tar.gz
tar -xzf clamav-*
cd clamav-*
./configure
make
make install
freshclam
Note that the URL is just one for that version of ClamAV - you should vsist the ClamAV site to get the latest/nearest download link.