Configuring Domino to send mail to a relay host or firewall
A relay host can be a server within your organization or an Internet Service Provider (ISP) that routes messages addressed to destinations outside the local Internet domain. Often the same server acts as a firewall through which your organization funnels all messages outbound to the Internet. It can be a Domino server or another type of server -- for example, a UNIX sendmail server.

To configure internal SMTP servers to send mail to a relay host, you specify the IP address or host name of the relay host in the Configuration Settings document. If connections from the internal mail server to an ISP mail server pass through a firewall, specify the internal interface of the of the firewall in this field, and configure the firewall to forward traffic received on port 25 to the ISP mail server.

Servers that do not route mail over SMTP require special configuration to transfer messages to a relay host or firewall. For more information, see the topic Transferring outbound Internet mail to an SMTP server over Notes routing.

Configuring multiple relay hosts

To enable greater control over outbound message routing, you can configure multiple relay hosts. Using multiple relay hosts enables Domino to route mail addressed to certain Internet domains to certain relay hosts, without first performing a DNS lookup. For example, you can split external SMTP mail routing so that Domino routes all outbound Internet mail along one path, except mail addressed to a specific domain, such as *, which it sends through a specific SMTP server.

To configure multiple relay hosts, create a Foreign SMTP Domain document for each set of destinations, and then create SMTP connection documents to match these foreign SMTP domain documents. For example, using the previous example, you would create one Foreign SMTP Domain document for *.* and another for *

Foreign SMTP Domain documents are used by servers that route mail over SMTP as well as those using NRPC. For servers that use SMTP routing, Foreign SMTP Domain document indicate the destinations that need relay hosts and the relay hosts to use in each case.

For more information on creating Foreign SMTP Domain documents, see the topic Transferring outbound Internet mail to an SMTP server over Notes routing.

To set up a relay host

1. Make sure you already have a Configuration Settings document for the server(s) to be configured.

2. From the Domino Administrator, click the Configuration tab and then expand the Messaging section.

3. Choose Configurations.

4. Select the Configuration Settings document and then click Edit Configuration.

5. Click the Router/SMTP - Basics tab.

6. Complete this field, and then click Save & Close:
Relay host for messages leaving the local Internet domainThe host name, domain name, or IP address of the server being used as a relay host.

A domain name is a valid entry only if the internal DNS contains an MX record for that domain and can resolve it to a host name.

When entering an IP address, enclose it within square brackets; for example, [].

7. The change takes effect after the next Router configuration update. To put the new setting into effect immediately, reload the routing configuration.

8. After you set up a relay host, you can set up restrictions based on where the message originated or the message destination.

See Also