MAIL
For example, an organization that does not have a constant connection to the Internet might use a remote mail server at its ISP to hold mail until a local mail server calls in to the ISP server to retrieve or "pull" pending messages from the ISP server. If the ISP mail server supports the SMTP ETRN command, you can configure the Domino server to "pull" mail over SMTP. A local Domino server can also use IBM® Lotus® Notes® routing protocols to pull messages from a remote Domino server over a Notes Direct Dialup connection.
Note Support for dialup modem (X.PC) connections is available only in releases of Domino® earlier than release 8.5. You may continue to use Domino Administrator 8.5 to configure and maintain modem support, but only on servers running pre-8.5 releases. You may continue to use network dialup connection through Microsoft Dialup Networking (DUN) or Remote Access Service (RAS) in all releases.
Setting up Domino to pull mail from a remote server
By default, when a local server initiates a connection to a remote server, it uses the connection to push messages to the remote server. The local server does not "pull" pending messages from the remote server. Instead, the local server only receive mail from the remote server when the remote server initiates a connection to route those pending messages. To change this default behavior and have the local server retrieve messages from a remote server during the same session in which it sends messages to the remote server, set up the local server to send a "pull request" to the remote server.
When the local server is configured to send a "pull request," it sends a message to the remote server requesting that the server deliver any messages it has pending for the local server. The remote server receiving the pull request can be any SMTP host; it does not have to be a Domino server. When the remote server receives the "pull request," it checks its mail queues for any messages pending for the initiating server and starts the processing necessary to transfer those messages.
If you are using SMTP routing, you must make sure that ETRN protocol extension has been enabled on the other server (the one receiving the "pull request"), or it will not be able to receive the pull request. Also the remote server must be able to resolve the DNS host name of the initiating server to an IP address to ensure that the messages can be sent. Generally, ETRN requires that the initiating server has a static IP address, which is available in DNS to the server holding the pending messages.
Note Some ISPs use DHCP to assign a host a new IP address whenever it connects. If the remote system assigns a new IP address every time you connect, do not configure dialup systems to use pull routing.
When configuring dialup routing, you can indicate how long the initiating server keeps the line open to allow the remote server to establish a connection. This is useful to prevent the initiating server from hanging up the line before the remote server is able to attempt to transfer any pending mail. The initiating server sends a pull request, then pushes any messages it has for the remote server, and then waits for any messages pending from the remote server.
When sending a pull request, the initiating server can also request messages for other servers, domains, hosts, or any queue name within your organization for which the initiating server is responsible.
The ETRN command
With ETRN support, a dialup SMTP host can notify an SMTP server holding messages for it when to deliver those messages. ETRN enables servers to use bandwidth resources efficiently, because the dialup host sends and receives mail during the course of a single session.
ETRN stands for Extended Turn and is an SMTP service extension command, defined in RFC 1985. that provides improved security over the SMTP TURN command, originally defined in RFC 821. The TURN command allows hosts involved in a SMTP session to reverse their respective roles, so that, for example, if Server1 is sending an SMTP message to Server2, Server1 can issue the TURN command so that Server2 then becomes the sender and Server1, the receiver.
However, because the TURN command has no mechanism for verifying the identity of the calling host, use of the command poses a security risk. A malicious user who spoofs the identify of a server can falsely appear to belong to a someone else's Internet domain and then use the TURN command to retrieve messages intended for that domain.
The ETRN command plugs this security hole by redefining the sending and receiving roles during the course of the SMTP session. For example, after Server1 issues the ETRN command to Server2, ETRN instructs Server2 to open a new SMTP session with Server1. Because Server2 has to resolve the name of Server1 to an IP number in the DNS, Server2 is more likely to open a new SMTP session with the correct machine.
For Domino to use ETRN to retrieve new mail over a dialup connection, your ISP must support this command. Check with your ISP to verify whether they support this command or not. You can also verify support for the command by establishing a telnet connection to port 25 of the ISP's SMTP server. After the SMTP session starts, type EHLO and press Enter. The response from the ISP’s SMTP server indicates whether the server supports ETRN.
To set up a server to route mail over a transient connection
1. For SMTP routing, on the Router/SMTP Basics tab of the Configuration Settings document for the sending server, enable SMTP for messages sent outside the local Internet domain.
2. From the Domino Administrator, click the Configuration tab and then expand the Messaging section.
3. Click Connections.
4. Click Add Connection.
5. On the Basics tab, complete these fields:
Network Dialup - Choose this option for servers that will route mail over SMTP using this dialup connection. You can also use this option for NRPC routing.
Notes Direct Dialup - Choose this option only for servers that will use this connection to route mail over NRPC to another Domino server.
For SMTP routing connections to an ISP server, enter the host name of the ISP server, for example, internet.isp.com. Depending on the requirements of your ISP, the specified host can be used for outbound mail, inbound mail (using ETRN), or both. If the host is used for outbound mail, enter the same host name on the Router/SMTP - Basics tab of the Configuration Settings document, in the field "Relay host for messages leaving the local Internet domain."
Leave this field blank when configuring SMTP routing to an ISP server.
8. The change takes effect after the next Router configuration update. To put the new setting into effect immediately, reload the routing configuration.
Related topics