#ident "@(#)samples/bigsite/others/routers	1.2 10/24/90 05:20:52"

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

# This paths files referred to in the routers below are built by the
# makefile in the maps subdirectory.

# match INET literal addresses
match-inet-addrs:
	driver=gethostbyaddr,		# match inet domain literal addrs
	transport=smtp;			# delivery is over smtp/tcp
	fail_if_error,			# non-inet literals are errors
	check_for_local			# check for local host

# inet_hosts - match hostnames with gethostbyname(3N)
inet_hosts:
	driver = gethostbyname,		# match hosts with the library function
	transport = smtp;
	domain = bar.foo.com

# 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 = uux                 # by default deliver over UUCP
