# This is the Smail transports file, which gives details of how
# to actually do the various kinds of delivery specified by the
# directors and routers.
# It was originally generated by `smailconfig', part of the Smail package
# distributed with Debian, but it may edited by the mail system administrator.
# It was originally generated by smailconfig at Thu Oct 22 11:42:38 UTC 1998
# Please modify the above line, if you change this file by hand.
# See smail-config (5) for details of the things that can be configured here.
# Not all of the following are used by all configurations;
# pipe and file may be called implicitly by Smail when delivering
# to local addresses looking like |... /... ~/... .

local:	driver=appendfile,		# append message to a file
	from, 				# supply a From_ envelope line
	local, 				# use local forms for delivery
	inet, 				# use route-addr addresses for routing
	return_path, 			# include a Return-Path: field
	unix_from_hack;			# insert > before From in body
	append_as_user, 		
	check_user, 			# use user-id associated with address
	file=/var/spool/mail/${lc:strip:user}, # location of mailbox files
	group=mail, 			# group to own file 
	mode=0660, 
	suffix="\n"			# append an extra newline

smtp:	driver=tcpsmtp, 		
	max_addrs=100, 			# limit on number of addresses
	-max_chars,			 
	inet;				# use route-addr addresses for routing
	use_bind, 			# resolve MX and multiple A records
	defer_no_connect, 		# try again if the nameserver is down
	-local_mx_okay, 		# fail an MX to the local host
	defnames			# use standard domain searching

uux:	driver=pipe, 			
	uucp, 				# use UUCP-style addressing forms
	from, 				# supply a From_ envelope line
	max_addrs=5, 			
	max_chars=200;
	cmd="/usr/bin/uux - -r $host!rmail $(($user)$)",
	pipe_as_sender, 		# have uucp logs contain caller
	log_output			# save error output for bounce messages


pipe:	driver=pipe, 
	from,				# supply a From_ envelope line 
	local, 				# use local forms for delivery
	inet, 				# use route-addr addresses for routing
	return_path, 			# include a Return-Path: field
	unix_from_hack;			# insert > before From in body
	cmd="/bin/sh -c $user", 
	-ignore_status, 		# ignore a non-zero exit status
	-ignore_write_errors,		# ignore write errors, i.e., broken pipe
	log_output, 			# save error output for bounce messages
	parent_env,			# environment info from parent addr 
	pipe_as_user, 			# use user-id associated with address
	umask=0077

file:	driver=appendfile, 
	from, 				# supply a From_ envelope line
	local, 				# use local forms for deliver
	return_path, 			# include a Return-Path: field
	unix_from_hack;			# insert > before From in body
	append_as_user, 		# use user-id associated with addres
	file=$user, 			# file is taken from address
	expand_user,			# expand ~ and $ within addres
	mode=0660, 
	suffix="\n"			# append an extra newline
