On Mon, 8 Mar 2004, Morris Jones wrote:

> On Sun, 7 Mar 2004, Matthew Cline wrote:
>
> > On Monday 08 March 2004 04:14 am, Ed Kasky wrote:
> > > :0w
> > >
> > > VIRUS=|/usr/local/bin/clamdscan --mbox --disable-summary --stdout  -
> >
> > I found that I had to removed the "w" from ":0w" to get this to work.  Don't
> > know why.
>
> Are you sure that's working?  I couldn't use clamdscan with the --mbox
> option, and had to change it to clamscan, among other problems.  I need
> to document all that.

--mbox works fine here. This is the variation I'm useing, and I believe I'm
the original person who posted the method of useing backticks:

VIRUS=`/usr/local/bin/clamdscan --mbox --disable-summary --stdout  -`

:0 Di
* VIRUS ?? FOUND
| /etc/mail/lognul -t Virus


(Where lognul is a program I wrote to log nuked spam from/Subject to an SQl
database).

==========================================================
Chris Candreva  -- [EMAIL PROTECTED] -- (914) 967-7816
WestNet Internet Services of Westchester
http://www.westnet.com/

Reply via email to