Export the Edge Subscription file from the Edge Transport Server
- Run the following command on the Edge Transport server, providing the complete file path of the Edge Subscription file that you are creating. New-EdgeSubscription -FileName "C:\EdgeSubscriptionInfo.xml"
- Copy the resulting XML file to the Hub Transport server.
Import the Edge Subscription file on the Hub Transport Server
On the Hub Transport server, run the following command:
New-EdgeSubscription -filename "C:\EdgeSubscriptionInfo.xml" -CreateInternetSendConnector $true -CreateInboundSendConnector $true -site "Site-Name"
Where Site-Name is the name of Active Directory site where the Hub Transport server is located.
Force EdgeSync Synchronization
To force EdgeSync synchronization, run the following command from the Exchange Management Shell on the Hub Transport server:
Configuring Target DNS Server for Mail Forwarding
After you have completed setting up the target Exchange 2007/2010 organization for Internet mail flow between target and source Exchange organizations, you should also add the Mail Exchanger (MX) record for the target domain to the DNS server. This is necessary to forward the mail (redirected to the additional SMTP addresses added by the Directory Synchronization Agent) to the target Exchange 2007/2010 server.
We will use the following additional address space given as example on the steps above:
- @target.local—to redirect mail from source to target mailboxes. A secondary SMTP address will be added to each target mailbox by the Directory Synchronization Agent according to this template.
To set MX record for the target domain
- In the DNS snap-in, connect to the target DNS server and browse to the Forward Lookup Zones container.
- Right-click the Forward Lookup Zones and select New Zone.
- In the New Zone wizard, select the Primary zone to be created.
- Type local for the Zone name and complete the wizard.
- Right-click the zone object local again, and click New Mail Exchanger on the shortcut menu.
- In the New Resource Record dialog box, type target for the Host or child domain.
- Click Browse and select the Exchange server in the target domain to which mail sent to the @target.local domain will be redirected.
- Click OK.