                                PGPINMR2.CMD

                          by William H. Geiger III

Hello,

This is the first in a series of rexx scripts to integrate PGP with MR/2.
This script is for the processing of inbound messages.

Key Features:
=============

- Automatic PGP decryption
- Automatic PGP signature verification
- Automatic addition of PGP public key to keyring

User Settings:
==============

There are some user settings that must be changed before you run the script.

/* user settings */
/* your PGP directory */
pgpdir="h:\pgp\pgp262\"
/* the following are flags for auto - pgp */
decrypt=1               /* auto decrypt 1=yes 0=no */
check=1                 /* auto check signature 1=yes 0=no */
addkey=1                /* auto add public key to keyring 1=yes 0=no */

Above is a clip from the CMD file. These settings should be self explanitory.

Filter Setup:
=============

I highly recomed that you set up TWO filters for running this script.

First create a new folder for encrypted messages to be placed in.

Create a filter to search the BODY of the message for the following:

-----BEGIN PGP MESSAGE-----

This should be simple, inbound filter.

Select copy to folder with the folder being the new one you just created.
Select do not show in index.

Move this filter to the top of your filter list.

Creat a second filter to search the BODY of the message for the following:

-----BEGIN

This should be simple, inbound filter.

Select Link to Rexx: *pgpinmr2.cmd (IMPORTANT you must put the "*" in formt of
the file name)
Select show in index.

Move this filter to the second filter in your filter list.

That's it. You should be good to go.

You can contact me at whgiii@amaranth.com
or post messages to the MR/2 list or the MR/2 PGP list.

MR/2 list: mr2.list@secant.com  post message with subject SUBSCRIBE to subscribe

MR/2 PGP list: pgpice.list@secant.com post message with subject SUBSCRIBE to
subscribe.

Special thanks to my testers:

Nathen Nichols <nnichols@www.edumaster.net>

Armin Langenbach <gh350@applz.hrz.uni-siegen.de>

Ken Diliberto <kend@csufresno.edu>

Mike Green <mdgreen@ibm.net>

Lee Thompson <Inthomp@imicom.or.jp>

whgiii.asc my public key

