nmh-workers
[Top][All Lists]
Advanced

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

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


From: Ralph Corderoy
Subject: Re: [Nmh-workers] mhfixmsg on a pathological mail
Date: Fri, 18 Aug 2017 12:04:33 +0100

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}'
    <address@hidden>
    $ 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



reply via email to

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