# Configuration file for smail suitable for a host that is
# only temporarily connected to the internet via a PPP or
# SLIP connection.

# 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 /etc/smail DIRECTORY TO
# MAKE MODIFICATIONS.  Instead, if you want to change any default
# values, create a /etc/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.

# Make smail queue up outgoing mails instead of trying to deliver
# them immediately.  Now whenever you establish a PPP or SLIP connection
# to your provider, simply type "tcsh -c runq" into your shell
# and your mails will get delivered.
delivery_mode = queued

# Create a correct "From:" field.  We assume two users on your
# local machine:
# User1 is called foo and her e-mail address is foofoo@bar.com,
# user2 is called bar and his e-mail address is barfoo@baz.edu. 
# Create one corresponding line that commences with "${if eq{user.."
# for every user on your machine.
from_field = "From: \
${if eq{user}{foo}: foofoo@bar.com}\
${if eq{user}{bar}: barfoo@baz.edu}\
${if def:sender_name: ($sender_name)}"

# Every e-mail needs a unique message id.  Smail will make this
# message id up from the current date and time plus a user configurable
# part.  Replace "foobar@..." (until the closing angle bracket) by
# something funny that (hopefully) creates a unique id.  It is generally
# _not_ a good idea to insert nothing but your provider's hostname
# and domain since this is very likely to clash with message id's
# created by your provider itself.  Use your phantasy!
message_id_field = "Message-Id: <$message_id.foobar@poorly_configured_site_at_my_domain>"

# Replace my.provider.com with the hostname of your provider's smtp
# server.
smart_path = my.provider.com

# Leave this line unchanged.
smart_transport = smtp

# Most of the time this next variable is not important and can be omitted.
# You can even specify some phantasy domain like at.home.org or the
# like.  Just try it out.  But if your mails won't get delivered
# you should try out the following:  Set the variable `visible_domains'
# to your provider's domain and then change your own hostname to
# your provider's hostname (simply change the file /etc/hostname).
# If this works then your provider's smtp server only accepts mails
# from hosts it can resolve.  
#visible_domains = provider.com
