# This file is in addition to the compiled-in transports (and
# overrides those which have the same name)

# local - deliver mail to local users
#
# By default, smail will append directly to user mailbox files.
local:	driver = appendfile,     # append message to a file
	return_path,             # include a Return-Path: field
	local,                   # use local forms for delivery
	from,                    # supply a From_ envelope line
	unix_from_hack;          # insert > before From in body
	file = /var/spool/mail/${lc:user},# use this location
	group = mail,            # group to own file for System V
	mode = 0660,             # under System V, group mail can access
	suffix = "\n",           # append an extra newline
	notify_comsat		 # notify comsat daemon of delivery

# accumulate messages into a directory on a per-host basis
batch_smtp:
 	# the appendfile driver can also accumulate in directories
 	driver=appendfile,
 	hbsmtp,		# half-baked BSMTP, no HELO or QUIT
 	max_addrs=100,	# SMTP minimum implementation requirement
	-max_chars;	# no limit on total size of recipient addresses
	# files whose names begin with 'q' will be placed here:
	dir=/var/spool/smail/outq/${lc:host},
	user=root,	# files will be owned by this user
	mode=0600	# and unreadable by other users

# uux - deliver to the rmail program on a remote UUCP site
uux: driver = pipe,
     uucp,			# use UUCP-style addressing forms
     from,			# supply a From_ envelope line
     max_addrs = 5,		# at most 5 addresses per invocation
     max_chars = 100;		# at most 100 chars of addresses
     # the -r flag prevents immediate delivery, parentheses around the
     # $user variable prevent special interpretation by uux.
     cmd = "/usr/bin/uux - -r -n $host!rmail $(($user)$)",
     umask = 0022,
     pipe_as_sender

# smtp - deliver using SMTP over TCP/IP
#
# The below four drivers are configured in only if your system supports
# BSD socket networking.
#
# Connect to a remote host using TCP/IP and initiate an SMTP conversation
# to deliver the message.  The smtp transport is included only if BSD
# networking exists.
#
# The uucp attribute can be specified for transfers within the UUCP
# zone.  The inet attribute must be specified for transfers within the
# Internet.
#
# NOTE:	This is hardly optimal, a backend should exist which can handle
#	multiple messages per connection.
#
# ALSO:	It may be necessary to restrict max_addrs to 100, as this is the
#	lower limit SMTP requires an implementation to handle for one
#	message.

smtp:	driver=tcpsmtp,
	inet,				# if UUCP_ZONE is not defined
	#uucp,				# if UUCP_ZONE is defined
	-max_addrs, -max_chars;		# no limit on number of addresses

	short_timeout=5m,		# timeout for short operations
	long_timeout=2h,		# timeout for longer SMTP operations
	service=smtp,			# connect to this service port
# For internet use: uncomment the below 4 lines
	use_bind,			# resolve MX and multiple A records
	defnames,			# use standard domain searching
	defer_no_connect,		# try again if the nameserver is down
	-local_mx_okay,			# fail an MX to the local host
