how to allow double filename extension
how to allow double filename extension
ineed to allow double file extension like name.xls.pdf or any name.*.pdf
Re: how to allow double filename extension
You need to tweak the following file:xeonex wrote:ineed to allow double file extension like name.xls.pdf or any name.*.pdf
/usr/mailscanner/etc/filename.rules.conf
Re: how to allow double filename extension
yes but i do not find asuitable rule to get it work i have tried like
allow \.[a-z][a-z0-9]{2,3}\s*\.pdf$
allow \.[a-z][a-z0-9]{2,3}\s*\.pdf$
Re: how to allow double filename extension
Try to wrote your rule, before the deny rule:xeonex wrote:yes but i do not find asuitable rule to get it work i have tried like
allow \.[a-z][a-z0-9]{2,3}\s*\.pdf$
# Deny all other double file extensions. This catches any hidden filenames.
deny \.[a-z][a-z0-9]{2,3}\s*\.[a-z0-9]{3}$ Found possible filename hiding Attempt to hide real filename extension
Re: how to allow double filename extension
thanx that worked