Clamav and Spamassassin not working since upgrade to 2.2.16

Discussion in 'General' started by Telesat, Sep 7, 2007.

  1. Telesat

    Telesat New Member

    Hello,

    all the mail my server receives is marked like this:

    Code:
    X-Virus-Status: Failed
    X-Virus-Report: /home/admispconfig/ispconfig/tools/clamav/bin/clamscan error 50
    X-Virus-Checker-Version: clamassassin 1.2.4 with clamscan / ClamAV 0.91.2
    Viruses are not being stopped and spam subject is not being rewritten.


    Looking at /home/admispconfig/ispconfig/tools/clamav/bin/clamassassin I can see that the error 50 is issued here:

    Code:
    ${CLAMSCAN} ${CLAMSCANOPT} - < ${MSGTMP} > ${LOGTMP} \
      2> /dev/null
    RESULT=$?
    But I can't find the error 50 in the logs, and I don't know how to manually reproduce it in verbose mode.

    I'm using the 'Perfect Setup' for Ubuntu 7.04 Server 32bit (up-to-date).

    I've read the similar old threads* but I have not found any solution (I have no quotas for mailboxes).

    * http://www.howtoforge.com/forums/showthread.php?t=6230 and http://www.howtoforge.com/forums/showthread.php?t=6281

    clamscan's behaviour is ok with the EICAR test file:

    Code:
    root@bombo:~ ;)$ su - admispconfig
    
    admispconfig@bombo:~$ ls -la ./ispconfig/tools/clamav/bin
    total 616
    drwxr-xr-x 2 admispconfig admispconfig   4096 2007-09-07 17:20 .
    drwxr-xr-x 8 admispconfig admispconfig   4096 2007-02-23 17:39 ..
    -rwxr-xr-x 1 admispconfig admispconfig   6187 2007-08-30 02:30 clamassassin
    -rwxr-xr-x 1 admispconfig admispconfig   1071 2007-08-30 02:30 clamav-config
    -rwxr-xr-x 1 admispconfig admispconfig  45469 2007-08-30 02:30 clamconf
    -rwxr-xr-x 1 admispconfig admispconfig  78876 2007-08-30 02:30 clamdscan
    -rwxr-xr-x 1 admispconfig admispconfig 114428 2007-08-30 02:30 clamscan
    -rwxr-xr-x 1 admispconfig admispconfig 164440 2007-08-30 02:30 freshclam
    -rwxr-xr-x 1 admispconfig admispconfig 163981 2007-08-30 02:30 sigtool
    -rwxr-xr-x 1 admispconfig admispconfig  11287 2007-09-07 12:27 trashscan
    
    admispconfig@bombo:~$ wget http://eicar.org/download/eicar.com.txt
    
    admispconfig@bombo:~$ ./ispconfig/tools/clamav/bin/clamscan eicar.com.txt
    eicar.com.txt: Eicar-Test-Signature FOUND
    
    ----------- SCAN SUMMARY -----------
    Known viruses: 150982
    Engine version: 0.91.2
    Scanned directories: 0
    Scanned files: 1
    Infected files: 1
    Data scanned: 0.00 MB
    Time: 1.208 sec (0 m 1 s)
    
    Thanks for your help :eek:

    PS This problem was first posted here: http://www.howtoforge.com/forums/showpost.php?p=85668&postcount=19
     
    Last edited: Sep 7, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. Telesat

    Telesat New Member

    Last edited: Sep 12, 2007

Share This Page