Hi

This does not concern mutt, but I tried the relevant groups with no sucess,
I guess this is sneaky but this group works so well for me  so ...

     
I am trying to extract binary attachments (say a .doc file or whatever)
from a mail folder.  This process must be automated in a script.  Now my
procmail correctly saves the message to a file but includes the headers and
tail.  What needs to be done is to chop the headers and tail off and then
on the encoded bit only run `mimencode -u'.  This all works fine manually.

Question is, is there a script that will exclude the headers and tail and
leave the (encoded) body?  I may then run the `mimencode -u' on the remaining body.

This all works manually, I am looking for an existing script to do the
"topping and tailing" rather than roll my own that might not catch all
circumstances somewhere down the road.

formail -looked promising but it dont work.

Thanx

Eric smith <[EMAIL PROTECTED]> 

Reply via email to