Applies to: Exchange Server 2013, Exchange Online
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.
What do you need to know before you begin?
- 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't use the Exchange admin center (EAC) to perform this
procedure. You can only use the Shell.
- 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.
Tip: |
---|
Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection |
What Do You Want to Do?
Use the Shell to create a remote domain
To create a new remote domain entry, use the following syntax.
Copy Code | |
---|---|
New-RemoteDomain -Name <Descriptive Name> -DomainName <SMTP address space> |
This example creates a remote domain entry for messages sent to the contoso.com domain.
Copy Code | |
---|---|
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.
Copy Code | |
---|---|
New-RemoteDomain -Name Fabrikam -DomainName *.fabrikam.com |
How do you know this worked?
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-List
to 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.
Use the Shell to configure a remote domain
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:
Use the Shell to remove a remote domain
To remove a remote domain entry, use the following syntax.
Copy Code | |
---|---|
Remove-RemoteDomain <RemoteDomainName> |
This example removes the remote domain entry named Contoso
Copy Code | |
---|---|
Remove-RemoteDomain Contoso |
How do you know this worked?
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-List
to 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.