procmail
[Top] [All Lists]

Re: converting header

1997-05-09 17:18:00
Steven Ringwald asked,

| I am new to procmail, and I have a question. I would like to convert 
| the Content-Type header from x-binhex4 to application/mac-binhex40.
| 
| How would I go about doing that?

  :0fh
  * ^Content-Type: x-binhex4$
  | formail -I "Content-Type: application/mac-binhex40"

That will change the Content-Type: header; how to change the actual contents
from x-binhex4 date to application/mac-binhex40 data is something that some-
one else will have to answer.

<Prev in Thread] Current Thread [Next in Thread>