filename.rules.conf

Maarten mailinglists at feedmebits.nl
Sat Nov 5 19:38:37 UTC 2016


Thanks, that seems to work.



On 2016-11-05 04:08, Mark Sapiro wrote:
> On 11/04/2016 09:17 AM, Maarten wrote:
>> The custom filenamerules don't work under my install. I have an older
>> system running mailscanner-4.81.4-1 with the same filename rules and
>> when the mails go through that
>> system the files do get blocked. So Since the default blocks  work on 
>> my
>> new system with mailscanner-4.85.2-3.noarch and the custom ones  
>> don't.
>> I'm probably missing something?
>> 
>> 
>>> Yes using tabs:
>>> 
>>> deny    SCAN_2016_.*\.zip$    TEST    TEST"
>>> deny    Incasso\.zip    TEST    TEST
> 
> 
> Those rules have to come before the the default
> 
> allow   \.zip$                  -       -
> 
> rule and any other allow rules that might match.
> 
> --
> Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list