On 14:19 17 Jan 2002, Michael Montagne <[EMAIL PROTECTED]> wrote: | > I would try "e", delete the hyphen, "b". | > Nicolas | | Very simple with manual intervention. But how do I automate the | process? Can I use procmail to route to a script, then bounce to the | original recipient? If so, can someone help me with that?
Hmm. Does this happen at outgoing time from you or at incoming time for everyone else? I mean, where in the system would you be placing the hook? That said, it would be feasible to add a recipe to a .procmailrc (or the global one - /etc/procmailrc - depending on application) looking like this: 0hbfc * ^mime-version: * ^mime-type: *multipart/mixed | fixmimestuff where fixmimestuff is a shell script to unpack the mime components and edit the correct bits. You'll need munpack and mpack (not shipped with RedHat or Solaris - YMMV). It will take some work to keep all the MIME headers. You can't just use sed on the email because a) it _will_ get the wrong things and b) it won't work on parts which are encoded. -- Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/ So there I was, snuggled in the leather seat of my brand new Ferrari I had the oiled wooden gear shift in one hand, and the leather wrapped Momo in the other. And, I had the stereo cranking _Born to be Wild_... Only two problems, I was upside down, and under six feet of water...