filename.rules.conf

Mark Sapiro mark at msapiro.net
Sat Nov 5 03:08:08 UTC 2016


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