[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] mhfixmsg on a pathological mail
From: |
Håkon Alstadheim |
Subject: |
Re: [Nmh-workers] mhfixmsg on a pathological mail |
Date: |
Fri, 18 Aug 2017 13:49:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 |
Den 18. aug. 2017 13:04, skrev Ralph Corderoy:
>
>
> 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.
I'm running debian jessie which has 1.6 as package. Compiled but not
installed 1.7 from source. I did apt-get build-dep nmh first, which gets
me build-dependencies for 1.6.
Running with PATH="<src>/uip:<src>/sbr:$PATH"
Copied the etc/* files to where the binaries are looking for them,
(checked with strace ) but the build fails during tests with the
attached log. I thought that was a false alarm, but maybe not?
Anyway, as per now I get
----
$ mhlist -version
mhlist -- nmh-1.7-RC2 built 2017-08-18 11:32:04 +0000 on garbo
$ mhlist 1
mhlist: bogus multipart content in message 1
msg part type/subtype size description
1 multipart/mixed 32K
$ mhfixmsg 1 -outfile - | tail -5
R_SPF_ALLOW(-0.20)[+ip4:140.211.167.216]
RCPT_COUNT_ONE(0.00)[1]
DMARC_POLICY_SOFTFAIL(0.10)[cisco.com : SPF not aligned (relaxed), No
valid DKIM,none]
--===============0051142480612052064==--
----
>
> $ 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.
>
build_nmh.log
Description: Text Data
- [Nmh-workers] mhfixmsg on a pathological mail, Håkon Alstadheim, 2017/08/18
- Re: [Nmh-workers] mhfixmsg on a pathological mail, Ralph Corderoy, 2017/08/18
- Re: [Nmh-workers] mhfixmsg on a pathological mail,
Håkon Alstadheim <=
- Re: [Nmh-workers] mhfixmsg on a pathological mail, Håkon Alstadheim, 2017/08/18
- Re: [Nmh-workers] mhfixmsg on a pathological mail, Ralph Corderoy, 2017/08/18
- Re: [Nmh-workers] mhfixmsg on a pathological mail, Håkon Alstadheim, 2017/08/18
- Re: [Nmh-workers] mhfixmsg on a pathological mail, Ralph Corderoy, 2017/08/18
- Re: [Nmh-workers] mhfixmsg on a pathological mail, Ken Hornstein, 2017/08/18
- Re: [Nmh-workers] mhfixmsg on a pathological mail, Håkon Alstadheim, 2017/08/18
- Re: [Nmh-workers] mhfixmsg on a pathological mail, Ken Hornstein, 2017/08/18
- Re: [Nmh-workers] mhfixmsg on a pathological mail, Ralph Corderoy, 2017/08/18
- Re: [Nmh-workers] mhfixmsg on a pathological mail, Håkon Alstadheim, 2017/08/18
- Re: [Nmh-workers] mhfixmsg on a pathological mail, Ken Hornstein, 2017/08/18