diff options
-rw-r--r-- | doc/PGP-Notes.txt | 56 |
1 files changed, 23 insertions, 33 deletions
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" +} + + ------------------------------ |