procmail
[Top] [All Lists]

Re: Keeping headers and adding body - success!

1999-12-02 03:40:47
On Wed, 01 Dec 1999 20:22:15 +0100, Armin Hahn
<e9625287(_at_)stud3(_dot_)tuwien(_dot_)ac(_dot_)at> wrote:
   :0fhw
   | /usr/local/bin/formail -I Content-Type:

You should probably zap other MIME headers, too, just in case. Try
this:

    :0fhw
    | formail -I "Content-Type: text/plain; charset=US-ASCII" \
            -I "Content-Transfer-Encoding: 7bit"

... assuming your replacement message is in US-ASCII and doesn't
contain enormously long lines (I think 1024 characters is the limit
from MIME's perspective, but obviously, lines over 72 characters are
a bad idea from a practical point of view).

You should change the PATH setting so it includes /usr/local/bin in
addition to the other paths it will look in.

Hope this helps,

/* era */

-- 
 Too much to say to fit into this .signature anyway: <http://www.iki.fi/era/>
  Fight spam in Europe: <http://www.euro.cauce.org/> * Sign the EU petition

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