Detecting and filtering executable attachments
Thomas Nilsson
pmmail@rpglink.com
Mon, 06 Dec 1999 19:01:24 +0100 (CET)
On Mon, 06 Dec 1999 09:46:13 -0500, Barnabo, Chris wrote:
>I'd like to write a filter (or group of filters, if necessary) that
>detects any executable attachments attached to an incoming e-mail message
>(i.e. any .COM, .EXE, .BAT, etc.) I want to make sure the filter is
>detecting an actual MIME or UUE attachment, not just the occurence of
>".COM" somewhere in the text of a message. Can anyone assist me to
>properly detect these?
I do that in a REXX script here. For the extraction of the files I use a little utility which I found that is called munpack.
My version seems to be contained in a file called mpack15emx.zip
-------------------------------------------------------
Thomas ""Thuben" Nilsson
Email: Thomas.Nilsson@bahnhof.se
WWW: http://www.bahnhof.se/~thuben
For my PGP key send message with subject: "Req PGP Key"