[49808] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Stop it with putting your e-mail body in my MUA OT

daemon@ATHENA.MIT.EDU (Scott Francis)
Wed Jul 10 12:35:26 2002

Date: Wed, 10 Jul 2002 09:29:16 -0700
From: Scott Francis <darkuncle@darkuncle.net>
To: Stephen Sprunk <ssprunk@cisco.com>
Cc: "Email List: nanog" <nanog@nanog.org>
Mail-Followup-To: Scott Francis <darkuncle@darkuncle.net>,
	Stephen Sprunk <ssprunk@cisco.com>,
	"Email List: nanog" <nanog@nanog.org>
In-Reply-To: <01b201c2282c$7c82bc90$9b876540@amer.cisco.com>
Errors-To: owner-nanog-outgoing@merit.edu



--zH41lVBEV8cLJnCl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 10, 2002 at 11:11:41AM -0500, ssprunk@cisco.com said:
[snip]
> You left out the MIME header that's actually causing the problem:
>=20
> ] Content-Type: multipart/signed; micalg=3Dpgp-md5;
> ]  protocol=3D"application/pgp-signature"; boundary=3D"0eh6TmSyL6TZE2Uz"
>=20
> My MUA understands multipart/mixed and multipart/alternative; it doesn't
> understand multipart/signed and therefore has no clue what to do with the
> message as a whole, even if it does understand one of the component's typ=
e.
>=20
> If anyone has a procmail recipe for dropping the second part and promotin=
g the
> text/* to main body, I'm all ears.

This procmail recipe works for me. YMMV, depending on MUA/OS/crypto
combination.
----
# taken from http://www.mutt.org/doc/PGP-Notes.txt

:0
* !^Content-Type: message/
* !^Content-Type: multipart/ =20
* !^Content-Type: application/pgp
{
        :0 fBw
        * ^-----BEGIN PGP MESSAGE-----
        * ^-----END PGP MESSAGE-----
        | /usr/local/bin/formail \
            -i "Content-Type: application/pgp; format=3Dtext; x-action=3Den=
crypt"

        :0 fBw
        * ^-----BEGIN PGP SIGNED MESSAGE-----
        * ^-----BEGIN PGP SIGNATURE-----
        * ^-----END PGP SIGNATURE-----
        | /usr/local/bin/formail \
            -i "Content-Type: application/pgp; format=3Dtext; x-action=3Dsi=
gn"
}
----
-=3D Scott Francis || darkuncle (at) darkuncle (dot) net =3D-
  GPG key CB33CCA7 has been revoked; I am now 5537F527
        illum oportet crescere me autem minui

--zH41lVBEV8cLJnCl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9LGDbWaB7jFU39ScRAozVAKDHRsgjXYmwIJMS2ciRgbKEN02X9gCdGG6F
T+RSpZiicWidRtFEXUFjzP8=
=rGbF
-----END PGP SIGNATURE-----

--zH41lVBEV8cLJnCl--

home help back first fref pref prev next nref lref last post