The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mailscanner clamav problem

Discussion in 'E-mail Discussions' started by stevebuk, Sep 2, 2004.

  1. stevebuk

    stevebuk Registered

    Joined:
    Jun 10, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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.
     
  4. stevebuk

    stevebuk Registered

    Joined:
    Jun 10, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    thanks, you are quite correct.

    The scripts worked a treat.

    Regards,
    Steve
     
  5. Parcye

    Parcye Well-Known Member

    Joined:
    May 19, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Eindhoven
    I have the exact same problem but the script has not fixed it.
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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.
     
Loading...

Share This Page