PGPDAEMON(8)

NAME
PGPdaemon - daemon for automatic signing and decryption with PGP

SYNOPSIS
pgpdaemon [ -mailwait ] [ -detach ] [ -pgppath <path> ]

DESCRIPTION
The pgpdaemon programme is a daemon, run by the user, which can automatically sign or decrypt PGP messages. PGPdaemon is part of the PGPsendmail package.

PGPdaemon will periodically read the users' incoming mail spool directory and will move the contents to another spool file, decrypting any messages that it can.

OPTIONS

-mailwait
    This option will prevent PGPdaemon from processing any incoming mail until it has received a passphrase from sendpgppass. If this option is not specified, upon startup PGPdaemon will process any mail in the users' spoolfile and will not decrypt any messages. This can be annoying.

-detach
    This option will detach PGPdaemon from the parent process. PGPdaemon will run until signalled with SIGTERM or SIGKILL. Note that PGPdaemon does not put itself in the background.

-pgppath <path>
    This option set the PGPPATH environment variable for PGPdaemon and all its child processes. This is an alternative to setting the PGPPATH environment variable externally. The value of <path> must be a directory containing the path specification.

CONFIGURATION
The configuration file $PGPPATH/PGPdaemon.config (which must exist) may contain several keywords, one per line. Each keyword may be followed by whitespace and extra information. The USERID keyword is required. Below are the permitted keywords:

USERID
    the users' PGP key userID must follow
MAILWAIT
    same effect as the -mailwait argument
IN_SPOOL_DIR
    the input spool directory (default /usr/spool/mail) must follow
OUT_SPOOL_FILE
    the output spool file (default $HOME/decrypted-mail) must follow
MAIL_CHECK_INTERVAL
    this must be followed by the desired number of seconds between checks of the users' incoming spool file

FILES
/usr/spool/mail/<user>
    the users' incoming mail spool
$HOME/decrypted-mail
    mail spool after decryption
$PGPPATH/pubring.pgp
    the users' public keyring file
$PGPPATH/randseed.bin
    the seed file for PGP
$PGPPATH/PGPdaemon.config
    the users' configuration file
$PGPPATH/PGPdaemon.log
    log of activity/errors
$PGPPATH/PGPdaemon.log.sig
    signature certificate for logfile
$PGPPATH/PGPsendmail.debug
    enable debugging if exists
/tmp/PGPsendmail.debug.<UID>
    debugging output file
pgpsendmail/doc/README.PGPdaemon
    distribution README (has more info.)

SEE ALSO
sendmail(8), pgp(1), pgpsendmail(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