On Tuesday 03 May 2005 15:24, Joseph E. Sacco, Ph.D. wrote:

> For example, the Evolution mailer can apply filters to incoming and
> outgoing mail. One available type of filter pipes mail through a shell
> script and then takes an action [e.g. move infected email to a
> particular folder] based upon the return value of the shell script. Here
> is a simple shell script that can be used to implement an anti-virus
> filter:
> 
>         % cat /usr/local/bin/clam-filter
>         
>         #!/bin/sh
>         /usr/bin/clamscan --quiet --stdout --recursive -

In this scenario you should use clamdscan, not clamscan, it would be much 
quicker.

> -Joseph

-Nigel

-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk
_______________________________________________
yellowdog-general mailing list
[email protected]
http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'

Reply via email to