PGPSENDMAIL(8)

NAME
PGPsendmail - drop-in wrapper to sendmail to allow PGP encryption

SYNOPSIS
pgpsendmail [ args ]

DESCRIPTION
The pgpsendmail programme is a drop-in wrapper to the standard Unix sendmail programme. pgpsendmail may operate in two basic modes. Each of these is described below:

If the PGPPATH environment variable does not exist, the real sendmail programme is executed with the same command line arguments. Hence, it is quite safe to move the original (real) /usr/lib/sendmail to /usr/lib/sendmail.real and place PGPsendmail as /usr/lib/sendmail since the system startup scripts (/etc/rc*) should not define PGPPATH. The operation of sendmail as a daemon is not affected. Also, users who do not use PGP are also completely unaffected (as they will not have a PGPPATH environment variable).

If the PGPPATH environment variable does exist, PGPsendmail will check all recipients in the message header (marked by "To: ", "Cc: " and "Bcc: " keywords) to determine if they have a PGP public key in the senders public keyring. By default, if all recipients have a public key, the message is encrypted for all recipients prior to transmission. The message is actually transmitted by the use of the real sendmail programme. If one or more recipients does not have PGP public key, the message is not encrypted. PGPsendmail extracts the Email address of a recipient when determining if a PGP public key is available.

DEBUGGING
To enable verbose debugging output from PGPsendmail, create the file $PGPPATH/PGPsendmail.debug. Upon each Email you send, the file /tmp/PGPsendmail.debug.<UID> will be over-written with a log for that message.

FILES
$PGPPATH/pubring.pgp
    the users' public keyring file
$PGPPATH/randseed.bin
    the seed file for PGP
$PGPPATH/PGPsendmail.config
    the users' configuration file
$PGPPATH/PGPsendmail.debug
    enable debugging if exists
/tmp/PGPsendmail.debug.<UID>
    debugging output file
pgpsendmail/doc/README.PGPsendmail
    distribution README (has more info.)

BUGS
PGPsendmail doesn't work with UCBMail and NeXTMail on the NEXTSTEP. It does work with Pine and Rnmail.

SEE ALSO
sendmail(8), pgp(1), pgpdaemon(8), sendpgppass(1)

AUTHOR
Richard Gooch (rgooch@atnf.csiro.au)

AVAILABILITY
PGPsendmail is available for anonymous ftp from: ftp.atnf.csiro.au:pub/people/rgooch