procmail
[Top] [All Lists]

Re: blocking certain attachments

2001-02-15 12:18:33
On 15 Feb, Ryan Collins wrote:
| on 2/13/01 4:25 PM, Michael J Wise at mjwise(_at_)kapu(_dot_)net said:
| > I developed the following, along with a few others on some SysAdmin and
| > AntiSpam lists:
| > 
| > :0
| > * ^Content-type: (multipart/mixed|application/octet-stream)
| > {
| > :0 HB
| > * ^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=".



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