Blocking custom file extension is not working

Denis Beauchemin Denis.Beauchemin at usherbrooke.ca
Thu Feb 4 13:40:09 UTC 2016


Peter,

The first one should work as long as you separated each field with TABs (not spaces). You also have to reload/restart MailScanner.

The second one looks strange with its “()”. What are you trying to block exactly with that?

Denis


De : MailScanner [mailto:mailscanner-bounces at lists.mailscanner.info] De la part de Pieter Goris
Envoyé : 4 février 2016 04:02
À : mailscanner at lists.mailscanner.info
Objet : Blocking custom file extension is not working

Hi,

So I want to block .dll and .()bat but mailscanner is not doing it.
I added this to the filename.rules at the bottom:
deny \.dll$ dll-files are not allowed         dll-files are not allowed
deny \.()bat$ Possible malicious batch file script               Batch files are often malicious

Regards,
Pieter Goris

--
This message has been scanned for viruses and dangerous content by
Cisa Antispam Service, and is believed to be clean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20160204/f6993d73/attachment.html>


More information about the MailScanner mailing list