nmh-workers
[Top] [All Lists]

[Nmh-workers] mhfixmsg defies the principle of last surprise?

2016-03-17 10:11:53
So trying to debug why a message got eaten by procmail.  Fortunately,
I've been keeping copies because I didn't trust my use of mhfixmsg yet.

grep fix ~/.,mh_profile    comes up empty, no hits.  $LANG=en_US.UTF-8
Running a git pull from March 9, HEAD was:

commit 8ff517b106543e9f8fe77ed152491a84e6d85bbe
Author: David Levine <levinedl(_at_)acm(_dot_)org>
Date:   Sat Feb 27 11:44:51 2016 -0500

    Updated date on mh-folders(5) man page.


The commandline: mhfixmsg -file - -outfile - < t1 > t2

when it hits this in t1:

--=_alternative 002EDD9148257F79_=
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="GB2312"

cheerfully removes the body part entirely.

(and does so as well with the second body part, which is:

--=_alternative 002EDD9148257F79_=
Content-Transfer-Encoding: base64
Content-Type: text/html; charset="GB2312"

which leaves precious little intact:

% tail t2
X-TM-AS-MML: disable
X-Content-Scanned: Fidelis XPS MAILER
X-Spam-Status: No, score=-2.3 required=5.0 tests=HTML_MESSAGE,  
MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD autolearn=disabled  
version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mr4.cc.vt.edu
X-Gm-Spam: 0
X-Gm-Phishy: 0
X-Gm-Spam: 0
X-Gm-Phishy: 0

--=_alternative  002EDD9148257F79_=--
%

Yee-hah.  One alternative marker, and that's it for the body.

Attachment: pgpSkjL4eA736.pgp
Description: PGP signature

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