在 Exchange Online 中管理远程域Manage remote domains in Exchange Online

您可以控制发送到 Exchange 组织外部的域的邮件类型和格式。遵循本主题中的过程,在 Exchange Online 中创建和配置远程域,或修改默认远程域。有关何时配置远程域的信息、可用设置的说明以及关于远程域设置如何覆盖每个用户的设置的信息,请参阅 Exchange Online 中的远程域You can control the types and format of messages that are sent to domains outside your Exchange organization. Follow the procedures in this topic to create and configure a remote domain in Exchange Online, or to modify the default 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?

  • 下表显示了常用设置的默认值。有关每个设置及其覆盖的每个用户的设置的详细信息,请参阅 Exchange Online 中的远程域The following table shows the default values for common settings. For more information about each setting and the per-user settings it overrides, see Remote domains in Exchange Online.
设置Setting DefaultDefault
"外出"答复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.
RTF 格式 (RTF)Rich Text format (RTF)
当邮件发送给远程域用户时,遵循在 Outlook 或 Outlook Web App 中每个用户创建的设置。Follow settings created by each user in Outlook or Outlook Web App when a message is sent to people on the remote domain.
受支持的字符集Supported character set
如果在发送到远程域的邮件中未指定字符集,请勿指定 MIME 或非 MIME 字符集。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.
  • 估计完成每个步骤的时间:5 分钟。Estimated time to complete each procedure: 5 minutes.

  • 您必须先获得权限,然后才能执行此过程或多个过程。若要查看所需的权限,请参阅 Exchange Online 中的功能权限主题中的"邮件流"条目。You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Mail flow" entry in the Feature permissions in Exchange Online topic.

  • 若要了解可能适用于此主题中过程的键盘快捷键,请参阅 Exchange 管理中心内的键盘快捷键For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

提示

遇到问题了吗?请在 Exchange 论坛中寻求帮助。 请访问以下论坛:Exchange ServerExchange OnlineExchange Online ProtectionHaving 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?

重要

使用 Exchange 管理中心 (EAC) 配置远程域条目仅适用于 Exchange Online 专用版。对于 Exchange Online,请改为使用Exchange 命令行管理程序。Using the Exchange admin center (EAC) to configure remote domain entries is only available in Exchange Online Dedicated. For Exchange Online, use the Exchange Management Shell instead.

创建和配置远程域Create and configure a remote domain

使用 EAC 创建和配置远程域Use the EAC to create and configure a remote domain

  1. 在 EAC 中,转到邮件流 > 远程域In the EAC, go to Mail flow > Remote domains.

  2. 创建新域:To create a new domain:

  3. 选择添加图标添加Select AddAdd Icon.

  4. 名称框中,输入域的描述性名称。In the Name box, enter a descriptive name for the domain.

  5. 远程域框中,输入完整的域名。使用通配符 (*) 的指定域名,例如,所有子域的*。 contoso.com。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.

  6. 若要更改默认域设置,选择默认,,然后选择编辑To change settings for the default domain, select Default, and then select Edit.

  7. 选择所需的选项: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.

    • 使用格式文本格式部分中,指定是否按照每个用户的邮件设置,或是否始终或从不保留 RTF 格式。选择从不意味着 RTF 邮件将以纯文本或 HTML。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.

  8. 单击保存。如果您创建一个新的远程域,则它将添加到列表。Click Save. If you created a new remote domain, it is added to the list.

使用 Exchange 命令行管理程序创建和配置远程域Use the Exchange Management Shell to create and configure a remote domain

要创建新的远程域,请使用 New-RemoteDomain cmdlet。有关参数的完整列表,请参阅 new-RemoteDomainTo create a new remote domain, use the New-RemoteDomain cmdlet. For a complete list of parameters, see new-RemoteDomain.

本示例为发送至 contoso.com 域的邮件创建远程域。This example creates a remote domain for messages sent to the contoso.com domain.

New-RemoteDomain -Name Contoso -DomainName contoso.com

本示例为发送至 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

