From: Thomas Roessler Date: Tue, 16 Jun 1998 00:22:28 +0000 (+0000) Subject: Including Roland's new procmail recipe. X-Git-Tag: mutt-0-92-10i~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29d7f2ab68b0400a5cbfd6937662557e58d256a3;p=mutt Including Roland's new procmail recipe. --- diff --git a/doc/PGP-Notes.txt b/doc/PGP-Notes.txt index 82be1b20..bfc09299 100644 --- a/doc/PGP-Notes.txt +++ b/doc/PGP-Notes.txt @@ -116,40 +116,30 @@ using procmail, aren't you?): ------------------------------ - ## - ## PGP - ## - - :0 H - * ^Content-Type: text - { - :0 fBw - * ^-----BEGIN PGP MESSAGE----- - | formail -I "Content-Type: application/pgp; format=text; x-action=encryptsign" - - :0 fBw - * ^-----BEGIN PGP SIGNED MESSAGE----- - | formail -I "Content-Type: application/pgp; format=text; x-action=sign" - } - - ## - ## Add a "Content-Type: application/pgp" header so Mutt will know the - ## mail is encrypted. - ## - - :0 fBw - * ^-----BEGIN PGP MESSAGE----- - | formail -a "Content-Type: application/pgp; format=text; x-action=encryptsign" - - ## - ## Add a "Content-Type: application/pgp" header so Mutt will know the - ## mail is signed. - ## - - :0 fBw - * ^-----BEGIN PGP SIGNED MESSAGE----- - | formail -a "Content-Type: application/pgp; format=text; x-action=sign" +## +## PGP +## +: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" +} + + ------------------------------