# Edit this file to reflect information specific to your installation.

# ZCONFIG is the pathname of the configuration file specifying all the other
# host-dependent information needed by ZMailer programs.  This file is
# created from the Config file in the distribution (the file you are reading
# right now), and contains variable assignments in an sh-compatible format.
ZCONFIG=	/etc/zmailer.conf

# HOSTENV selects one of the files in the hostenv directory, perhaps one
# you have just created, that describes the system you are trying to compile
# this software on.  The contents of that file will be processed to produce
# include/libsupport.h and some sed commands in Config.sed to munge makefiles
# appropriately.  Valid values for HOSTENV is any unqualified filename in
# the hostenv directory (SunOS4.0, BSD4.3, IRIX3.3, Ultrix3.1, SystemVr3.2,...).
# IRIX4.0 works under 5.x too.
#HOSTENV=	IRIX4.0
HOSTENV=	IRIX5.2

# DEFS is where you put global preprocessor definitions that aren't handled
# by the HOSTENV based configuration procedure.  Hopefully this will be empty,
# but some sample uses are:
#
#	-Du_int=uint -Du_char=unchar -Du_long=ulong
#
# for a system that doesn't define u_int u_char u_long etc in <sys/types.h>,
# or	-DMAXPATHLEN=1024	for a system that doesn't define this in
# <sys/param.h>.
DEFS=

# SHELL is usually /bin/sh, but some systems may require a different
# pathname to get a working shell.  On Ultrix or other systems with a very
# old default shell, this may have to be set to /bin/sh5 or similar.
SHELL=		/bin/sh

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

# MAILSHARE is the directory hierarchy containing site-wide configuration
# files and databases.  Usually /usr/lib/mail or /local/share/mail.
MAILSHARE=	/local/share/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=	/var/db/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/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

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

# 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:

# 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=		/local/man

# CC gives the command (and associated arguments) used to invoke the C
# compiler on your system.  Usually this would be the standard C compiler,
# so you won't need to define this -- leave it commented out.  However,
# a sample use is:
CC=		cc # gcc -Wall -pedantic

# COPTS are the pervasive options to be given with all C compilations.
# The -g option is advised unless you have supreme confidence in your compiler.
COPTS=		-g -cckr

# RANLIB is included to cater to machines that don't need it at all, because
# their ar(1) program has been smitten by featuritis.  Usually ranlib or true.
#RANLIB=		ranlib # : ar does the work of ranlib under System V

# 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.
NOBODY=29999

# 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

# 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.toronto.edu

# 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 "-sve".
SMTPOPTIONS=	-l /var/log/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.toronto.edu

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