[TriLUG] Evolution, Kmail, GnuPG

Kevin - The Alchemist - Sonney alchemist at darkcanvas.com
Fri Apr 12 16:09:11 EDT 2002


On Fri, 2002-04-12 at 15:48, Chris Knowles wrote:
> Or do I just have to choose either one and be inconvienienced when I get
> a signed/encrypted mail from the other?

The mutt provided a procmail script to convert old-style inline
attachments to detached signatures.  What I'd like si somethign to
reverse this process for my wife's mailbox (she uses OE, and OE doesn't
play nice with detached sigs)

Here's my .procmailrc recipe :

##
## PGP re-wrapper to fix in-body sigs and messages
##

: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"
}

-- 
--------------------------------------------
--      Kevin "The Alchemist" Sonney      --
--  ICQ: 4855069            AIM: ksonney  --
--------------------------------------------
320C 0336 3BC4 13EC 4AEC  6AF2 525F CED7 7BB6 12C9

"I will rule you all with an Iron Fist! You! Obey the fist!" - Zim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20020412/8e0b855a/attachment.pgp>


More information about the TriLUG mailing list