Long gaps?

Gareth list-mailscanner at linguaphone.com
Sun Apr 15 09:32:11 IST 2007


> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info]On Behalf Of G.
> Armour Van Horn
> Sent: 15 April 2007 01:24
> To: MailScanner discussion
> Subject: Long gaps?
>
>
> Greetings:
>
> A file attachment was blocked recently with the following report:
>
> Report: MailScanner: A long gap in a name is often used to hide part of
> it (Amanda Dukehar.pdf)
>
> That seems odd, I wouldn't normally regard one space as a "long gap". I
> checked in filename.rules.conf and found this rule:
>
> # 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 $
>
> I'm regex-illiterate, but that suggests to me that the intent is to
> block anything with a run of ten spaces in it.
>
> Lots of folks use spaces in filenames, and I really don't like the idea
> of needing to fish all of them out of quarantine manually. Is there
> something wrong with that rule, or do I have to just abandon that test?
>
> Van

\s{10,} matches a sequence of at least 10 spaces one directly after the
other.



More information about the MailScanner mailing list