Configuring Domino® to send mail to a relay host or firewall

A relay host can be a server within your organization 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 an HCL Domino® server or another type of server -- for example, a UNIX sendmail server.

About this task

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.

Configuring multiple relay hosts

About this task

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 *.renovationspartner.com, 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 *renovationspartner.com.

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.

To set up a relay host

Before you begin

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

Procedure

  1. From the Domino® Administrator, click the Configuration tab and then expand the Messaging section.
  2. Choose Configurations.
  3. Select the Configuration Settings document and then click Edit Configuration.
  4. Click the Router/SMTP > Basics tab.
  5. For the field Relay host for messages leaving the local Internet domain enter the host name, domain name, or IP address of the server being used as a relay host keeping the following guidelines in mind:
    • 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 brackets; for example, [127.0.0.1].
  6. Click Save & Close.
  7. Reload the routing configuration to put the new setting into effect immediately. Otherwise, the change takes effect after the next Router configuration update.

What to do next

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