# @(#)samples/generic/config	1.7 9/6/92 04:14:28

# This file specifies all of the config file variables, and gives
# default values all of them.  The default values correspond to
# using defaults for all EDITME file variables, and for compiling
# under basic 4.3BSD.


# VERY IMPORTANT NOTE
#
# DO NOT COPY THE CONFIG FILE INTO THE /usr/lib/smail DIRECTORY TO
# MAKE MODIFICATIONS.  Instead, if you want to change any default
# values, create a /usr/lib/smail/config file and add lines to it only
# for those variables that you wish to change.  Many values in this
# file have os-dependent defaults, which may differ from the values
# given in this samples file.  By setting only those attributes that
# you wish to modify, you will avoid setting inappropriate values for
# os-dependent attributes.

-auth_domains
+auto_mkdir
auto_mkdir_mode=0755
console=/dev/console
copying_file=COPYING
date_field="Date: $spool_date"
delivery_mode=background
director_file=directors
domains=uucp
-error_copy_postmaster
# +flock_mailbox 		# under 4.3BSD
-flock_mailbox			# otherwise
fnlock_interval=3
fnlock_mode=0666
fnlock_retries=5
from_field="From: $sender${if def:sender_name: ($sender_name)}"
grades="special-delivery:9:air-mail:A:first-class:C:bulk:a:junk:n"
hit_table_len=241
-hostnames
-lock_by_name			# on BSD systems or System V.2/V.3
# +lock_by_name			# otherwise
lock_mode=0444
log_mode=0644
logfile=/usr/spool/smail/log/logfile
max_hop_count=20
max_message_size=100k
# message_buf_size=4096		# for machines with small memories
message_buf_size=100k		# otherwise
message_id_field="Message-Id: <$message_id@$primary_name>"
message_log_mode=0664
method_dir=methods
-more_hostnames
nobody=nobody			# under 4.3BSD or SunOS
# nobody=guest			# another possibility
open_interval=2
open_retries=0			# if an atomic rename() is available
# open_retries=2		# otherwise
paniclog=/usr/spool/smail/log/paniclog
postmaster_address=root
-queue_only
received_field="Received: \
	${if def:sender_host\
	     {from $sender_host by $primary_name\
	      ${if def:sender_proto: with $sender_proto}\
	      \n\t(Smail$version #$compile_num) }\
	else {by $primary_name ${if def:sender_proto:with $sender_proto }\
	      (Smail$version #$compile_num)\n\t}}\
	id $message_id; $spool_date"
-require_configs
retry_duration=5d
retry_file=retry
retry_interval=10m
return_path_field="Return-Path: <$sender>"
router_file=routers
-second_config_file
smail=/usr/lib/sendmail
smail_lib_dir=/usr/lib/smail
smail_util_dir=/usr/lib/smail
-smart_path
-smart_transport
-smart_user
smtp_banner="$primary_name Smail$version #$compile_num ready at $date"
smtp_debug
smtp_accept_max=20
smtp_accept_queue=5
smtp_receive_command_timeout=5m
smtp_receive_message_timeout=2h
spool_dirs=/usr/spool/smail
spool_grade=C
# spool_mode=0640		# under System V
spool_mode=0440			# otherwise
transport_file=transports
-trusted
-trusted_groups
-uucp_name
-visible_name
