Re: Handling attached .eml files
- To: mutt-users@xxxxxxxx
- Subject: Re: Handling attached .eml files
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Sat, 8 Mar 2008 09:32:01 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date: from:to:subject:message-id:references:mime-version:content-type: in-reply-to; q=dns/txt; s=default; bh=3uBbiJKTmNC5k+VHGuPTFuWcTk o=; b=KhY6NDojV5qYlXTjTpi3O2CwV8qCCGYmypAUu1mG3zs80IJbRBWSKN2l1R yZ1zIXewMUUIeA0LGXWgI1UiEFTN4wtMat3caExXieDqU1ahzSl+rYe4KjLOTvRm FAl6r15jp+ZTRA3CCQTc5ffplMueMe8aVERIsn1Vu8DLrG3ik=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=E/9jogf+HbSsRJjFHUslvJ4rHUIXSskvDDaSXk0Ji5DCwHoRpEyT1Iom5JofKw+Mc8mpobFgVOJKqaZ+Gsc8atw/Gi4YFe6FwqO97BgASCY3ARI0nD4VfqJ6l2UOv/uXrDZCNSa4Tdp54KiakB7dy4seS49PXLK2JRUJd4d28Ug=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20080308104216.GA5517@xxxxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20080308002004.GA13827@xxxxxxxxxxxxxxxxxxxxxxxx> <20080308014912.GA23437@xxxxxxxxxxxxx> <20080308104216.GA5517@xxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.17 (2008-02-27)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday, March 8 at 02:42 AM, quoth Gary Johnson:
> But those steps tell mutt how to use an _external_ application, as
> specified in the mailcap file, to view the message. Mutt doesn't
> look at the content type associated with the extension to see if it
> knows how to handle that content type internally. I think that's a
> weakness of the mime_lookup feature.
>
> I already have step 1 in my muttrc and I added step 2 to my
> mime.types file just to see what would happen. The results were the
> same as before.
Darn. Well then you could always edit the message with a text editor
(press 'e') to manually change application/octet-stream to
message/rfc822.
> There is nothing wrong with forwarding.
> Other option is use outlook.
Well... I suppose technically, they may be right. As far as I can
tell, EML files are not *guaranteed* to be compliant with
message/rfc822 mime-type requirements (e.g. line endings, that sort of
thing). Given that, unless you've done more extensive checking of the
file's innards to ensure compliance, the best way to send an EML file
is as an application/octet-stream, which doesn't help anybody.
It may be worth filing an enhancement request at http://bugs.mutt.org,
but given how rare, microsoft-centric, and nonstandard EML files
are... it may not be worth the time and trouble to the developers. But
it's worth a shot.
~Kyle
- --
Beauty is in the eye of the beholder and it may be necessary from time
to time to give a stupid or misinformed beholder a black eye.
-- Miss Piggy
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFH0rFxBkIOoMqOI14RAiwTAKDeGwwyIIjbxXTuAm7TUMmSn/RxngCghmO3
TS9ONWcA/JUXXOqcoKeXGNs=
=Fyib
-----END PGP SIGNATURE-----