Friday, June 6, 2003, 1:14:42 PM, [EMAIL PROTECTED] wrote:
>>I've been using the following (from someone on the Postfix users list)
and >>it seems to be working for any level of extensions (will wrap but it
is all >>on one line): >> >>/^Content-(Type|Disposition):.*(file)?name *=
>>*.*\.(exe|msi|pif|com|vbs|scr|dll|
>>lnk|hta|vbe|js|jse|bat|vxd|shm|chm|shs|wsf|wsh)\"$/ REJECT Email rejected,
>>attac >>hments with .${3} extensions not allowed.
> but that only escapes one "." and so will miss the double ":" in
> name.ext.ext
Prior to escaping the "." it matches anything so as long as .(list of
extensions)" is at the end of the line it will match. The way I read it
from the user that posted it was that would take care of any number of
extensions which my logs are showing (asterisks added to extension by me):
2 Content-Type: application/x-msdownload; name="CARBCOUNTER.xls.p*i*f"
1 Content-Type: application/x-msdownload; name="8019-w9x.zip.e*x*e"
1 Content-Type: application/x-msdownload;
name="CustAddressList.mdb.s*c*r"
1 Content-Type: application/octet-stream;??name="documents.p*i*f"
--
Chris Scott
Host Orlando, Inc.
http://www.hostorlando.com/