MCHN smtp, show=``SMTP/TCP'', que=smtp, tbl=smtp,
pgm=smtp, mod=reg, ap=822, confstr=``SERING.UUCP''
If host= is specified in the channel description, then the specified host is looked up in the channel table and used as the connect host regardless of the host to which the mail is addressed. This is useful when offloading mail addressed to a variety of destinations to a gateway for further delivery.
Smtp uses the RHS of the channel table as the IP address to which to connect. Alternate IP addresses may be specified by putting additional lines in the channel table with the same LHS. For example:
FOO.BAR: 192.5.58.3
FOO.BAR: 10.3.0.8
In this case, the smtp channel will attempt connection to 192.5.58.3 first. If the connection fails or if the remote SMTP server doesn't start up in reasonable time, the next address will be tried. In the case of nameserver-type channel tables, multiple IP addresses are tried based on the available MX entries for that host.