nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] mhfixmsg on a pathological mail

2017-08-18 06:04:51
Hi Håkon,

Trying to run mhfixmsg on it just removes the entire body of the mail.

Can you give a command that fails?  It seems OK here.

    $ mhfixmsg -version
    mhfixmsg -- nmh-1.7-RC2 1.7-RC2-1-g42b75672 built 2017-08-18 06:44:22 +0000 
on orac
    $ scan -file 9707.2.email -format '%{message-id}'
    <1E6C6D2E-5C15-4631-8AE2-0128877EA0C7(_at_)cisco(_dot_)com>
    $ mhfixmsg -file - -outfile - <9707.2.email >fixed
    $ echo $?
    0
    $ mhlist -file 9707.2.email
     msg part  type/subtype              size description
    9707       multipart/mixed            31K
                 boundary="===============0051142480612052064=="
         1     multipart/alternative      30K
                 boundary="_000_1E6C6D2E5C1546318AE20128877EA0C7ciscocom_"
         1.1   text/html                  18K
                 charset="utf-8"
         1.2   text/plain                3450
                 charset="utf-8"
         2     text/plain                 238
                 charset="us-ascii"
    $ mhlist -file fixed
     msg part  type/subtype              size description
       0       multipart/mixed            23K
                 boundary="===============0051142480612052064=="
         1     multipart/alternative      22K
                 boundary="_000_1E6C6D2E5C1546318AE20128877EA0C7ciscocom_"
         1.1   text/html                  18K
                 charset="utf-8"
         1.2   text/plain                3450
                 charset="utf-8"
         2     text/plain                 238
                 charset="us-ascii"
    $ wc 9707.2.email fixed
      542   862 37431 9707.2.email
      406  1840 29240 fixed
      948  2702 66671 total
    $

If I do `mhfixmsg -file 9707.2.email' then it's re-written in place,
with ./fixed's content.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy

_______________________________________________
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>