#
#  A config file for storing various SITE CONFIG parameters
#
#  These are generic material that DO NOT DEPEND UPON COMPILERS et.al!
#

# MAILBIN is the directory hierarchy containing all ZMailer binaries.
# Usually /usr/lib/mail/bin or /local/lib/mail.
MAILBIN=	/usr/local/mail/bin

# MAILSHARE is the directory hierarchy containing site-wide configuration
# files and databases.  Usually /usr/lib/mail or /local/share/mail.
MAILSHARE=	/usr/local/mail

# MAILVAR is the directory that will contain machine-specific configuration
# files and databases.  Usually /usr/lib/mail or /var/db/mail or
# /local/share/mail.
MAILVAR=	/usr/local/mail

# MAILBOX is the directory containing all the user mailboxes.  This is
# defaulted inside the mailbox.c program (currently /var/mail) and may
# be overridden here.  Usually /usr/spool/mail or /var/mail.
MAILBOX=	/var/spool/mail

# POSTOFFICE is the directory hierarchy used to manipulate message files,
# where runtime activity takes places.  Usually /usr/spool/postoffice or
# /var/spool/postoffice.
POSTOFFICE=	/var/spool/postoffice

# Multiple LOWER priorities on message routing can be defined by creating
# $POSTOFFICE/<component-of-$ROUTERDIRS> -directories.
# Routers process first   $POSTOFFICE/router/ -directory, and once it is
# empty, files from subsequent dirs.   See  mail(3)  mail_priority
# These can be only under the $POSTOFFICE, and they must exist!
ROUTERDIRS=router1:router2:router3:router4

# LOGDIR is the directory where log files will appear.  Usually /usr/spool/log
# or /var/log.
LOGDIR=		/var/log/mail

# MANDIR is the top of the manual directory hierarchy where manual pages
# for the ZMailer programs are installed.  Usually /usr/man or /local/man.
MANDIR=		/usr/local/man

# LIBRARYDIR is the place for storing  libzmailer.a, which can be used to
# create programs which use Zmailer's  zmailer(3) (aka: mail(3)) -library.
LIBRARYDIR=	/usr/local/lib

# INCLUDEDIR is the place for storing   zmailer.h -- a copy of include/mail.h
# and it is used in conjunction with the  libzmailer.a ..
INCLUDEDIR=	/usr/local/include

# MAILSERVER is the hostname of the remote machine where the postoffice is
# located.  This value is only needed in an environment with distributed file
# systems, and if it exists will be used by the mail queue querying program
# as the default name of the host to query.  It is a way of overriding the
# algorithm used by mailq in an NFS environment, or when you are running a
# different kind of DFS.  Usually undefined or a hostname.
#MAILSERVER=	neat.cs

# SMTPOPTIONS are command line options given to the smtpserver when started
# from the zmailer shell script.  The intent is that if you want non-default
# address verification options they can be specified here.  The default
# value is "-asve".
SMTPOPTIONS=	-asve -l /var/log/mail/smtpserver

# Here you can put any ZM ``environment'' variables you want to place in
# the system-wide configuration file (/etc/zmailer.conf).  Typically this
# would be information used by the router configuration at your site.

# PUNTHOST is where mail that is supposed to go to a local address, but
# no such address exists, is punted to.
#PUNTHOST=	relay.cs

# SMARTHOST is where mail that cannot be resolved or routed is punted to.
#SMARTHOST=	relay.cs


# NROUTERS is the number of parallel router processes to run.  Most sites
# will not need to have more than one router running at a time.  For high
# volume dedicated mail hosts, the value should be set to run the nameserver
# (or disk or other asynchronous I/O bottleneck) at full throughput.  For
# sites that want to avoid mailing lists blocking the queue, pick a low number.
# The default is a single router process, equivalent to specifying 1.
# NROUTERS=10
NROUTERS=4

# NOBODY is the unprivileged UID value.
# This is absolutely necessary if setuid() will fail on your "nobody" account
# uid (if it is -2, for example).  Make sure that whatever value you give
# here will work with setuid().  Values between 1 and 29999 will usually work.
# BE CAREFULL WITH THIS!  THE SYSTEM RELIES ON IT VERY MUCH IN DEED!
#  (On SunOS 4.1.x, the value of "-2" works the best,  on Solaris the default
#   for nobody is 60001!  If your system has "nobody" "account", use here the
#   name instead of number -- it should (usually) work)
# -- Use a mapping via /etc/passwd, this is most generic..
NOBODY=nobody


# LOGLEVEL may be set to restrict the log output of the router to entries
# whose tags are found in the specified string value.  The currently known
# tags are:
#	address: deferred: file: header_defer: info: recipient:
#LOGLEVEL=	file: recipient:
LOGLEVEL=	deferred: file: header_defer:

# Builtin USENET channel uses  NNTPSERVER variable (depending upon your
# inews ..) to send the artickle to..
NNTPSERVER=news.utu.fi
INEWSBIN=/usr/local/bin/inews
