Filename
kevin
kevind at GO2.IE
Thu Jul 21 09:21:49 IST 2005
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Uwe wrote:
>Hello,
>
>i have set up filename.types.rules :
>
># 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
>deny \pdf$.\exe$ Not allow
>
>
>
i could be wrong, it's been a while. but from my shell scripting days
the first thing i would spot is :
deny \pdf$.\exe$ Not allow
^
the '$' symbol indicates the end of the file name
if you wanted to catch blah.pdf.exe use \pdf\.exe$
if you wanted to block each ending just write two rules.
kevind
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list