nmh-workers
[Top] [All Lists]

mhfixmsg -fixcte not working?

2021-12-09 08:23:56
Hi --

My wife got a message this morning that it seems like mhfixmsg should
have fixed, but it didn't.

    $ mhshow 1
    mhshow: "message/rfc822" type in message 1 should be encoded in 7bit or 
8bit, continuing...
    $ mhlist 1
    mhlist: "message/rfc822" type in message 1 should be encoded in 7bit or 
8bit, continuing...
    $ mhfixmsg -fixcte 1
    mhfixmsg: "message/rfc822" type in message 1 should be encoded in 7bit or 
8bit, continuing...
    mhfixmsg: unable to parse message 1

The message contains a message/rfc822 part that looks like this:

    --Apple-Mail-950A10F4-B067-45E2-9EBF-2EEA9661B8A6
    Content-Type: message/rfc822;
            name=98894;
            x-apple-part-url=3FB56B15-9549-4FA3-9242-FCC77508A3C6
    Content-Disposition: attachment;
            filename=98894
    Content-Transfer-Encoding: binary

If I edit the message, and change that C-T-E to 8bit, mhlist looks
like this, and mhshow works properly:

    $ mhlist 1
     msg part  type/subtype              size description
       1       multipart/mixed            62K
         1     text/plain                 296
         2     message/rfc822             61K

I thought (from reading the man page, and skimming the code) that this
change to C-T-E (i.e., binary --> 8bit) is exactly what -fixcte was supposed
to do.  Is there something more subtle going on that I'm missing?

paul
=----------------------
 paul fox, pgf@foxharp.boston.ma.us (arlington, ma, where it's 27.3 degrees)


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