Filename Restrictions Not working

Denis Beauchemin Denis.Beauchemin at
Wed Feb 18 13:44:21 GMT 2015

Agreed : you should use forward slashes “/” in all MS config files whenever you want to refer to a file path. And I’m also pretty sure you can’t put “allow/deny” filetypes rules directly in MailScanner.conf.

Have you tried “MailScanner --lint”? If so, don’t you have any errors?


De : mailscanner-bounces at [mailto:mailscanner-bounces at] De la part de James Nelson
Envoyé : 17 février 2015 16:40
À : MailScanner discussion
Objet : RE: Filename Restrictions Not working

Hi Kevin,

I’ve tried with linking directly to filename.rules.conf, I’ve tried using a filename.rules that points FromOrTo:                default                 \etc\MailScanner\filename.rules.conf , but neither approach is working.

What’s especially odd is if explicitly define a blocked file type…say, \.exe$ directly in MailScanner.conf, even THAT doesn’t work.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list