]> granicus.if.org Git - mutt/commitdiff
Including Roland's new procmail recipe.
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 16 Jun 1998 00:22:28 +0000 (00:22 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 16 Jun 1998 00:22:28 +0000 (00:22 +0000)
doc/PGP-Notes.txt

index 82be1b20842e6a2441c0d634cca8ea0fbad015ef..bfc09299f91c7fb3792f9ed707fde1b50c47e164 100644 (file)
@@ -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"
+}
+
+
 ------------------------------