#!/bin/sh
#
# $Id: mkpksdconf.in,v 1.2.4.1 1998/04/27 07:00:21 marc Exp $
# 
# Copyright (c) 1996, Marc Horowitz.  All rights reserved.
# See the LICENSE file in the release for redistribution information.
#
# this script encodes some knowledge about the way autoconf behaves.
# in particular, it knows that prefix is an actual directory, and 
# exec_prefix and all the foodir variables are defined in terms of
# it.  I could have used sed in the Makefile, but that would duplicate
# code which mostly exists in configure.in, and is ugly.

prefix=@prefix@
exec_prefix=@exec_prefix@

cat << EOF
pks_bin_dir @bindir@
db_dir @localstatedir@/db
### Set www_port to the port on which HTTP requests should be accepted.
### If you do not want to process HTTP requests, set this to 0.
www_port 11371
socket_name @localstatedir@/pksd_socket
### Specify the envelope sender address as the -f argument to
###   sendmail.  This is the address which will receive any bounces.
### If you don't use sendmail, then change this to an equivalent command.
### If you do not want to process mail requests, leave this unset.
mail_delivery_client @SENDMAIL@ -t -oi -fmailer-daemon
### Set this to the address which should be displayed as the From: 
###   address in all outgoing email, and as the maintainer in the body
###   of each message.
maintainer_email PGP Key Server Administrator <nobody>
mail_intro_file @datadir@/mail_intro
help_dir @datadir@
mail_dir @localstatedir@/incoming
### If you change this, make sure to put a corresponding help file in
### the help_dir named above
default_language EN
### This is the email address of this site.  It will be inserted in all
###   outgoing incremental messages, so it should match whatever the
###   downstream sites use as syncsite in their pksd.conf files.
# this_site pgp-public-keys@your-site
### Include a syncsite line for each site with which you are exchanging
### incremental requests.
# syncsite pgp-public-keys@pgp-server-1
# syncsite pgp-public-keys@pgp-server-2
### Set this to 0 to disable mailserver LAST requests completely, to a
### positive integer to limit LAST requests to that many days, or -1
### to allow any argument to LAST.
# max_last -1
EOF
