Transferring outbound Internet mail to an SMTP server over Notes routing
On Domino networks that don't use SMTP for internal mail routing you can implement a gateway topology for sending outbound mail to the Internet. Your internal servers can continue to use Notes routing to transfer mail and send Internet mail to an SMTP server that connects to the Internet. Your "gateway" server must be a Domino server able to send SMTP mail to external Internet domains.

To define a route between your internal servers and the SMTP gateway server, create:

The gateway server receives outbound mail from internal servers over Notes routing and then transfers it to the Internet over SMTP. The gateway server can connect to the Internet directly or through an SMTP relay host or firewall that connects to the Internet.

The Foreign SMTP domain document

A Foreign SMTP domain document provides servers that don't use SMTP routing and which do not have access to DNS with the next hop information required to route Internet mail. You can also use Foreign SMTP domain documents with servers that route mail over SMTP to configure different routing paths for mail sent to different destinations.

A Foreign SMTP Domain document provides servers in a Domino domain with information on where to transfer mail destined for external SMTP addresses. The Foreign SMTP domain document specifies the name of the next hop domain to which messages addressed to a specific Internet domain or domain pattern are sent. For example, a Foreign SMTP Domain document might specify that the next hop for messages addressed to the domain should be the domain TheInternet.

The next hop domain can either be an actual Domino domain -- that is, a group of servers sharing a Domino Directory -- or a "virtual" domain. Use the name of an existing Domino domain if you can create a Connection document to it and it already has SMTP servers connected to the Internet. If the network does not currently have a Domino domain that routes outbound Internet mail, use a virtual, or logical, domain name. The name must not correspond to the name of any servers or domains in the Domino Directory. Domino uses the virtual domain name to link this SMTP domain document with an SMTP Connection document, which, in turn, specifies the name of an SMTP-enabled server that can process outbound mail, for example, a firewall server that can route outbound Internet mail.

Configuring different relay hosts for different destination domains

To explicitly control message routing, you can set up multiple Foreign SMTP domain documents, splitting outbound mail traffic so that messages destined for one Internet domain route through one Domino host and those destined for others go to a different host.

For example, you can configure one Foreign SMTP Domain document to route all mail addressed to domains ending in; a second can route all mail addressed to domains ending in; and a third can process mail addressed to all other Internet domains (*.*). For each of the three configured Foreign SMTP domains, you must create an SMTP Connection document that describes how to transfer the messages routed to that domain.

Note If you use a wildcard when specifying which messages to route to a domain, you can still restrict messages destined for specific Internet domains using the SMTP Outbound Controls in the Configuration Settings document.

The Router always uses the Foreign SMTP Domain document that most closely matches the address. For example, if a message is addressed to and there are two Foreign SMTP Domain documents -- one for and one for -- the Router uses the document for

After the Router determines which Foreign SMTP Domain document most closely matches the address of the message, it forwards the message to the specified next domain. If the domain is a real Domino domain, the Router looks in the Domino Directory for a connection to that domain and routes the message. If the domain is a logical domain, the Router checks for an SMTP Connection document that describes the next hop for mail routed to that domain.

To create a Foreign SMTP domain document

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 Domains, and then click Add Domain.

4. On the Basics tab, complete this field:
Domain typeForeign SMTP Domain
5. Click the Routing tab, complete these fields, and then click Save & Close:
Messages Addressed to -- Internet DomainThe name of the Internet domain to which this document applies, for example,, or a wildcard (*.*) to indicate all Internet domains.
Should be Routed to -- Domain nameA fictitious, logical domain name -- for example, TheInternet -- to which messages that match the pattern in the Internet Domain field will be routed. The name you specify serves as a placeholder; Domino uses the name to pair the Foreign SMTP Domain document with the connection document you create in the next step.
6. Create an SMTP Connection document to associate the Foreign SMTP Domain document with an SMTP server that can send outbound mail to the Internet.

See Also