procmail
[Top] [All Lists]

Re: More quoting issues affecting MIME header exploits

1998-08-02 12:06:24
On Sun, 2 Aug 1998, David W. Tamkin wrote:

Too dang bad these multi-part chimeras can't be split into components with
some variation on formail -s so that they can then be processed as individual
messages, and each part's inner header lines will look like a header.

Good idea.

I think you'd be able to do that fairly easily (but terribly obscurely) by
piping the body through a script that pulls out the MIME boundary string,
uses csplit to split the body into parts at the boundaries, passes those
parts individually through child procmails, and collects the exit codes
and rebuilds the message from the processed parts.

That makes my head hurt.

--
 John Hardin KA7OHZ                               
jhardin(_at_)wolfenet(_dot_)com
 pgpk -a finger://gonzo.wolfenet.com/jhardin    PGP key ID: 0x41EA94F5
 PGP key fingerprint: A3 0C 5B C2 EF 0D 2C E5  E9 BF C8 33 A7 A9 CE 76 
-----------------------------------------------------------------------
  Your mouse has moved. Windows NT must be restarted for the change
  to take effect. Reboot now?  [ OK ]
-----------------------------------------------------------------------
   84 days until Daylight Savings Time ends