Hi!
I often get mails with no text inside but a pgp encrypted msg as
attachment.
Because it is defined as a multi-part message, procmail and mutt does
not recognize the pgp encryption.
Parts of the msgs look like:
----------------------------------------------------------------------
[...]
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0025_01C07715.2A6FEA50"
[...]
This is a multi-part message in MIME format.
------=_NextPart_000_0025_01C07715.2A6FEA50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
-----BEGIN PGP MESSAGE-----
Version: PGPfreeware 6.5.3 for non-commercial use < http://www.pgp.com
<http://www.pgp.com> >
[...]
-----END PGP MESSAGE-----
------=_NextPart_000_0025_01C07715.2A6FEA50
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.4417.0">
<TITLE>the subject</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=3D2>-----BEGIN PGP MESSAGE-----<BR>
Version: PGPfreeware 6.5.3 for non-commercial use <<A =
HREF=3D"http://www.pgp.com">http://www.pgp.com</A>><BR>
<BR>
[...]
-----END PGP MESSAGE-----<BR>
</FONT>
</P>
</BODY>
</HTML>
------=_NextPart_000_0025_01C07715.2A6FEA50--
----------------------------------------------------------------------
Can procmail be instructed to remove the html stuff and to change the
mime type to "application/pgp" or what else is necessary ?
Thanks for ideas.
Daniel.