Creating Send Connector
To create a Send connector, you can use either Exchange Admin Center (EAC) or Exchange Management Shell.
|
NOTE: For additional information, refer to the Create a Send Connector for Email Sent to the Internet TechNet article. |
To create a Send connector using Exchange Admin Center
- In the Exchange Admin Center, navigate to Mail flow > Send connectors, and then click Add +.
- In the New send connector wizard, specify a name for the send connector, for example, QMM Send Connector, and then select Custom for the Type. Click Next.
- Verify that MX record associated with recipient domain is selected. Then select the Use the external DNS lookup settings on servers with transport roles. Click Next.
- Under Address space, click Add +. In the Add domain window, make sure SMTP is listed as the Type. For Fully Qualified Domain Name (FQDN), specify the address space you want to use for mail redirection from target to source organization (for example, *.source.local). Click Save.
- Make sure Scoped send connector is not selected, and then click Next.
- For Source server, click Add +. In the Select a Server window, select one or more Mailbox servers in your organization and click Add. After you've selected the server, click OK.
- Click Finish.
To create a Send connector using Exchange Management Shell
Run the following command:
new-SendConnector -Name 'QMM Send Connector' -Usage 'Custom' -AddressSpaces 'SMTP:*.source.local;1' -IsScopedConnector $false -DNSRoutingEnabled $true -UseExternalDNSServersEnabled $true -SourceTransportServers 'ServerName'
where:
- *.source.local is the address space you want to use for mail redirection from target to source organization.
- ServerName is the Mailbox server name.
Modifying Default Receive Connector
To modify the default Receive connector for the target Exchange 2013 organization to receive mail from the Internet, you can use either Exchange Admin Center or Exchange Management Shell.
To modify the default Receive connector using Exchange Admin Center
- In the Exchange Admin Center, navigate to Mail flow > Receive connectors.
- Select the appropriate Mailbox server from the list of servers.
- Then select the Default <Server Name> connector and click Edit.
- In the Default <Server Name> window, go to Security.
- In Permission groups, select Anonymous users to add anonymous permissions.
- Click Save.
To modify the default Receive connector using Exchange Management Shell
Run the following command:
Set-ReceiveConnector -PermissionGroups 'AnonymousUsers, ExchangeUsers, ExchangeServers, ExchangeLegacyServers' -Identity 'ServerName\Default ServerName'
Where ServerName is the Mailbox server name.
Adding E-mail Domain Used for Redirection to the List of Accepted Domains
To add a new Accepted domain, you can use either Exchange Admin Center or Exchange Management Shell.
To add a domain to Accepted Domains list using Exchange Admin Center
- In the Exchange Admin Center, navigate to Mail flow > Accepted domains, and then click Add +.
- In the Name field, specify the accepted domain, such as target.local.
- In the Accepted domain field, specify the SMTP namespace for which the Exchange organization will accept e-mail messages, such as *.target.local.
- Then select the Authoritative Domain. E-mail is delivered to a recipient in this Exchange organization option.
- Click Save.
To add a domain to Accepted Domains list using Exchange Management Shell
Run the following command:
new-AcceptedDomain -Name 'target.local' -DomainName '*.target.local' -DomainType 'Authoritative'
where *.target.local is the address space you want to use for mail redirection from the source to the target organization.
Configuring Target DNS Server for Mail Forwarding
After you have completed setting up the target Exchange 2013 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 2013 server.
We will use the following additional address space given as example on the previous steps:
- @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.