« 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 Sam Varshavchik :: Rate this Message:

| View in Thread

COGZ writes:

>
> Thanks for the info. When I do that it looks like it prevents deliver of the
> message also.
>
> if ($SIZE > 50000)
> {
>   exit
> }

That's what you wanted to do: to stop mail filtering.

If you want to take the default action of delivering to the default mailbox,
use to $DEFAULT instead of 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@...
>> https://lists.sourceforge.net/lists/listinfo/courier-maildrop
>>
>>
>
> --
> View this message in context: http://old.nabble.com/maildroprc---bypass-the-.mailfilter-file-to-limit-spam-scan-size-tp29634526p29681597.html
> Sent from the courier-maildrop mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> 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@...
> https://lists.sourceforge.net/lists/listinfo/courier-maildrop


------------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/courier-maildrop

attachment0 (205 bytes) Download Attachment

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