nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] base64 ... just looking for advice


From: David Levine
Subject: Re: [Nmh-workers] base64 ... just looking for advice
Date: Sun, 21 Feb 2016 10:27:28 -0600

Wolfgang wrote:

> mhfixmsg -verbose -decodetypes text/plain
>
> gives:
>
> mhfixmsg: Don't know how to convert ..., there is no mhfixmsg-format-text/htm
> l profile entry

That is due to a different transformation, not decoding.  By default 
(-reformat), mhfixmsg tries to add a text/plain part corresponding to each text 
part that doesn't have one.  In this case, that's the text/html part.

The quick workaround is to add -noreformat.

I will commit a change to permanently avoid mhfixmsg treating this as a 
failure.  Though it will still issue the above message with -verbose.

If you want more detail on the cause:

When nmh is installed, it looks for an external program (w3m, lynx, or elinks) 
to convert html to text.  The result is stored in `mhparam 
etcdir`/mhn.defaults.  (This is described in the man page.)  It looks like none 
was found in your case.  Currently, mhfixmsg treats that as an error when it 
encounters a text/html part.  As noted above, I'll change that.

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]