Page 1 of 1

how tom allow attachments with 2 fullstops

Posted: 05 Aug 2014 08:05
by bas60
We are getting more and more attachments with 2 full stops in the name
ie. annualreport.aspx.pdf these files are blocked

These are generally PDF's

is there any way to allow them?

What are the security issues

Re: how tom allow attachments with 2 fullstops

Posted: 05 Aug 2014 09:40
by darky83
By default E.F.A. blocks the file as it might be that an executable is named as a zip file (myfile.zip.exe) which could be an virus.
If this is the case, the best thing to do in my opinion is to instruct the user to not use dots in filenames, if that is not possible then you can allow this.

Edit the file: /etc/MailScanner/filename.rules.conf
at the bottom you will see the following:

Code: Select all

# Deny all other double file extensions. This catches any hidden filenames.
deny    \.[a-z][a-z0-9]{2,3}\s*\.[a-z0-9]{3}$   Found possible filename hiding                          Attempt to hide real filename extension
Replace deny with allow and reload mailscanner.