# inet_addrs - match domain literals containing literal IP addresses
#
# For example, [128.103.1.1] will match harvard.harvard.edu on the internet.
# The library routine gethostbyaddr(3N) will be called to see if a reverse
# mapping to the cononical hostname is available.
inet_addrs:
	driver=gethostbyaddr,		# router to match IP domain literals
	transport=smtp;			# deliver using SMTP over TCP/IP

	fail_if_error,			# fail malformed domain literal addrs
	check_for_local,		# see if this is really the local host

# inet_hosts - alternate version using BIND to access the DNS
#
# This router is not compiled-in by default.  It can be used as a
# replacement for the above inet_hosts router, if your system supports
# a bind compatible DNS resolver library.  This should be used for
# systems on the internet.
inet_hosts:
	driver=bind,
	transport=smtp;			# use TCP/IP SMTP for delivery
	defnames,			# use standard domain searching
	defer_no_connect,		# try again if the nameserver is down
	-local_mx_okay,			# fail (don't pass through) an MX
					# to the local host

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