# smail routers for namib.north.de

# See smail(5) for a complete description of the contents of this
# file.

# forces - force certain paths
#
# This database exists as a means of hardcoding the paths to various
# machines or domains.  It is for use in creating temporary tweaks to
# the other routint databases.  To change the database, edit the file
# maps/force.path and type "make" in the maps/ subdirectory.
forces:
	driver = pathalias,		# router to search paths file
	method = table;			# transports are in this file
	file = maps/force.path,		# file containing force path info
	proto = lsearch,		# use the sorted path file
	domain = uucp,			# strip trailing .uucp before lookup
	reopen				# close when not being used
# fido
# fidonet stuff
#
ftn:	driver = pathalias,
	#transport = ftn;
	method=ftn;
	file = maps/ftn.path,
	optional,
	proto = lsearch

# domain - the organization of our domain
#
# This is currently in a paths file, which is built by the Makefile in
# the maps/ subdirectory.  It contains path information about the
# hosts in the north.de subdomain that are not accessed via the
# TCP/IP network.
domain:
	driver = pathalias,
	method = domain;
	file = maps/domain.path,
	proto = lsearch,		# a sorted file
	domain = north.de,		# strip trailing .north.de
	reopen				# don't keep the file open

# uuname - cache the output of uuname in a file
#
# This is a catchall feature for neighbors that just don't happen to
# appear in any other paths file.  The file is produced by the
# Makefile in the maps/ directory from the output of the uuname
# command, which lists the outpt of the uuname command.
bsmtp:
        driver=pathalias,
        transport=bsmtp;
        file=maps/bsmtp.path,
        proto=lsearch,
        optional

uuname:
	driver = pathalias,
	#transport=uux,
	method = uucp;
	file = maps/uucp.path,
	proto = lsearch


# smart_host - a partically specified smarthost director
#
# If the config file attribute smart_path is defined as a path from the
# local host to a remote host, then hostnames not matched otherwise will
# be sent off to the stated remote host.  The config file attribute
# smart_transport can be used to specify a different transport.
#
# If the smart_path attribute is not defined, this router is ignored.
smart_host:
	driver=smarthost,		# special-case driver
	transport=smtp;
	-path				# use smart_path config file variable

