Manage remote domains
Applies to: Exchange Server 2013
Topic Last Modified: 2013-02-18
Remote domains are SMTP domains that are external to your Microsoft Exchange organization. You can create remote domain entries to define the settings for message transferred between your Exchange organization and specific external domains. The settings in the remote domain entry for a specific external domain override the settings in the default remote domain that normally apply to all external recipients. The remote domain settings are global for the Exchange organization.
If you remove a remote domain entry, the settings for message transfer no longer apply to messages sent to the remote domain. Removing a remote domain entry doesn't disable mail flow to the remote domain. After a remote domain entry is removed, the configuration settings of the default remote domain apply to new messages sent to that domain. You can't remove the default remote domain.
Estimated time to complete each procedure: 10 minutes.
You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Remote domains" entry in the Mail flow permissions topic.
You can only use the Shell to perform this procedure.
You can't create a remote domain for an address space that's configured as an accepted domain in your organization. For example, if your organization accepts mail for fabrikam.com, you can't create a remote domain for fabrikam.com.
For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.
To create a new remote domain entry, use the following syntax.
New-RemoteDomain -Name <Descriptive Name> -DomainName <SMTP address space>
This example creates a remote domain entry for messages sent to the contoso.com domain.
New-RemoteDomain -Name Contoso -DomainName contoso.com
This example creates a remote domain entry for messages sent to the fabrikam.com domain and all subdomains.
New-RemoteDomain -Name Fabrikam -DomainName *.fabrikam.com
To verify that you have successfully created a remote domain, do the following:
Run the command Get-RemoteDomain and verify that the remote domain is listed.
Run the command
Get-RemoteDomain <Remote Domain Name> | Format-Listto verify the settings on the new remote domain. Send a test message to a recipient in the address space that's specified in the new remote domain entry, and verify that the message settings match those specified by the new remote domain entry.
You configure the settings in the remote domain entry using the Set-RemoteDomain cmdlet. There are many different settings that relate to automatic replies, message format and encoding, and other message settings. For more information, see Set-RemoteDomain.
To configure remote domains for specific scenarios, see the following topics:
To remove a remote domain entry, use the following syntax.
This example removes the remote domain entry named Contoso
To verify that you have successfully removed the remote domain, do the following:
Run the command Get-RemoteDomain and verify that the remote domain is isn't listed.
Run the command
Get-RemoteDomain Default | Format-Listto verify the settings on the default remote domain. Send a test message to a recipient in the address space that was specified in the removed remote domain, and verify that the message settings match those specified by the default remote domain.