deny filenames

Discuss the ConfigServer MailScanner Front-End script
Post Reply
keat63
Junior Member
Posts: 116
Joined: 17 Dec 2014, 14:50

deny filenames

Post 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
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Re: deny filenames

Post 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
Post Reply