filename.rules.conf
Maarten
mailinglists at feedmebits.nl
Fri Nov 4 16:17:21 UTC 2016
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
>
>
> The normal filename blocks seem to be work(one of the default listed
> ones), cuz when I sent a test email with an attachment named test.bat
> it gets filtered out.
> deny \.reg$ Possible Windows registry attack Windows registry
> entries are very dangerous in email
>
>
>
> On 2016-11-04 15:42, Shawn Iverson wrote:
>> Yes, that is correct. I should have said it the other way around.
>>
>> On Fri, Nov 4, 2016 at 10:40 AM, Maarten <mailinglists at feedmebits.nl>
>> wrote:
>>
>>> 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] [1]
>>>
>>> --
>>>
>>> Shawn Iverson
>>> Director of Technology
>>> Rush County Schools
>>> 765-932-3901 x271 [2]
>>> iversons at rushville.k12.in.us
>>>
>>> Links:
>>> ------
>>> [1] 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
>> [2] tel:765-932-3901%20x271
More information about the MailScanner
mailing list