Double extensions

Julian Field jkf at
Fri Dec 21 09:26:51 GMT 2001

At 23:09 20/12/2001, you wrote:
>And while you're busy working on that, might want to cover this, too:
>Basically, think of this file:
>virus.txt                                         .pif
>where the spaces between "txt" and ".pif" are part of the name.

# Deny filenames with lots of contiguous white space in them.
deny    \s{10,}         Filename contains lots of white space
                         A long gap in a name is often used to hide part of it

will take care of it.
Julian Field                Teaching Systems Manager
jkf at         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ

More information about the MailScanner mailing list