Hi,
I am getting this to with a new installation of ISPConfig 2.2.6 on Fedora Core 5 (64bit)
When looking at the email header information I see this:
X-Virus-Status: Failed
X-Virus-Report: /home/admispconfig/ispconfig/tools/clamav/bin/clamscan error 50
X-Virus-Checker-Version: clamassassin 1.2.3 with clamscan / ClamAV 0.88.4/1779/Thu Aug 31 08:56:15 2006
and when I do this:
ls -la /home/admispconfig/ispconfig/tools/clamav/share/clamav
I get this:
-rw-r--r-- 1 admispconfig admispconfig 352023 Aug 31 10:04 daily.cvd
-rw-r--r-- 1 admispconfig admispconfig 5858804 Aug 30 16:55 main.cvd
I have also done this:
cat /etc/passwd | /home/admispconfig/ispconfig/tools/clamav/bin/clamassassin
<removed>
I get this:
X-Virus-Status: No
X-Virus-Checker-Version: clamassassin 1.2.3 with clamscan / ClamAV 0.88.4/1779/Thu Aug 31 08:56:15 2006
please help
thanks
-UPDATE-
I'm still no further with this
I done the following this time:
cat test | /home/admispconfig/ispconfig/tools/clamav/bin/clamassassin
Subject:
X-Virus-Status: Yes
X-Virus-Report: Eicar-Test-Signature FOUND
X-Virus-Checker-Version: clamassassin 1.2.3 with clamscan / ClamAV 0.88.4/1782/Thu Aug 31 17:54:15 2006
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
notice this time it reports X-Virus-Status: Yes but when I emailed that file to myself, this is what I get back
mail -s "test" emailaddress <test
--------------------------------------------------------------
From root@HIDDEN Thu Aug 31 23:07:21 2006
Return-Path: <root@HIDDEN>
X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on
HIDDEN
X-Spam-Level:
X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=ham
version=3.1.3
Received: from HIDDEN (localhost.localdomain [127.0.0.1])
by HIDDEN (8.13.7/8.13.7) with ESMTP id k7VM7Ifv005174
for <test@HIDDEN2>; Thu, 31 Aug 2006 23:07:18 +0100
Received: (from root@localhost)
by HIDDEN (8.13.7/8.13.7/Submit) id k7VM7Ile005173
for test@HIDDEN2; Thu, 31 Aug 2006 23:07:18 +0100
Date: Thu, 31 Aug 2006 23:07:18 +0100
From: root <root@HIDDEN>
Message-Id: <200608312207.k7VM7Ile005173@HIDDEN>
To: test@HIDDEN2
Subject: test
X-Virus-Status: Failed
X-Virus-Report: /home/admispconfig/ispconfig/tools/clamav/bin/clamscan error 50
X-Virus-Checker-Version: clamassassin 1.2.3 with clamscan / ClamAV 0.88.4/1782/Thu Aug 31 17:54:15 2006
-Another UPDATE-
I seem to be getting further (hopefully) to getting it sorted.
I spotted that the actual mailbox account is the one actually triggering the clamassassin script, a quick ps show's me what I'm after:
10002 5703 0.0 0.0 5552 980 ? S 23:11 0:00 /bin/sh /home/admispconfig/ispconfig/tools/clamav/bin/clamassassin
now UID 10002 is the mailbox account which is calling the script clamassassin so when I run
/home/admispconfig/ispconfig/tools/clamav/bin/clamscan as my the actual mailbox account and not as root I get the following:
/home/admispconfig/ispconfig/tools/clamav/bin/clamscan /home/admispconfig/ispconfig/tools/clamav/bin/test
dm-0: write failed, group block limit reached.
LibClamAV Error: Wrote 0 instead of 512 (/tmp/clamav-1267d2abc0ae0f6f/main.db).
cli_untgz: Disk quota exceeded
LibClamAV Error: cli_cvdload(): Can't unpack CVD file.
LibClamAV Error: Can't load /home/admispconfig/ispconfig/tools/clamav/share/clamav/main.cvd: CVD extraction failure
ERROR: CVD extraction failure
----------- SCAN SUMMARY -----------
Known viruses: 3256
Engine version: 0.88.4
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Time: 0.243 sec (0 m 0 s)
Now the thing is there is NO disk quota on the mailbox account at all:
Disk quotas for user web1_test (uid 10002): none
and the .quota.rc is commented out:
## INCLUDERC=/var/www/web1/user/web1_test/.quota.rc
Help please ?
Recent comments
12 hours 5 min ago
17 hours 3 min ago
18 hours 30 min ago
19 hours 23 min ago
21 hours 6 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 4 hours ago
1 day 17 hours ago
1 day 19 hours ago