procmail
[Top] [All Lists]

Re: procmail executable attachment filtering.

2001-08-11 11:59:47
At 11:35 AM 8/9/2001, Jan Schaumann wrote:
Chris Johnson <johnson(_at_)nmr(_dot_)mgh(_dot_)harvard(_dot_)edu> wrote:
>      Anybody know of a procmail filter to make a note of and trash any
> attachment which appears to be executable or a program procmail can
> run which might do something similar?

:0 B:
* ^Content-Type: application/octet-stream; name=.*\.exe.*
/dev/null

Maybe?

No, that trashes the whole mail, not just the attachment (and is
subject to false matches).

Stan

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