[TriLUG] Thinking of procmail...

Tanner Lovelace lovelace at wayfarer.org
Wed Jan 9 15:19:14 EST 2002


Doesn't this procmail recipe do exactly the opposite of what
Kevin asked about?  As I understood, he wanted to re-write
pgp/mime messages, like those created in mutt or Evolution so
they looked like old-style signed messages (i.e. the ones with
BEGIN PGP MESSAGE, etc...)  It appears to me that your procmail
recipe just looks for messages that have the "BEGIN PGP ..."
in them and adds the appropriate mime header.  What have I missed?

Tanner

On Wed, 2002-01-09 at 15:01, Jeremy Katz wrote:
> On Wednesday, January 09 2002, Kevin - The Alchemist - Sonney said:
> > Has anyone seen, or does anyone have, a procmail recipe to re-write
> > pgp/mime messages into a broken format that OE can read? Something to
> > convert the signature attachment into a old-style signed message?
> 
> I have no idea any more where I originally found this one, but it's been
> in my procmail config for a long time now and works for me
> 
> :0
> * !^Content-Type: message/
> * !^Content-Type: multipart/
> * !^Content-Type: application/pgp
> {
> 	:0 fBwh
>         * ^-----BEGIN PGP MESSAGE-----
>         * ^-----END PGP MESSAGE-----
>         | formail \
>             -i "Content-Type: application/pgp; format=text; x-action=encrypt"
> 
>         :0 fBwh
>         * ^-----BEGIN PGP SIGNED MESSAGE-----
>         * ^-----BEGIN PGP SIGNATURE-----
>         * ^-----END PGP SIGNATURE-----
>         | formail \
>             -i "Content-Type: application/pgp; format=text; x-action=sign"
> 
> 
> Cheers,
> 
> Jeremy
> 
-- 
Tanner Lovelace | lovelace at wayfarer.org | http://wtl.wayfarer.org/
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
GPG Fingerprint = A66C 8660 924F 5F8C 71DA  BDD0 CE09 4F8E DE76 39D4
GPG Key can be found at http://wtl.wayfarer.org/lovelace.gpg.asc
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
 Those who are willing to sacrifice essential liberties for a little 
 order, will lose both and deserve neither.  --  Benjamin Franklin 

 History teaches that grave threats to liberty often come in times
 of urgency, when constitutional rights seem too extravagant to 
 endure.  --  Justice Thurgood Marshall, 1989 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20020109/281a6e9c/attachment.pgp>


More information about the TriLUG mailing list