On Tue, 29 Jun 2004 06:34:40 -0400
Tom Allison <[EMAIL PROTECTED]> 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)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to