filename.rules.conf

Maarten mailinglists at feedmebits.nl
Fri Nov 4 14:40:34 UTC 2016


I was using tabs since at the top it of the config file it says:

# NOTE: Fields are separated by TAB characters --- Important!

Using spaces now, still the filenames aren't getting blocked:


deny SCAN_2016_.*\.zip$ "TEST "TEST"
deny Incasso\.zip "TEST" "TEST





On 2016-11-04 15:24, Shawn Iverson wrote:
> Are you using tabs instead of spaces?  That's a tricky thing about
> MailScanner.
> 
> On Fri, Nov 4, 2016 at 9:17 AM, Maarten <mailinglists at feedmebits.nl>
> wrote:
> 
>> Hello,
>> 
>> I'm running mailscanner-4.85.2-3, and I've added two custom rules to
>> filename.rules.conf. However it seems to files don't get blocked.
>> Here are two examples of rules I"ve added:
>> 
>> deny    SCAN_2016_.*\.zip$      TEST    TEST
>> deny    Incasso\.zip$   TEST    TEST
>> 
>> I'm not seeing any syntax errors in my logs referring to
>> filename.rules.conf, when I had the syntax wrong before I say errors
>> complaining about it. Am I missing something?
>> 
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner [1]
> 
> --
> 
> Shawn Iverson
> Director of Technology
> Rush County Schools
> 765-932-3901 x271
> iversons at rushville.k12.in.us
> 
> 
> 
> Links:
> ------
> [1] http://lists.mailscanner.info/mailman/listinfo/mailscanner


More information about the MailScanner mailing list