TechnoToys: Clam AntiVirus software

Nigel Horne njh at bandsman.co.uk
Tue May 3 08:51:28 MDT 2005


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
njh at despammed.com http://www.bandsman.co.uk


More information about the yellowdog-general mailing list