EnServe Administrators Manual
contents
Managing Outgoing E-mail

Overview

The EnServe uses the Simple Mail Transport Protocol (SMTP) to deliver e-mail to addresses on the Internet.

The Mailer will have been configured for you prior to installation.
We do NOT recommend you make any changes to it. The options below are the only ones you _MAY_ need to change.

Access to the mail configuration file is via the admin login and is location on the 'EnServe menu'.

Local_Domains

If you have more than one mail domain your mailer does need to know that they should be processed by the system.

Additional domain are listing in the configuration file on the line that starts local_domains = and should be separated with a colon (:).

# Specify your local domains as a colon-separated list here. If this option    
# is not set (i.e. not mentioned in the configuration file), the               
# qualify_recipient value is used as the only local domain. If you do not want 
# to do any local deliveries, uncomment the following line, but do not supply  
# any data for it. This sets local_domains to an empty string, which is not    
# the same as not mentioning it at all. An empty string specifies that there   
# are no local domains; not setting it at all causes the default value (the    
# setting of qualify_recipient) to be used.                                    
                                                                               
local_domains = Domain : xanth : *.tkrh.demon.co.uk : localhost                

Other Hosts

Normally the mailer will refuse to use your system as a 'relay' - that is it will not accept any incoming mail for machines not on your network.

There may be times, you have a VPN to other sites, remote staff on static IP addresses etc. that you wish to use your mail server. In this case you would add them to the host_accept_relay = option, separated by colons (:).

# The use of your host as a mail relay by any host, including the local host  
# calling its own SMTP port, is locked out by default. If you want to permit  
# relaying from the local host, you should set                                
#                                                                             
# host_accept_relay = localhost                                               
#                                                                             
# If you want to permit relaying through your host from certain hosts or IP   
# networks, you need to set the option appropriately, for example             
#                                                                             
# host_accept_relay = my.friends.host : 192.168.0.0/16                        

host_accept_relay = 194.217.242.0/24 : localhost : 192.168.10.0/24            

Sending E-Mail

Normally the EnServe mailer will try to send directly to the destination. If however, that is a remote system that is not always connected the jobs can get stuck in your mail queue. To get round this you can use you ISP's SMTP server (also often referred to as a smart host, smart relay, SMTP host or SMTP relay).

Your EnServe sends any outgoing e-mail to this server which then works out how to deliver it to the appropriate address.
Usually all you need to enter is the IP name of your ISP's SMTP server in the appropriate location - with Demon and Exim it's:

smarthost: 
  driver = domainlist  
  transport = remote_smtp
  route_list = * post.demon.co.uk bydns_a 

Further Documentation

It is recommended you get a copy of Exim - The Mail Transfer Agent Published by O'Reilly ISBN 0-596-00098-7 if you want more information on the mailer used within EnServe.


contents