Hi David!

On Thu, 28 Dec 2000, David wrote:

> Hi just wondering if its possible to get mutt to recognize clearsigned
> messages and verify they automatically.

Use procmail to do this:

:0
* !^Content-Type: message/
* !^Content-Type: multipart/
* !^Content-Type: application/pgp
{
        :0 fBw
        * ^-----BEGIN PGP MESSAGE-----
        * ^-----END PGP MESSAGE-----
        | formail \
            -i "Content-Type: application/pgp; format=text; x-action=encrypt"

        :0 fBw
        * ^-----BEGIN PGP SIGNED MESSAGE-----
        * ^-----BEGIN PGP SIGNATURE-----
        * ^-----END PGP SIGNATURE-----
        | formail \
            -i "Content-Type: application/pgp; format=text; x-action=sign"
}

HTH
                                        yours,
                                        peter

-- 
PGP signed and encrypted messages preferred.
http://www.palfrader.org/

Reply via email to