Jay Lee wrote:
> Julio Maidanik said:
>>
>>
>> Hi,
>> I have found that adding clamav checking through maildrop is quite
>> easy. It is so simple, that I would believe it might be useful for
>> other people, and so I am offering it to included in the clamav's
>> contrib
>> subdirectory.
>>
>> CLAMOUT=`/usr/local/bin/clamdscan --stdout - 2>&1`
>> log $CLAMOUT if ($RETURNCODE) { # A virus was found. You may, for
>> example deliver the message to a special "quarantine" account
>> to "[EMAIL PROTECTED]" }
>> else { # OK
>> }
>
> Instead of this, I use a simple script called clamassassin:
>
> http://drivel.com/clamassassin/
>
> You can call it via a xfilter:
>
> xfilter '/usr/bin/clamassassin'
>
Jay,
You obviously didn't read my post till the end.
I have created my script because I wasn't quite happy with clamassassin.
First, my script doesn't create a temporary file.
> and it will add headers like this:
>
> X-Virus-Status: Yes
> X-Virus-Report: Worm.Mytob.T FOUND
> X-Virus-Checker-Version: clamassassin 1.2.2 with clamdscan / ClamAV
> 0.86.2/995/Wed Jul 27 16:13:50 2005
>
Second, I don't see any use for clamassassin's added headers.
Although, they could be easily handled within maildrop.
Julio
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html