PGP in lexer

Matthias Andree matthias.andree at gmx.de
Mon Mar 22 20:58:04 CET 2004


Greg Louis <glouis at dynamicro.on.ca> writes:

> Only the old type of signature (preserved for compatibility with broken
> Windows mail readers) uses that.  Normally I would emit something like

It's not only broken Windows mail readers, there are other packages to
use the "old" format. However, I do like multipart/signed better.

>  Content-Type: multipart/signed; micalg=pgp-ripemd160;
>         protocol="application/pgp-signature"; boundary="sdtB3X0nJg68CQEu"
>  ...
>  --sdtB3X0nJg68CQEu
>  text of message
>  --sdtB3X0nJg68CQEu
>  Content-Type: application/pgp-signature
>  Content-Disposition: inline

And as we can see, it's application/* and hence skipped by bogofilter.

There are procmail recipes in the wild that reformat traditional PGP to
PGP/MIME or OpenPGP or whatever the actual name is, they are aimed to
help users of the mutt user agent that did for a while not support
decoding traditional PGP.

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95




More information about the Bogofilter mailing list