i've intentionally removed any rules for mhshow'ing text/html
from mhn.defaults, in order to force use of the text part.

it seems that Apple Mail, in all its interoperable wisdom, often
puts attachments inside the html part of a multi-part message.

the problem is that if one reads just the text part, there's no
attachment to be had.  if the sender doesn't mention that there is
one, then it's easy to miss entirely.  (of course, if you know it's
there, then a tool like munpack will find it nicely.)

is there a way using mh tools to at least detect that there's more to
the non-text part that might be interesting?

paul

a sample message outline looks like this:
----cut here-------------------------------------------------------
From: [email protected]
Content-Type: multipart/alternative; 
boundary="Apple-Mail=_75B369C8-DE4F-45FE-8D0D-B5E25DEEC1B1"
Subject: party 12/16
Date: Tue, 27 Nov 2012 12:06:34 -0500
Message-Id: <[email protected]>
To: [email protected]
Mime-Version: 1.0 (Apple Message framework v1283)
X-Mailer: Apple Mail (2.1283)

--Apple-Mail=_75B369C8-DE4F-45FE-8D0D-B5E25DEEC1B1
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
        charset=us-ascii

    ...text part elided...

--Apple-Mail=_75B369C8-DE4F-45FE-8D0D-B5E25DEEC1B1
Content-Type: multipart/related;
        type="text/html";
        boundary="Apple-Mail=_E9699EEA-5429-4D19-8E74-2BF8F3CCBE78"

--Apple-Mail=_E9699EEA-5429-4D19-8E74-2BF8F3CCBE78
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
        charset=us-ascii

    ...html part elided...

--Apple-Mail=_E9699EEA-5429-4D19-8E74-2BF8F3CCBE78
Content-Transfer-Encoding: base64
Content-Disposition: inline;
        filename="Party invite '12.jpeg"
Content-Type: image/jpeg;
        x-unix-mode=0644;
        name="Party invite '12.jpeg"
Content-Id: <[email protected].>

    ...encoded jpeg attachment elided...

--Apple-Mail=_E9699EEA-5429-4D19-8E74-2BF8F3CCBE78--

--Apple-Mail=_75B369C8-DE4F-45FE-8D0D-B5E25DEEC1B1--
----cut here-------------------------------------------------------


=---------------------
 paul fox, [email protected] (arlington, ma, where it's 47.7 degrees)

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to