2. SENDMAIL AND QPOPPER (Cont.)
# LOCAL_HOST_* does not check senders address
1
# '159.119' means '159.119.*.*'.
LOCAL_HOST_IPADDR=159.119
LOCAL_HOST_DOMAIN=tais.net
# ALLOW_RELAY_* does not check relay address
2
ALLOW_RELAY_TO=tais.net
#--- sendmail-ifax.def
sendmail.route is read from sendmail-ifax.def's configuration. This file describe static routes of mail
transfer. GW line is written the protocol using mail transfer and mail server name. This mail server name
3
must be registered in /etc/hosts. DOM line is written a domain name(right side of @ mark) of the mail
address.
#--- sendmail.route
4
GW
smtp:ifax.tais.net
DOM tais.net
#--- sendmail.route
5
Case 2
The following figure shows another example of network environment.
tais.net has IP addresses which are 159.119.*.*.
6
7
sendmail-ifax.def and tais.net's zone file sets up like Case 1.
sendmail.route configuration is as follows.
#--- sendmail.route
GW
smtp:ifax.mail.tais.net
8
DOM tais.net
#--- sendmail.route
9
10
11
12
3-22
MAIL SERVER SETUP
MX
Internet
Static
sendmail
mail.tais.net
iFax
(dp120@tais.net)