>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

Len


Reply via email to