procmail
[Top] [All Lists]

Re: Real Virus Scanner

2004-02-13 11:59:59
On Fri, Feb 13, 2004 at 01:38:30PM -0500, Bob George wrote:

On Fri, Feb 13, 2004 at 12:14:10AM +0100, Dallman Ross wrote:

   :0 wib
   VIRUS=| clamscan -i --disable-summary --stdout  -

This is maddening. Now I can't get it to work with 'w' at all. 

I can't test things well with clamscan, as I've indicated.  I
suspect your trouble may be with the i flag.  As I said yesterday,
I am not at all sure we ever wanted it here.  I suspect not.

With VERBOSE=on, I see: Program failure (1) of "clamscan" when using
that line (including variations of adding the full path to clamscan).

Ah, but that's *not* really a failure.  It's just the standard text
for return status 1, which most programs reserve for some type
of error.  To clamscan and spamassassin, though, "1" mean a
virus or, respectively, spam-positive content was found.

Try it on an ordinary message to see the difference in yur logs.


When I use:

        :0 wib
        VIRUS=|/usr/bin/clamscan -i --disable-summary --stdout  -
or
        :0 wib
        VIRUS=|/usr/bin/clamscan -i --disable-summary --stdout  -

I get procmail: Skipped "Worm.Gibe.F FOUND" (or similar) messages from
clamscan/clamdscan. Clearly I'm doing something silly with procmai, and it's
interpreting the result a path (?)

I don't know why, but, again, try without the i flag to the recipes.

-- 
dman

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>