Blocking custom file extension is not working
richard at fastnet.co.uk
Thu Feb 4 15:09:50 UTC 2016
I would think you need to escape the special characters -
deny \.\(\)bat$ Possible malicious batch file script Batch files are often malicious
From: MailScanner [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Pieter Goris
Sent: 04 February 2016 09:02
To: mailscanner at lists.mailscanner.info
Subject: Blocking custom file extension is not working
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
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...
More information about the MailScanner