Re: clamav
> On Tue, Jun 29, 2004 at 06:34:40AM -0400, Tom Allison wrote:
>> Can someone present an example of how to run clamav from the procmail
>> files?
Mine is now working great using clamassassin. Here is my [admitedly
aggressive] procmailrc:
:0fw
| /root/clamassassin-1.1.0/clamassassin
:0:
* ^X-Virus-Status: Yes
/dev/null
:0fw
| /usr/bin/spamc
:0:
* ^X-Spam-Status: Yes
/dev/null
In the clamassassin script, I indicated the path to clamdscan (note the
"d"). Before adding the /dev/null section to the procmailrc, I got
headers like this when testing:
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on Luke.wa9als.com
X-Spam-Level:
X-Spam-Status: No, hits=-3.5 required=5.0 tests=BAYES_00,NO_REAL_NAME,
PRIORITY_NO_NAME autolearn=no version=2.63
Subject: *****VIRUS***** i-car
X-Virus-Status: Yes
X-Virus-Report: Eicar-Test-Signature FOUND
X-Virus-Checker-Version: Luke.wa9als.com running ClamAssassin 1.1.0 with
clamdscan / ClamAV version 0.73
Thus, particularly for us newbies, running clamdscan from procmail is far
simpler than configuring MailScanner or Amavis. GL - John
Reply to:
- References:
- clamav
- From: Tom Allison <tallison@tacocat.net>
- Re: clamav
- From: Antony <antony@antgel.co.uk>