#
#	smail configuration file
# (see 'man 5 smail' for full details and other options)

# Set "domains" to your DOMAIN (without hostname).
# The "auth_domains" entry permits smail to bounce mail to unknown hosts
# in this domain. If you want to list multiple domains, separate with colons
#
#domains=mydomain.com
#auth_domains=mydomain.com

# If your uucp name is different to your hostname, set it here
#
#uucp_name=myuucpname

# Uncomment this line if you want to accept mail addressed to
# your DOMAIN as local to this host. Also if your host has other names
# (e.g. mailhub.mydomain.com) add them here, separated with colons.
#
#more_hostnames=mydomain.com

# What do we do with addresses which have an unknown hostname? Uncomment
# one set of these lines to forward to a "smart host". Otherwise they will
# be bounced.
#
# UUCP version
#smart_transport=uux		# transport
#smart_path=uunet		# smart host's uucp name
#
# SMTP version
#smart_transport=smtp
#smart_path=relay1.uu.net	# smart host's hostname

# What do we do with unknown local usernames? Normally they will be bounced.
# Uncomment one of these lines if you want to forward the message instead.
#
#smart_user=root			# Forward to another user
#smart_user=$user@mailhub.mydomain.com	# Forward to same user at another host

# Uncomment this line if you want to hide your hostname behind your domain.
# smail doesn't do header rewriting, so it's up to you to configure your
# mail user agents to generate the correct headers.
# If using elm: edit /usr/lib/elm.rc and set
#     "hostfullname=mydomain.com"
# For pine: edit /usr/local/lib/pine.conf and set "use-only-domain-name=Yes"
# (use "pine -conf >/usr/local/lib/pine.conf" if this file does not exist)
#
#visible_name=mydomain.com

# General configuration parameters, normally don't need changing
#
postmaster=root		# Who receives mail addressed to "postmaster"
retry_interval=30m	# Interval between SMTP retries
retry_duration=4d	# Time before we give up and return to sender
smtp_accept_max=10	# Maximum no. of incoming SMTP sessions at one time
smtp_banner="$primary_name Linux Smail$version #$compile_num ready at $date"
received_field="Received: \
	${if def:sender_host \
		{from $sender_host by $primary_name\
		${if def:sender_proto: with $sender_proto}\
		\n\t(Linux Smail$version #$compile_num) }\
	else{by $primary_name ${if def:sender_proto:with $sender_proto }\
		(Linux Smail$version #$compile_num)\n\t}}\
	id $message_id; $spool_date"
