Clamav-wrapper

Desai, Jason jase at SENSIS.COM
Fri Aug 15 17:23:36 IST 2003


I think it's a good solution.  I won't be able to test the wrapper until
Monday, but it looks like it will work great.  Thanks!

Jason

> What does anyone think of this?
>
> I have commented out the max-files, max-space or
> max-recursion switches as
> I don't want to disable any DoS protection. If you need them
> for some of
> your local users, you will need to add them yourself.
>
> It tries clamscan with all the options, and then tries a
> simpler command if
> that one failed and clam complained it didn't like the
> command-line options.
>
> At 17:01 15/08/2003, you wrote:
> >You could run calmscan -V, make it a config option, or maybe
> just put some
> >comments in the clamav-wrapper indicating that the options
> are valid for
> >clam >= 0.60?
> >
> > >
> > > Sounds good. Now how do I tell they are using at least
> > > version 0.60 before
> > > I run it?
> > > :-)
> > >
> > > At 20:44 14/08/2003, you wrote:
> > > >Julian,
> > > >
> > > >(I mentioned this when you were on vacation).  I have to use
> > > >
> > > >--max-files=0 --max-space=0 --max-recursion=0
> > > >
> > > >for some of the zip files my users were sending.  I think
> > > that by default,
> > > >ClamAV uses some reasonable default for those values
> > > attempting to protect
> > > >against a DOS.  But since MailScanner already handles this
> > > with a timeout, I
> > > >thought it better to just disable ClamAV's DOS protection.
> > > I'm not sure
> > > >when these options made it into ClamAV, but I'm using
> version 0.60.
> > > >
> > > >Jason
> > > >
> > > > > -----Original Message-----
> > > > > From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> > > > > Sent: Thursday, August 14, 2003 5:58 AM
> > > > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > > > Subject: Re: [MAILSCANNER] Clamav-wrapper
> > > > >
> > > > >
> > > > > Can a few other people try this out please, and let me know
> > > > > if it works for
> > > > > everyone.
> > > > > The line to edit is in /usr/lib/MailScanner/clamav-wrapper.
> > > > >
> > > > > At 10:25 14/08/2003, you wrote:
> > > > > >Hi,
> > > > > >
> > > > > >I just switched to
> > > > > >
> > > > > >ScanOptions="$ScanOptions --unzip --unarj --unrar --tar
> > > --tgz --lha"
> > > > > >
> > > > > >and this works. I lied by the way: The clamav port does
> > > not install
> > > > > >unzoo, unace, jar, deb...
> > > > > >
> > > > > >Regards,
> > > > > >   JP
> > > > >
> > > > > --
> > > > > Julian Field
> > > > > www.MailScanner.info
> > > > > MailScanner thanks transtec Computers for their support
> > > > >
> > >
> > > --
> > > Julian Field
> > > www.MailScanner.info
> > > Professional Support Services at www.MailScanner.biz
> > > MailScanner thanks transtec Computers for their support
> > >
>



More information about the MailScanner mailing list