Share via


Manage remote domains in Exchange Online

Remote domains define settings based on the destination ___domain of each email message. All organizations have a default remote ___domain named "Default" that's applied to the ___domain "*". The default remote ___domain applies the same settings to all email messages regardless of the destination ___domain. However, you can configure specific settings for a specific destination ___domain.

The following table shows the default values for common settings:

Setting Default
Out of office replies Send external out-of-office replies to people on the remote ___domain.
Automatic replies Allow automatic replies or automatically forwarded messages to be sent to people on the remote ___domain.
Delivery and non-delivery reports Allow delivery and non-delivery reports to be sent to people on the remote ___domain.
Meeting forward notifications Don't allow meeting forward notifications to be sent to people on the remote ___domain.
Rich Text format (RTF) Follow settings created by each user in Outlook or Outlook on the web (formerly known as Outlook Web App) when a message is sent to people on the remote ___domain.
Supported character set Do not specify a MIME or non-MIME character set if the character set isn't specified in the message sent to the remote ___domain.

For information about when to configure remote domains, descriptions of the available settings, and information about how remote ___domain settings override per-user settings, see Remote domains in Exchange Online.

What do you need to know before you begin?

Tip

Having problems? Ask for help in the Exchange Online forum at Exchange Online.

Create and configure remote domains

Note

  • If you create a remote ___domain for a specific destination ___domain, and a setting for the specific remote ___domain conflicts with the same setting in the default remote ___domain, the setting for the specific remote ___domain overrides the setting in the default remote ___domain.
  • Once you've created a remote ___domain, you can't change or replace the ___domain inside the remote ___domain. Instead, create and configure a new remote ___domain with the new ___domain name.

Use the EAC to create and configure a remote ___domain

