Cannot allow 'exe' files

René Berber r.berber at
Fri Feb 22 04:36:36 GMT 2008

Charlie wrote:

> I have just reinstalled MailScanner but it is not allowing any 
> executable files (e.g. com, exe) to be sent *even though* I have changed 
> the relevant configuration file 'filename.rules.conf', and am pretty 
> sure I have successfully restarted MailScanner.
> The error I receive back from the server is:
> The following e-mails were found to have: Bad Filename Detected
> (and then in the Quarantine section it says: No programs allowed)
> The changes I did to 'filename.rules.conf' were to comment out these two 
> lines as follows:
> #deny   \.com$          Windows/DOS Executable
> #deny   \.exe$          Windows/DOS Executable
> I'm not sure what else to try.

# Where the "file" command is installed.
# This is used for checking the content type of files, regardless of their
# filename.
# To disable Filetype checking, set this value to blank.
File Command = #/usr/bin/file
René Berber

More information about the MailScanner mailing list