Subject: procmail recipe to change content type?

From: [email-masked] (Fishbowl)
Date: Fri, 19 Apr 1996 18:23:55 GMT

I need a recipe to translate all occurances of
Application/PGP to text/plain.  This does not work:

:0
* ^Content-type: *Application/PGP
| sed -e 's/application\/pgp/text\/plain/'

And it does not work if I change the sed to s/[Aa]pplication\/[Pp][Gg][Pp]/text\/plain/

The reason I need to do this is because Pine 3.9x does not
present messages with anything other than "text/plain" to the 
display filter.  I do not want to see these messages as separate attachments.

Please help, if you know what I'm talking about.

-james-

---

From: [email-masked] (Mark Shadley)
Date: 21 Apr 1996 04:39:28 GMT

In article: <[email-masked]>, 
> And it does not work if I change the sed to s/[Aa]pplication\/[Pp][Gg][Pp]/text\/plain/

This concept works, I just put it together a little while ago. 

:0:
* ^Content-Type.*application/x-pgp-message
|formail -I "Content-Type: text/plain" >>Decrypted

If there's a better way, I really want to know :)  I would like the
messages to end up in various folders, according to other criteria
in the header, rather than all of them in Decrypted.

Mark
-- 
Mark Shadley <[email-masked]>
http://www.catcher.com/users/shadcat/
pgp key id:C596C1F9 - fp:B60A796CAF6769B9 0688C30B390A0A66 - on servers