deny all file extensions

Julian Field mailscanner at
Fri May 9 22:33:50 IST 2003

At 22:05 09/05/2003, you wrote:
>I was wondering about the filename.rules.conf file and wondering if
>there is a way to do a deny all rule and then specify the allowed files.
>And what would the deny all rule look like?

You want to put the allow rules ahead of the deny rule. Then you could just
ban any file whose name includes a "."
deny    \.      Files banned by default Sorry, most attachments are banned

Make sure each chunk of that line is separated from the next by tab
characters and not spaces.
Julian Field
Professional Support Services at
MailScanner thanks transtec Computers for their support

More information about the MailScanner mailing list