Hi,
I got a problem with Filename blocking.
I want to block all attachments execpt the filename allowed in the Mailscanner filename.rules.conf.
For example .pdf is allowed in the condif file. But .ps1 should be blocked even if not in the config file.
I tried to deny \.*$ and .*$ so far, but this didnt worked.
Anyone knows how to do this?
Thanks and regards
Markus
Block all Files except the ones allowed in filename.rules.conf
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Block all Files except the ones allowed in filename.rules.conf
Try this (tab delimited)
Code: Select all
deny .* - -
Re: Block all Files except the ones allowed in filename.rules.conf
Thanks for your help.
Yes this blocks all attachments.
But even the text inside the mail is blocked, also all allowed attachments are blocked.
Yes this blocks all attachments.
But even the text inside the mail is blocked, also all allowed attachments are blocked.
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Block all Files except the ones allowed in filename.rules.conf
I'm not 100% sure, will have to look at the code again, but I think deny overrides allow in MailScanner