PGPDAEMON(8)PGPDAEMON(8)NAME
PGPdaemon - daemon for automatic signing and decryption with PGP
SYNOPSISpgpdaemon [ -mailwait ] [ -detach ] [ -nomail ] [ -no_filelocking ] [
-pgppath <path> ]
DESCRIPTION
The pgpdaemon programme is a daemon, run by the user, which can auto‐
matically sign or decrypt PGP messages. PGPdaemon is part of the
PGPsendmail/Unix Suite.
PGPdaemon will periodically read the users' incoming mail spool direc‐
tory 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. PGP‐
daemon will run until signalled with SIGTERM or SIGKILL. Note
that PGPdaemon does not put itself in the background.
-nomail
This option disables processing of the incoming mail spool area
by PGPdaemon.
-no_filelocking
This option disables file locking checks on the input and output
spool files. PGPdaemon will only use lockfiles with this option.
This option is useful with broken mail readers which lock their
input spool (the output spool file for PGPdaemon) unecessarily.
-pgppath <path>
This option sets 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 fol‐
lowed 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. A leading "~/" is permitted. If this
is not set, the contents of your MAIL environment
variable, if it exists, is used for the entire file
name. If neither exist, the default
/usr/spool/mail/$USER is used.
OUT_SPOOL_FILE the output spool file (default $HOME/decrypted-
mail) must follow. A leading "~/" is permitted.
MAIL_CHECK_INTERVAL this must be followed by the desired number of sec‐
onds 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.<hostname>
log of activity/errors
$PGPPATH/PGPsendmail.debug enable debugging if exists
/tmp/PGPsendmail.debug.<UID> debugging output file
pgpsendmail/doc/README.PGPdaemon
distribution README (has more info.)
ENVIRONMENT
The PGPPATH environment variable must be set to the directory contain‐
ing your secret keyring. The MAIL environment variable may contain the
name of your input mail spool file.
SEE ALSOsendmail(8), pgp(1), pgpsendmail(8), sendpgppass(1), pgppipe(1)AUTHOR
Richard Gooch (rgooch@atnf.csiro.au)
AVAILABILITY
The PGPsendmail/Unix Suite is available for anonymous ftp from:
ftp.atnf.csiro.au:pub/people/rgooch ftp.dhp.com:pub/crypto/pgp/PGPsend‐
mail ftp.ox.ac.uk:pub/crypto/pgp/utils
linux.nrao.edu:pub/src/pgp/PGPsendmail
PGPsendmail/Unix Suite 8 Dec 1994 PGPDAEMON(8)