nmh-workers
[Top] [All Lists]

[Nmh-workers] problem with mhshow after mhfixmsg

2014-11-20 09:20:39
i'm having a problem with mhshow showing some of the parts
of a message, but only after the message has been run through
mhfixmsg.

before i start debugging mhshow (which i'm willing to do, though
it will take me a while), i want to be sure that the output of
mhfixmsg is valid MIME.

here is the unprocessed message.  "mhshow -part 1.3 3" works fine
on this message.  you'll notice that there's no text/plain part
corresponding to part 1.1's text/html -- that's what mhfixmsg is
going to fix:

    $ mhlist -verbose -disposition 3
     msg part  type/subtype              size description
       3       multipart/alternative    1786K
                 boundary="Apple-Mail-2-23735733"
         1     multipart/related        1784K
                 type="text/html"
                 boundary="Apple-Mail-3-23735734"
         1.1   text/html                  11K
                 charset="iso-8859-1"
         1.2   image/tiff                9350
                 name="pastedGraphic1.tiff"
                 disposition "inline"
                   filename="pastedGraphic1.tiff"
         1.3   image/jpeg                122K
                 name="IMG_0833.jpeg"
                 disposition "inline"
                   filename="IMG_0833.jpeg"
         1.4   image/jpeg                 94K
                 name="IMG_0834.jpeg"
                 disposition "inline"
                   filename="IMG_0834.jpeg"
         1.5   image/jpeg                114K
                 name="IMG_0835.jpeg"
                 disposition "inline"
                   filename="IMG_0835.jpeg"
         1.6   image/jpeg                 98K
                 name="IMG_0826.jpeg"
                 disposition "inline"
                   filename="IMG_0826.jpeg"
         1.7   image/jpeg                115K
                 name="IMG_0827.jpeg"
                 disposition "inline"
                   filename="IMG_0827.jpeg"
         1.8   image/jpeg                173K
                 name="IMG_0828.jpeg"
                 disposition "inline"
                   filename="IMG_0828.jpeg"
         1.9   image/jpeg                167K
                 name="IMG_0829.jpeg"
                 disposition "inline"
                   filename="IMG_0829.jpeg"
         1.10  image/jpeg                164K
                 name="IMG_0830.jpeg"
                 disposition "inline"
                   filename="IMG_0830.jpeg"
         1.11  image/jpeg                162K
                 name="IMG_0831.jpeg"
                 disposition "inline"
                   filename="IMG_0831.jpeg"
         1.12  image/jpeg                 88K
                 name="IMG_0832.jpeg"
                 disposition "inline"
                   filename="IMG_0832.jpeg"
         2     text/plain                1168
                 charset="iso-8859-1"


here's the processed version.  after this conversion, running "mhshow
-part 1.1.1", "mhshow -part 1.1.2", or "mhshow -part 2" works fine. 
running "mhshow -part 1.3" (or any other 1.n part) gives this:
    mhshow: don't know how to display any of the contents
            (content multipart/alternative in message 4)

    $ mhlist -verbose -disposition 3
     msg part  type/subtype              size description
       4       multipart/alternative    1787K
                 boundary="Apple-Mail-2-23735733"
         1     multipart/related        1786K
                 type="text/html"
                 boundary="Apple-Mail-3-23735734"
         1.1   multipart/alternative      13K
                 boundary="----=_nmh-multipart1.1"
         1.1.1 text/html                  11K
                 charset="iso-8859-1"
         1.1.2 text/plain                1281
                 charset="iso-8859-1"
         1.2   image/tiff                9350
                 name="pastedGraphic1.tiff"
                 disposition "inline"
                   filename="pastedGraphic1.tiff"
         1.3   image/jpeg                122K
                 name="IMG_0833.jpeg"
                 disposition "inline"
                   filename="IMG_0833.jpeg"
         1.4   image/jpeg                 94K
                 name="IMG_0834.jpeg"
                 disposition "inline"
                   filename="IMG_0834.jpeg"
         1.5   image/jpeg                114K
                 name="IMG_0835.jpeg"
                 disposition "inline"
                   filename="IMG_0835.jpeg"
         1.6   image/jpeg                 98K
                 name="IMG_0826.jpeg"
                 disposition "inline"
                   filename="IMG_0826.jpeg"
         1.7   image/jpeg                115K
                 name="IMG_0827.jpeg"
                 disposition "inline"
                   filename="IMG_0827.jpeg"
         1.8   image/jpeg                173K
                 name="IMG_0828.jpeg"
                 disposition "inline"
                   filename="IMG_0828.jpeg"
         1.9   image/jpeg                167K
                 name="IMG_0829.jpeg"
                 disposition "inline"
                   filename="IMG_0829.jpeg"
         1.10  image/jpeg                164K
                 name="IMG_0830.jpeg"
                 disposition "inline"
                   filename="IMG_0830.jpeg"
         1.11  image/jpeg                162K
                 name="IMG_0831.jpeg"
                 disposition "inline"
                   filename="IMG_0831.jpeg"
         1.12  image/jpeg                 88K
                 name="IMG_0832.jpeg"
                 disposition "inline"
                   filename="IMG_0832.jpeg"
         2     text/plain                1168
                 charset="iso-8859-1"


i won't attach the unsanitized originals here, but i'm happy to
send them to anyone that wants to look.

paul
=----------------------
 paul fox, pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us (arlington, ma, 
where it's 38.1 degrees)

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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