[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] Limit files size on procmail and clamav



On Mon, 22 Nov 2004 10:11:32 -0700
Scott Wiersdorf <scott@xxxxxxxxxxxx> wrote:

> > There was a thread on the VPS2 list a few months back which had the size
> > limitation on the "CLAMAV ?? .*: \/.* FOUND" section, so that's what I
> > was going by.
> 
> Don't believe everything you read.

	I don't, necessarily, but I would have thought someone in what I
recall was a decent length thread would have jumped in.  And, in this
vein...

  ## don't scan message bodies larger than 10 megs
  :0
  * B > 10000000
  { DONTSCAN=1 }

I had to remove the "B" to get this to work.  :)  I actually modified it
a bit to log the event, something like:

{
  DONTSCAN=1
  LOG="Scan skipped (message too big)${NL}"
}

Then added "* ! $ $DONTSCAN" to each of the other sections.

 - Steve Yates
 - ITS, Inc.
 - Scotty, hurry!  Beam me  uragg^* NO CARRIER


======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: