From: Don Armstrong Date: Wed, 11 Jun 2008 22:49:27 +0000 (+0000) Subject: * Add back in the pgp mime conversion; a supring number of people still aren't using it X-Git-Url: https://git.donarmstrong.com/?p=remote_mail.git;a=commitdiff_plain;h=ad2fc563e1cda7a669da2785aa2a9cc2834a8c22 * Add back in the pgp mime conversion; a supring number of people still aren't using it --- diff --git a/.procmailrc b/.procmailrc index ee9f6bd..3a0c93a 100644 --- a/.procmailrc +++ b/.procmailrc @@ -72,6 +72,24 @@ $HOME/Mail/delay * ^TO \/don\+delay\+[^@]+ |/home/don/bin/delay_mail --mailto don@donarmstrong.com --enqueue --email --delay $MATCH +# Convert old-style PGP messages to MIME +:0 +* !^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" +} :0: * ! ? (formail -x From: -x Sender: | fgrep -iqf $FRIENDS)