procmail
[Top] [All Lists]

Re: Modifying message, continuing as normal

1997-08-19 11:47:39
        Author:         Matt Armstrong <matta(_at_)geoworks(_dot_)com>
        Original-Date:  19 Aug 1997 11:35:07 -0700
        Message-ID:     <ubu2uf2ck(_dot_)fsf(_at_)geoworks(_dot_)com>

I'd like to do something like:

:0:
* Content-Type:.*enriched/text
| my-strip-enriched-executable

But I'd like it to be a non-delivering recipe (but instead a
"modifying" recipe).

:0fhw
* Content-Type:.*enriched/text
| my-strip-enriched-executable

That should do it .... the 'w' flag assumes that your program is good about  
exitcodes.

You might want to look at mimeencode, a program that does this sort of 
conversion.

And, of course, you should make a backup of all mail before modifying it  
when using new recipes

TjL