Maximum Filename Length

Julian Field mailscanner at ecs.soton.ac.uk
Tue Jan 14 21:58:11 GMT 2003


If you need a quick fix for this before I release the next version, I can
give you one now. Turned out to be a simpler fix than I thought (I like it
when it works like that :-)
Involves replacing 3 files.

At 15:16 14/01/2003, you wrote:
>I'm trying to write a rule in filename.rules.conf that will block all
>attachments over a certain number of characters (in this case, 100).
>However, I've been unsuccessful.  I've tried
>
>deny    .{100,} Filename over 100 characters    Filename over 100 characters
>
>and
>
>deny    ^.{100,}$       Filename over 100 characters    Filename over 100
>characters
>
>neither of which work (the e-mail just goes through normally).  I'm not an
>expert at regular expressions, so maybe I just didn't write it properly.
>This entry is the first entry in the file, there are tabs between all of the
>fields, and I have rebooted the server between changes, but I when I sent
>through an attachment with a filename over 100 characters, it goes through
>without being blocked.  Other rules I have written work as expected.
>
>What should I do to get the functionality I want?
>
>Jeremy Evans
>Information Systems Analyst
>California State Auditor
>916-445-0255 phone
>916-322-7801 fax

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list