« Return to Thread: maildroprc - bypass the .mailfilter file to limit spam scan size

Re: maildroprc - bypass the .mailfilter file to limit spam scan size

by COGZ :: Rate this Message:

| View in Thread

Thanks for the info. When I do that it looks like it prevents deliver of the message also.

if ($SIZE > 50000)
{
  exit
}

Sam Varshavchik wrote:
COGZ writes:

>
> Is it possible to bypass the .mailfilter in the user's folder with code in
> the maildroprc file? I would like to limit the size of files scanned with
> spamassasin but can not control what users do in their .mailfilter file.
>
> maildroprc logic would go like this:
> If SIZE if < 250000
>  Use the users.mailfilter file
> Else
>  Bypass the users.mailfilter file
> END

Executing an exit or a to statement in the global maildroprc file will
terminate mail filtering.


 
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev

_______________________________________________
Courier-maildrop mailing list
Courier-maildrop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop

 « Return to Thread: maildroprc - bypass the .mailfilter file to limit spam scan size