|
|
This section describes setting up MMDF on a network of machines over a TCP/IP Ethernet, using one machine as the mail gateway. In this case, all machines on the Ethernet will forward all mail to one machine, which will then distribute the mail to the appropriate destination.
The purpose of a mail gateway machine is to provide ease of configuration. Establishing a gateway does not in any way prevent the other machines from communicating directly over the Ethernet with rlogin, telnet, or other communication programs.
The machine names in this example are
seine, yangtze, and mekong.
The IP addresses and fully qualified domain names of the example computers are:
10.0.118.4 seine.your_company.COM
10.0.118.5 yangtze.your_company.COM
10.0.118.6 mekong.your_company.COM
The gateway machine is mekong.your_company.COM.
This section assumes that all configuration files are in the default, newly installed state--not the state in which they were left after following the steps in ``Setting up MMDF on a TCP/IP network''.
Host entries for the other machines in the local domain, yangtze.your_company.COM and mekong.your_company.COM, are added by the MMDF Configuration Manager.
As a result of these steps, these entries will exist in /usr/mmdf/mmdftailor:
MLDOMAIN "your_company.COM" MLNAME "seine"MDMN name="root", dmn="", show="Root Domain", table=rootdom MDMN name="localdom", dmn="your_company.COM", show="your_company.COM Domain", table=localdom
MCHN show="Local delivery", name=local, que=local, tbl=local, pgm=local, ap=822, mod=imm MCHN show="SMTP Delivery", name=smtp, que=smtp, tbl=smtpchn, pgm=smtp, ap=822, mod=host, confstr="charset=7bit" MCHN show="Smart-host Routing for hosts", name=badhosts, que=badhosts, tbl=smtpchn, pgm=smtp, ap=822, mod=host, confstr="hostname=seine.your_company.COM", host="mekong.your_company.COM"
This entry will exist in /usr/mmdf/table/root.dom:
seine.your_company.COM: seine.your_company.COM
These entries will exist in /usr/mmdf/table/local.dom:
seine: seine.your_company.COM yangtze: yangtze.your_company.COM mekong: mekong.your_company.COMThese entries will exist in /usr/mmdf/table/smtp.chn:
yangtze.your_company.COM 10.0.118.5 mekong.your_company.COM 10.0.118.6 seine.your_company.COM 10.0.118.4As a result of the initial mail configuration, these entries will exist in /usr/mmdf/table/local.chn:
seine: seine seine.UUCP: seine seine.your_company.COM seineAlso, the directory /usr/spool/mmdf/lock/home/q.badhosts is created with owner and group mmdf.
MLDOMAIN "your_company.COM" MLNAME "yangtze"The directory /usr/spool/mmdf/lock/home/q.badhosts exists with owner and group mmdf.MDMN name="root", dmn="", show="Root Domain", table=rootdom MDMN name="localdom", dmn="your_company.COM", show="your_company.COM Domain", table=localdom
MCHN show="Local delivery", name=local, que=local, tbl=local, pgm=local, ap=822, mod=imm MCHN show="SMTP Delivery", name=smtp, que=smtp, tbl=smtpchn, pgm=smtp, ap=822, mod=host, confstr="charset=7bit" MCHN show="Smart-host Routing for hosts", name=badhosts, que=badhosts, tbl=smtpchn, pgm=smtp, ap=822, mod=host, confstr="hostname=yangtze.your_company.COM", host="mekong.your_company.COM"
These entries will exist in /usr/mmdf/table/local.dom:
yangtze: yangtze.your_company.COM seine: seine.your_company.COM mekong: mekong.your_company.COMThese entries will exist in /usr/mmdf/table/smtp.chn
seine.your_company.COM 10.0.118.4 mekong.your_company.COM 10.0.118.6 yangtze.your_company.COM 10.0.118.5As a result of the initial mail configuration, these entries will exist in /usr/mmdf/table/local.chn:
yangtze: yangtze yangtze.UUCP: yangtze yangtze.your_company.COM yangtze
MLDOMAIN "your_company.COM" MLNAME "mekong"The directory /usr/spool/mmdf/lock/home/q.badhosts exists with owner and group mmdf.MDMN name="root", dmn="", show="Root Domain", table=rootdom MDMN name="localdom", dmn="your_company.COM", show="your_company.COM Domain", table=localdom
MCHN show="Local delivery", name=local, que=local, tbl=local, pgm=local, ap=822, mod=imm MCHN show="SMTP Delivery", name=smtp, que=smtp, tbl=smtpchn, pgm=smtp, ap=822, mod=host, confstr="charset=7bit"
These entries will exist in /usr/mmdf/table/local.dom:
yangtze: yangtze.your_company.COM seine: seine.your_company.COM mekong: mekong.your_company.COMThis entry will exist in /usr/mmdf/table/smtp.chn
seine.your_company.COM 10.0.118.4 yangtze.your_company.COM 10.0.118.5 mekong.your_company.COM 10.0.118.6As a result of the initial mail configuration, these entries will exist in /usr/mmdf/table/local.chn:
mekong: mekong mekong.UUCP: mekong mekong.your_company.COM mekong
An advantage to this configuration is that if you were to add another machine (for example, columbia) to the network, you would only have to configure columbia and change the setup on mekong. This is simpler than the configuration shown in ``Setting up MMDF on a TCP/IP network'', in which you would have to reconfigure every system on the network. Mail should be addressed using Internet style addresses, such as root@seine.your_company.COM.