procmail
[Top] [All Lists]

Re: mmdf procmail and pgp

1996-08-13 01:10:42
-----BEGIN PGP SIGNED MESSAGE-----

On Mon, 12 Aug 1996, Peter A. Dachnowicz wrote:

Let's see if I can help.

Does anyone know how to accomplish this? my chain of events is as follows
recieve mail

Call procmail from your .forward file, or set up sendmail to use procmail 
as local mailer.

decode mail 

PGPPATH=$HOME/.pgp  # or whereever you put your files

# Look for encrypted mail
# Feed it to pgp and add pgp's output to the decrypted message
# (In case something goes wrong)
# Beware: it is a possible security hole to keep your password in a file
:0fBb
* PGP ENCRYPTED MESSAGE
| pgp -z'Your password' -f +batch 2>&1

forward to different file

The next recipe should read:

:0A:
Decrypted-mail

-possibly send acknowledgement

Can't think of anything right now.

- --
Guy Geens <guy(_dot_)geens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be>: Ph.D. 
student at ELIS -- TFCG / IMEC 
Home Page: http://www.elis.rug.ac.be/ELISgroups/tfcg/staff/gg.html 
finger ggeens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be for PGP public keys (or use 
keyserver) 

`To go through an entire lifetime without a psychedelic experience is sort of
 like driving a Mercedes all your life,  and never pushing that one button on
 the dashboard to see what it does.' -- Terence_McKenna



-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: pgp fingerprints in message headers

iQBVAwUBMhA383wHoCha5QR1AQGB/QIAuk2S5qKONj/tClPnBT9wXNVXxRXp4hE5
rps+0rZ6EhKkuV1l70hJ8qUROpREpkKHll7SyJj1TGX9i61gWaYMAQ==
=aJcD
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>