procmail
[Top] [All Lists]

Re: blocking certain attachments

2001-02-15 13:07:27

| > * ^Content-Disposition: attachment;
| > * filename=".*\.(exe|hta|pif|scr|shs|vbs|vbe|wsf|wsh)"
| > {
| > ...
| > }
| > }
| 
| You might want to replace filename with just name. Microsoft Entourage for
| the Mac uses only name=filename.ext instead of filename=.
| 

Then you can cover both bases with "(file)?name=".

 And to make this really useful now, try

  (file)?name="?.*\.(exe|hta|pif|scr|shs|vbs|vbe|wsf|wsh)"?

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail