Page 1 of 1

deny filenames

Posted: 03 Aug 2022, 08:50
by keat63
in the config pages is an option to deny filenames.

Deny any attachment filenames matching any of the patterns listed here.
If this setting is empty, it is ignored and no matches are made.
This can also be the filename of a ruleset.

This rule seems to be blocking the whole file name and not just the attachment.
example starke.pdf is being blocked becuase I have TAR as a file name rule.

Is it possible to block just the extension with a wild card.. eg *.tar

Re: deny filenames

Posted: 03 Aug 2022, 09:01
by Sarah
Hello,

You need to use regular expressions in this field as shown in the examples in the description above the "Allow Filenames" setting. For instance, if you want to deny all .tar files, use this:

Code: Select all

.\tar$
This should block filenames with an extension of exactly tar and nothing else.

Regards,

Sarah
Way to the Web Ltd
www.configserver.com