XCON: Configuring the Internet Mail Service to Send and Receive Mail Through a Demand Dial Router

ID: Q241157


The information in this article applies to:
  • Microsoft Exchange Server, version 5.5

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SUMMARY

You may run into an issue when your connection to the Internet is through a demand dial router and you are using the Microsoft Exchange Server's Internet Mail Service. The Internet Mail Service forwards a message just as if it were a permanent connection. When the router detects that data needs to be sent, it initiates the dial, and sends the message. Exchange Server cannot tell the difference between this type of connection and a permanent connection, such as a T1 or Frame Relay. Most likely, when using a demand dial router, the primary MX record is your Internet server provider's (ISP's) mail server. The ISP queues the mail for the final destination. Normally, Exchange Server issues the ETRN command to the ISP's mail server to de-queue the mail. However, there is no way, within the Exchange Server Administrator program, to enable ETRN functionality outside of the normal Internet Mail Service dial-up configuration.


MORE INFORMATION

You can tell Exchange Server to always issue the ETRN command to the host specified in the Forward all mail to host field by setting the following registry parameter.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

  1. Start Registry Editor (Regedt32.exe).


  2. Locate the following key in the registry:


  3. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIMC\ Parameters
  4. On the Edit menu, click Add Value, and then add the following registry value:


  5. Value Name: AlwaysUseETRN
    Data Type: REG_DWORD
    Value: 0x1

  6. Quit Registry Editor.


Now, every time the Internet Mail Service forwards mail to the specified host, it will also issue the ETRN command to that host. There is no way to issue the ETRN command to another host. So, for this to work properly, the host that is queuing the mail also has to be able to relay mail.

One possible drawback to this approach is that incoming mail is only received when outgoing mail is sent. If this delay is an issue, you can configure an Exchange Server link monitor to the Internet. The link monitor uses an SMTP custom recipient that is a false user at a valid domain. The monitor sends a message to this custom recipient at the specified interval. Because this is an SMTP message, the Internet Mail Service sends it and also de-queues mail at the same time. Assuming the connection is functional, the message is returned as non-deliverable, indicating that the link is active. For the link monitor to stay active, the Administrator program needs to remain open. For additional information on configuring a link monitor, please see the Microsoft Exchange Server 5.5 Administrator's Guide.

Additional query words: AlwaysUseEtrn, dequeue adsl dsl cable modem cablemodem

Keywords : exc55
Version : winnt:5.5
Platform : winnt
Issue type : kbhowto


Last Reviewed: December 22, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.