New EAC

  1. Go to Mail flow > Remote domains. The Remote ___domain screen appears.

  2. Click + Add a remote ___domain. The Name the ___domain screen appears.

  3. In the Name text box, enter a descriptive name for the ___domain.

  4. In the Remote Domain text box, enter the full ___domain name. Use the wildcard character (*) for all subdomains of a specified ___domain, for example, *.contoso.com.

  5. Click Next. The Email reply types screen appears.

  6. Define the following settings:

  • In the Out of Office reply types section, specify which type of out-of-office replies should be sent to people at this ___domain.

  • In the Automatic replies section, specify whether you want to allow automatic replies, automatic forwarding, or both.

  1. Click Next. The Message reporting screen appears.

  2. Specify whether you want to allow delivery reports and non-delivery reports by checking the respective check boxes.

  3. Click Next. The Text and character set screen appears.

  4. Define the following settings:

    • In the Use Rich-text format pane, specify whether to follow each user's message settings, or whether to always or never preserve RTF formatting. Selecting Never means that RTF messages are sent as plain text or HTML.
    • In the Supported Character Set pane, specify which character set to use (if the message doesn't specify the character set) by choosing from the MIME character set or Non-MIME character set drop-down list.
  5. Click Next. The Review screen appears.

  6. Review the remote ___domain settings, and click Save.

The new remote ___domain is created and added to the list.

Classic EAC

  1. Go to Mail flow > Remote domains.

  2. To create a new ___domain:

    1. Click New Add Icon..
    2. In the Name box, enter a descriptive name for the ___domain.
    3. In the Remote Domain box, enter the full ___domain name. Use the wildcard character (*) for all subdomains of a specified ___domain, for example, *.contoso.com.
  3. To change settings for the default ___domain, select Default, and then select Edit.

  4. Select the options you want:

    • In the Out of Office reply types section, specify which type of out-of-office replies should be sent to people at this ___domain.
    • In the Automatic replies section, specify whether you want to allow automatic replies, automatic forwarding, or both.
    • In the Message reporting section, specify:
    • Whether you want to allow delivery reports and non-delivery reports.
    • If a meeting set up by someone on the remote ___domain is forwarded to another person in your organization, whether the notification message should go to the meeting organizer on the remote ___domain.
    • In the Use Rich-text format section, specify whether to follow each user's message settings, or whether to always or never preserve RTF formatting. Selecting Never means that RTF messages are sent as plain text or HTML.
    • In the Supported Character Set area, specify which character set to use if the message doesn't specify the character set.
  5. Click Save. If you created a new remote ___domain, it is added to the list.

Remove remote domains

Note

  • You can't remove the default remote ___domain.
  • When you remove a remote ___domain, the default remote ___domain settings will then apply to messages sent to that ___domain.
  • Removing a remote ___domain doesn't disable mail flow to the remote ___domain.

Use the EAC to remove a remote ___domain

New EAC

  1. Go to Mail flow > Remote domains. The Remote ___domain screen appears.

  2. Select a remote ___domain, and then click Delete Delete icon..

  3. In the warning dialog box, click Confirm. The remote ___domain is deleted.

Classic EAC

  1. Go to Mail flow > Remote domains.

  2. Select a remote ___domain, and then click Delete Delete icon..

  3. In the warning dialog box, select Yes.

Use Exchange Online PowerShell to create and configure a remote ___domain

After you create the remote ___domain, you can configure the settings (you can't create the remote ___domain and configure the settings in one step).

Step 1: Create the remote ___domain

To create a new remote ___domain, use the following syntax:

New-RemoteDomain -Name "<Unique Name"> -DomainName <single SMTP ___domain | ___domain with subdomains>

This example creates a remote ___domain for messages sent to the contoso.com ___domain.

New-RemoteDomain -Name Contoso -DomainName contoso.com

This example creates a remote ___domain for messages sent to the contoso.com ___domain and all its subdomains.

New-RemoteDomain -Name "Contoso and subdomains" -DomainName *.contoso.com

For detailed syntax and parameter information, see New-RemoteDomain.

Step 2: Configure the remote ___domain settings

To configure the settings for a remote ___domain, use the following syntax:

Set-RemoteDomain -Identity <Name> [-AllowedOOfType <External | InternalLegacy | ExternalLegacy | None>] [-AutoForwardEnabled <$true | $false>] [-AutoReplyEnabled <$true | $false>] [-CharacterSet <SupportedCharacterSet>] [-DeliveryReportEnabled <$true | $false>] [-NonMimeCharacterSet <SupportedCharacterSet>] [-TNEFEnabled <$true | $false>]

This example disables automatic replies, automatic forwarding, and out-of-office replies to recipients at all remote domains that aren't specified with their own remote ___domain.

Set-RemoteDomain -Identity  Default -AutoReplyEnabled $false -AutoForwardEnabled $false -AllowedOOFType None

This example sends internal out-of-office replies to users at the remote ___domain named Contoso.

Set-RemoteDomain -Identity Contoso -AllowedOOFType InternalLegacy

This example prevents delivery reports and non-delivery reports from being sent to users at Contoso.

Set-RemoteDomain -Identity Contoso -DeliveryReportEnabled $false -NDREnabled $false

This example sends all messages to Contoso using Transport Neutral Encapsulation Formation (TNEF) encoding, rather than MIME encoding. This usage of TNEF preserves Rich Text format in messages.

Set-RemoteDomain -Identity Contoso -TNEFEnabled $true

This example sends all messages to Contoso using MIME encoding, which means that all RTF messages are always converted to HTML or plain text.

Set-RemoteDomain -Identity Contoso -TNEFEnabled $false

This example uses the message-format settings the user has defined in Outlook or Outlook on the web for encoding messages.

Set-RemoteDomain -Identity Contoso -TNEFEnabled $null

This example uses the Korean (ISO) character set for MIME messages sent to Contoso.

Set-RemoteDomain -Identity Contoso -CharacterSet iso-2022-kr

This example specifies using the Unicode character set for non-MIME messages sent to Contoso.

Set-RemoteDomain -Identity Contoso -NonMimeCharacterSet utf-8

For detailed syntax and parameter information, see Set-RemoteDomain.

Use Exchange Online PowerShell to remove a remote ___domain

To remove a remote ___domain, use the following syntax:

Remove-RemoteDomain -Identity <Remote Domain Name>

This example removes the remote ___domain named Contoso.

Remove-RemoteDomain -Identity Contoso

For detailed syntax and parameter information, see Remove-RemoteDomain.