使用Set-remotedomain更改默认远程域或使用新建 RemoteDomain创建远程域的设置。有关参数的完整列表,请参阅Set-remotedomainUse Set-RemoteDomain to change the settings for the default remote domain or for a remote domain you created using New-RemoteDomain. For a complete list of parameters, see Set-RemoteDomain.

  • 此示例禁用向未使用自己的远程域指定的所有远程域上的收件人发送自动答复、自动转发和外出答复。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 Default -AutoReplyEnabled $false -AutoForwardEnabled $false -AllowedOOFType $None
    
  • 本示例向名为 Contoso 的远程域上的用户发送内部外出答复。This example sends internal out of office replies to users at the remote domain named Contoso.

    Set-RemoteDomain Contoso -AllowedOOFType InternalLegacy
    
  • 此示例中禁止向 Contoso 上的用户发送送达报告和未送达报告。This example disables prevents delivery reports and non-delivery reports from being sent to users at Contoso.

    Set-RemoteDomain Contoso -DeliveryReportEnabled $false -NDREnabled $false
    
  • 此示例使用传输中性封装形成 (TNEF) 编码而非 MIME 编码将所有邮件发送到 Contoso。这样可保持邮件的 RTF 格式。This example sends all messages to Contoso using Transport Neutral Encapsulaltion Formation (TNEF) encoding, rather than MIME encoding. This preserves Rich Text format in messages.

    Set-RemoteDomain Contoso -TNEFEnabled $true
    

    此示例使用 MIME 编码将所有邮件发送到 Contoso,这意味着所有 RTF 邮件将始终转换为 HTML 或纯文本格式。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 Contoso -TNEFEnabled $false
    

    此示例使用用户在 Outlook 或 Outlook Web App 中定义的用于编码邮件的邮件格式设置。This example uses the message format settings the user has defined in Outlook or Outlook Web App for encoding messages.

    Set-RemoteDomain Contoso -TNEFEnabled $null
    
  • 此示例使用朝鲜语 (ISO) 字符集以将 MIME 邮件发送到 Contoso。This example uses the Korean (ISO) character set for MIME messages sent to Contoso.

    Set-RemoteDomain Contoso -CharacterSet iso-2022-kr
    

    此示例指定使用 Unicode 字符集以将非 MIME 邮件发送到 Contoso。This example specifies using the Unicode character set for non-MIME messages sent to Contoso.

    Set-RemoteDomain Contoso -NonMimeCharacterSet utf-8
    

您可以使用 Exchange 命令行管理程序更改的远程域设置的完整列表,请参阅Set-remotedomainFor a complete list of remote domain settings you can change by using the Exchange Management Shell, see Set-RemoteDomain.

您如何知道操作成功?How do you know this worked?

若要验证您已成功创建和配置远程域使用 Exchange 命令行管理程序,请运行命令Get-RemoteDomain <Remote Domain Name> | Format-ListTo verify that you have successfully created and configured a remote domain using the Exchange Management Shell, run the command Get-RemoteDomain <Remote Domain Name> | Format-List.

删除远程域Remove a remote domain

备注

不能删除默认远程域。当您删除远程域时,默认远程域设置将适用于发送到该域的邮件。删除远程域不会禁用远程域的邮件流。You can't remove the default remote domain. When you remove a remote domain, the default remote domain settings apply to messages sent to that domain. Removing a remote domain doesn't disable mail flow to the remote domain.

使用 EMC 删除远程域Use the EAC to remove a remote domain

  1. 在 EAC 中,转到邮件流 > 远程域In the EAC, go to Mail flow > Remote domains.

  2. 选择远程域,然后选择删除删除图标Select a remote domain, and then select DeleteDelete icon.

  3. 在警告对话框中,选择In the warning dialog box, select Yes.

远程域已从列表中删除。The remote domain is removed from the list.

使用 Exchange 命令行管理程序删除远程域Use the Exchange Management Shell to remove a remote domain

要删除远程域,请使用 Remove-RemoteDomain cmdlet。此示例将删除名为 Contoso 的远程域。To remove a remote domain, use the Remove-RemoteDomain cmdlet. This example removes the remote domain named Contoso.

Remove-RemoteDomain Contoso

您如何知道操作成功?How do you know this worked?

若要验证已成功删除远程域,运行命令Get-remotedomain,并确认远程域未列出。To verify that you have successfully removed the remote domain, run the command Get-RemoteDomain, and verify that the remote domain isn't listed.

我还应该知道些什么?What else should I know?

  • 某些远程域设置覆盖,用户可能会在 Outlook 或 Outlook Web App 中配置或使用 EAC 或 Exchange 命令行管理程序配置的设置。按每个远程域设置覆盖的特定设置,请参阅Exchange Online 中的远程域Some of the settings for remote domains override settings that your users may configure in Outlook or Outlook Web App, or that you configure using the EAC or the Exchange Management Shell. For specific settings that are overridden by each remote domains setting, see Remote domains in Exchange Online.

  • 域可以设置为远程域如果它未列在Office 365 管理中心 > 页。例如,如果 fabrikam.com 为您的域之一,您无法创建用于 fabrikam.com 远程域。A domain can be set up as a remote domain if it isn't listed on the Office 365 admin center > Domains page. For example, if fabrikam.com is one of your domains, you can't create a remote domain for fabrikam.com.

  • 创建远程域后,则不能更改域的名称。请转为使用新域名创建和配置新远程域。Once you have created a remote domain, you can't change the domain name. Instead, create and configure a new remote domain with the new domain name.