[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: clamav



On Tue, 29 Jun 2004 06:34:40 -0400
Tom Allison <tallison@tacocat.net> wrote:

> Can someone present an example of how to run clamav from the procmail
> files?
> 
> I've only seen it run as a daemon with amavisd-new.
> 
>
I'm using the following rule to incorporate clamscan directly into
my .procmailrc:

:0HB
* ? clamscan --mbox --quiet -; if [ $? == 0 ]; \
then /bin/false; else /bin/true; fi
spambox

(note that the second and third line should be one)



Reply to: