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 Source DNS Server for Mail Forwarding
After you have completed setting up the source Exchange 2007/2010 organization for Internet mail flow between source and target Exchange organizations, you should also add the Mail Exchanger (MX) record for the source 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 source Exchange 2007/2010 server.
We will use the following additional address space given as example on the steps above:
- @source.local—to redirect mail from target to source mailboxes. A secondary SMTP address will be added to each source mailbox by the Directory Synchronization Agent according to this template.
To set MX record for the source domain
- In the DNS snap-in, connect to the source 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 source for the Host or child domain.
- Click Browse and select the Exchange server in the source domain to which mail sent to the @source.local domain will be redirected.
- Click OK.