
Supporting Two SMTP Mail Domains
Supporting two SMTP mail domains is common during the initial phase of a merger or acquisition. As an example of how one Exchange organization can support two SMTP mail domains, consider the same merger scenario involving Contoso and Fourth Coffee. In the initial phases of the acquisition, Contoso continues to use its local SMTP mail domain of contoso.com. However, to allow Fourth Coffee employees to receive e-mail messages with their original address, Contoso must also accept mail for the non-local mail domain of fourthcoffee.com. The following figure illustrates how both the domains of fourthcoffee.com and contoso.com are supported.
Supporting two SMTP mail domains.gif)
To accept mail for the non-local domain of the newly acquired company, Fourth Coffee, an administrator at Contoso creates an SMTP connector to fourthcoffee.com. This connector is configured with an address space of the SMTP domain that is used by Fourth Coffee (fourthcoffee.com) and configured to relay messages to this domain. To do this, the administrator opens the SMTP connector's properties, clicks the Address space tab, and then selects the Allow messages to be relayed to this domain check box.
Important: |
|---|
|
You must configure this connector on each bridgehead server that accepts incoming Internet e-mail for the fourthcoffee.com domain.
|
Additionally, for the mail domain (fourthcoffee.com) that the administrator wants to accept mail, he ensures that an MX record exists on the Internet DNS server. This MX record should point to the IP address of the gateway server that accepts inbound mail. For more information about DNS, see "DNS" in Transport Dependencies for Exchange Server 2003.
Using Address Rewrite as an Interim Solution
With Exchange 2003, you can use a new tool called Address Rewrite as an interim step in a merger or acquisition scenario. This tool rewrites e-mail addresses on outgoing messages that are sent to Exchange and destined to external or Internet addresses. (Address Rewrite is similar to the Exchange 5.5 feature, ReRouteViaStore.) In a merger or acquisition, you can rewrite all outgoing Internet mail with a single SMTP mail domain of the parent and continue to support both the SMTP domains of the parent company and the acquired company until you are ready to migrate all users to your Exchange system.
Using the example of the acquisition of Fourth Coffee by Contoso, assume that as an interim solution in this acquisition, you want all users of Fourth Coffee to begin using the SMTP mail domain of contoso.com. Because these users have not yet been migrated to your Exchange system, you can use Address Rewrite to rewrite all outgoing e-mail messages that are sent from users on the Fourth Coffee system with the e-mail address of contoso.com. However, you also want to continue to accept e-mail messages that are sent to the users with the old e-mail address of fourthcoffee.com.
To rewrite outgoing addresses and continue to support both SMTP domains, perform the following steps:
-
Use Address Rewrite to rewrite all outgoing e-mail addresses that are sent from Fourth Coffee users.
-
Create contacts in Active Directory for all users on the Fourth Coffee mail system with a target address of fourthcoffee.com and a primary SMTP address of contoso.com.
-
Create an SMTP connector with an address space of fourthcoffee.com.
Step 1: Use Address Rewrite to Rewrite E-mail Addresses
After you configure the mail system that is used by Fourth Coffee Company to route outgoing Internet mail using SMTP through your Exchange server, you then need to enable Address Rewrite on the SMTP virtual servers in your Exchange organization that are responsible for accepting mail from the subsidiary company's mail system. In this example, you enable address rewrite on all SMTP virtual servers that accept mail from the subsidiary company, Fourth Coffee.
The following conditions must exist for Address Rewrite to work properly:
-
The message is externally submitted SMTP mail that is sent to the Exchange bridgehead server.
-
E-mail messages are destined to the Internet.
Internal mail or mail sent from other Exchange servers in your organization to the bridgehead server where address rewrite is enabled bypass address rewrite. There is one exception; mail submitted using Outlook Express or any other SMTP client undergoes an address rewrite on this bridgehead server.
Remember that the intent of this tool is to rewrite addresses only for mail coming from the subsidiary company (externally SMTP submitted) into your company's e-mail servers and then destined to the Internet.
You can download the Address Rewrite tool (exarcfg) from the Microsoft website at http://go.microsoft.com/fwlink/?LinkId=25097. After you download the tool, use the following procedure to enable address rewrite on the appropriate SMTP virtual servers.
Important: |
|---|
|
Address rewrite must be enabled on the bridgehead SMTP virtual servers that receive mail from the subsidiary company's mail system. Address rewrite will not occur if the message is first submitted to an SMTP virtual server without address rewrite enabled.
|
For detailed instructions, see How to Enable Address Rewrite by Using the Exarcfg Tool.
Step 2: Create Contacts in Active Directory for Fourth Coffee Users
In Active Directory Users and Computers, you must create a contact for each user on the Fourth Coffee company mail system. Each contact must have a target address of fourthcoffee.com and a primary SMTP address of contoso.com.
The target address appears on the Exchange General tab of a contact's properties. You set the primary SMTP address on the E-mail Address tab of a contact's properties. You can use an automated process to add these contacts to Active Directory, or you can perform the steps manually.
The How to Create a Contact in Active Directory procedure shows how to create a contact in Active Directory manually by using the target address of the non-Microsoft mail system, which is Fourth Coffee in this example, and a primary SMTP address that is used by your Exchange organization, which is Contoso in this example.
Step 3: Create an SMTP Connector with an Address Space of fourthcoffee.com
To accept mail for Fourth Coffee Company users, an administrator at Contoso creates an SMTP connector to fourthcoffee.com and specifies each SMTP virtual server that accepts incoming Internet mail as a local bridgehead server for the connector. This connector is configured with an address space of the SMTP domain that is used by Fourth Coffee (fourthcoffee.com) and is configured to relay messages to this domain. To do this, the administrator opens the SMTP connector's properties, clicks the Address space tab, and then selects the Allow messages to be relayed to this domain check box.
Note: |
|---|
|
For performance reasons, it is recommended that you do not use the same SMTP virtual server to both receive mail from the subsidiary company and accept incoming Internet mail. You should designate separate SMTP virtual servers on separate Exchange servers for each function.
|
The following figure illustrates the topology that is used by Contoso and Fourth Coffee. Note that one Exchange server accepts outgoing mail from Fourth Coffee, and a separate server routes incoming mail to Fourth Coffee users. The SMTP virtual server that accepts mail from Fourth Coffee can also function as an outbound gateway server, but this is not a requirement. This SMTP virtual server can either route Internet mail that is received from Fourth Coffee users directly to the Internet, or it can route this mail to the appropriate gateway server
Topology with address rewrite enabled.gif)