{Spam?} Re: File names rule to catch rar attachments

Remco Barendse mailscanner at barendse.to
Sun Mar 18 11:59:35 UTC 2018


On Thu, 15 Mar 2018, Jim Creason wrote:

>
> Something like \.r[0-9]{1,2} should do it, no?

This works perfectly, thanks so much!  Just had to add $ at the end, so:
deny    \.r[0-9]{1,2}$          -       -

Maybe a useful addition to the standard set of filename rules as well?


>
>
>
> On 3/15/2018 9:10 AM, Remco Barendse wrote:
>> I'm trying to find a way to block .rar archives. Blocking the standard .rar 
>> is a no brainer but how do i block all the child archives like
>> .r01
>> .r02
>> .r11
>> .r66 etc.
>> 
>> How to add that to filename rules without using 99 lines? :)
>> 
>> Thanks!
>> Remco
>> 
>> 
>


More information about the MailScanner mailing list