#!/local/lib/mail/router -dkf
#
# ZMailer 2 configuration file for XXXXX
#
# The corresponding siteinfo.cf file is XXXXX.cf, loaded below
#

ZCONFIG=/etc/zmailer.conf

. $ZCONFIG

PATH=.:$MAILSHARE/cf:$MAILBIN/bin ; export PATH
PS1=z$PS1

# The transport preference order

protocols='routes smtp uucp'

# We want .forward and mailing list files to be private, i.e., we ignore
# the current privileges when checking the privileges of such files.
# Don't add 'include' to this list, since anyone can :include: any file.

#private='.forward maillist'

# Set up the dependency checking

. consist.cf
require siteinfo router crossbar process server

# The following are standard setup files and must be loaded in this order

. standard.cf
. trusted.cf

# Load the databases so they and the variables defined (e.g. network-specific
# node names for this host) can be used in the site specific configuration.

for method in $protocols
do
	test -f $MAILSHARE/cf/i-${method}.cf && . i-${method}.cf
done

. XXXXX.cf		# <===== customize this for your organization

# The organizational 'world' subdomain may contain MX RRs that override
# those available on the Internet at large.

#world=world.$orgdomain

# From here on you can pick the order

. aliases.cf
. canon.cf
. rrouter.cf
. crossbar.cf

for method in $protocols
do
	. p-${method}.cf
done

. process.cf
. server.cf

# With everything now loaded, we can do host-specific function (re)definition.

consist || exit 1

