将连接器设置为在 Office 365 和您自己的电子邮件服务器之间路由邮件Set up connectors to route mail between Office 365 and your own email servers

本主题可帮助您设置在以下两种情况下需要使用的连接器:This topic helps you set up the connectors you need for the following two scenarios:

  • 您具有自己的电子邮件服务器(也称为本地服务器),且您订阅到 Exchange Online Protection (EOP) 以使用电子邮件保护服务。You have your own email servers (also called on-premises servers), and you subscribe to Exchange Online Protection (EOP) for email protection services.

  • 您将(或打算将)邮箱存放在两个位置;有些邮箱在 Office 365 中,有些邮箱在组织的电子邮件服务器(也称为本地服务器)上。You have (or intend to have) mailboxes in two places; some mailboxes in Office 365, and some of your mailboxes are on your organization email servers (also called on-premises servers).

备注

在开始之前,请确保在您的特定方案中检查如果怎么办 EOP 或 Exchange Online 和我自己的电子邮件服务器?Before you get started, make sure you check on your specific scenario in What if I have EOP or Exchange Online and my own email servers?.

Office 365 连接器如何与我自己的电子邮件服务器(也称为"本地服务器")配合使用?How do Office 365 connectors work with my own email servers (also called "on-premises servers")?

如果您有 EOP 和您自己的电子邮件服务器,或如果您的一些邮箱位于 Office 365 中,一些邮箱位于您的电子邮件服务器中,则将连接器设置为启用双向邮件流。您可以在 Office 365 与任意基于 SMTP 的电子邮件服务器(如 Exchange)或第三方电子邮件服务器之间启用邮件流。If you have EOP and your own email servers, or if some of your mailboxes are in Office 365 and some are on your email servers, set up connectors to enable mail flow in both directions. You can enable mail flow between Office 365 and any SMTP-based email server, such as Exchange or a third-party email server.

下图展示了 Office 365(包括 Exchange Online 或 EOP)中的连接器如何与您自己的电子邮件服务器配合使用。The diagram below shows how connectors in Office 365 (including Exchange Online or EOP) work with your own email servers.

Office 365 和您的电子邮件服务器之间的连接器

在此示例中,John 和 Bob 均为您公司的员工。John 有一个邮箱位于您所管理的电子邮件服务器上,而 Bob 有一个邮箱位于 Office 365 中。John 和 Bob 均与使用 Internet 邮件帐户的客户 Sun 交换邮件:In this example, John and Bob are both employees at your company. John has a mailbox on an email server that you manage, and Bob has a mailbox in Office 365. John and Bob both exchange mail with Sun, a customer with an Internet mail account:

  • 如果电子邮件是在 John 和 Bob 之间发送,则需要连接器。When email is sent between John and Bob, connectors are needed.

  • 如果电子邮件是在 John 和 Sun 之间发送,则需要连接器(所有 Internet 电子邮件都通过 Office 365 进行传递)。When email is sent between John and Sun, connectors are needed. (All Internet email is delivered via Office 365.)

  • 如果电子邮件是在 Bob 和 Sun 之间发送,则不需要连接器。When email is sent between Bob and Sun, no connector is needed.

如果你有自己的电子邮件服务器和 Office 365,则必须设置连接器。否则,电子邮件不会在 Office 365 和你组织的电子邮件服务器之间传递。If you have your own email servers and Office 365, you must set up connectors. Without connectors, email will not flow between Office 365 and your organization's email servers.

连接器如何在 Office 365 和我自己的电子邮件服务器之间路由邮件?How do connectors route mail between Office 365 and my own email server?

您必须有两个连接器才能在 Office 365 和您的电子邮件服务器之间路由电子邮件,如下所示:You need two connectors to route email between Office 365 and your email servers, as follows:

  • 从 Office 365 指向您自己的电子邮件服务器的连接器A connector from Office 365 to your own email server

当您将 Office 365 设置为代表您的组织接受所有电子邮件时,请将您域的 MX(邮件交换)记录指向 Office 365。若要针对此邮件传递方案进行准备,您必须设置一个备用服务器(称为"智能主机"),以便 Office 365 可以将电子邮件发送到您组织的电子邮件服务器(又名"本地服务器")。若要完成此方案,您可能需要将您的电子邮件服务器配置为接受 Office 365 传递的邮件。When you set up Office 365 to accept all email on behalf of your organization, you will point your domain's MX (mail exchange) record to Office 365. To prepare for this mail delivery scenario, you must set up an alternative server (called a "smart host") so that Office 365 can send email to your organization's email server (also called "on-premises server"). To complete the scenario, you might need to configure your email server to accept messages delivered by Office 365.

  • 连接器:从你自己的电子邮件服务器指向 Office 365A connector from your own email server to Office 365

设置此连接器后,Office 365 会接受发送自你组织的电子邮件服务器的邮件,并代表你向收件人发送邮件。此收件人可以是你组织在 Office 365 中的邮箱,也可以是 Internet 上的收件人。若要完成此方案,你还需要将你的电子邮件服务器配置为直接向 Office 365 发送电子邮件。When this connector is set up, Office 365 will accept messages from your organization's email server and send the messages to recipients on your behalf. This recipient could be a mailbox for your organization in Office 365, or it could be a recipient on the Internet. To complete this scenario, you'll also need to configure your email server to send email messages directly to Office 365.

通过此连接器,Office 365 可以扫描你的电子邮件中是否有垃圾邮件和恶意软件,并强制执行合规性要求(如运行数据丢失防护策略)。如果你的电子邮件服务器直接将所有的电子邮件都发送给 Office 365,则你自己的 IP 地址可以免于被添加到垃圾邮件阻止列表中。 若要完成此方案,你可能需要将你的电子邮件服务器配置为向 Office 365 发送邮件。This connector enables Office 365 to scan your email for spam and malware, and to enforce compliance requirements such as running data loss prevention policies. When your email server sends all email messages directly to Office 365, your own IP addresses are shielded from being added to a spam block list. To complete the scenario, you might need to configure your email server to send messages to Office 365.

备注

此方案需要两个连接器:一个从 Office 365 指向您的邮件服务器,另一个负责管理反方向的邮件流。在开始之前,请确保您拥有所需的全部信息,然后按照说明继续操作,设置并验证这两个连接器。This scenario requires two connectors: one from Office 365 to your mail servers, and one to manage mail flow in the opposite direction. Before you start, make sure you have all the information you need, and continue with the instructions until you have set up and validated both connectors.

步骤概述Overview of the steps

下面概述了步骤:Here is an overview of the steps:

  • 完成您的电子邮件服务器环境所需满足的先决条件。Complete the prerequisites for your email server environment.

  • 第 1 部分: 将邮件配置为从 Office 365 传递到您的电子邮件服务器。Part 1: Configure mail to flow from Office 365 to your email server.

  • 第 2 部分: 将邮件配置为从您的电子邮件服务器传递到 Office 365。Part 2: Configure mail to flow from your email server to Office 365.

您的电子邮件服务器环境所需满足的的先决条件Prerequisites for your email server environment

准备服务器环境(又名"本地环境"),以便与 Office 365 连接。请按照下列步骤操作:Prepare your server environment (also known as your on-premises environment) so that it's ready to connect with Office 365. Follow these steps:

  1. 请务必设置您的电子邮件服务器(又名"本地邮件服务器"),并确保其能够与 Internet 进行邮件往来。Make sure that your email server (also called "on-premises mail server") is set up and capable of sending and receiving mail to and from the Internet.

  2. 检查您的本地电子邮件服务器是否已启用传输层安全性 (TLS),且是否有证书颁发机构签发(CA 签发)的有效证书。我们建议证书使用者名称中包含与您组织中的主要电子邮件服务器匹配的域名。如有必要,请购买符合此描述的 CA 签发的数字证书。Check that your on-premises email server has Transport Layer Security (TLS) enabled, with a valid certification authority-signed (CA-signed) certificate. We recommend that the certificate subject name includes the domain name that matches the primary email server in your organization. Buy a CA-signed digital certificate that matches this description, if necessary.

  3. 如果你想使用证书在 Office 365 和你的电子邮件服务器之间进行安全通信,请更新你的电子邮件服务器用来接收邮件的连接器。当 Office 365 尝试连接你的服务器时,此连接器必须能够识别正确的证书。如果你使用的是 Exchange,请参阅Receive Connectors,了解详细信息。在边缘传输服务器或客户端访问服务器 (CAS) 上,配置接收连接器的默认证书。在 Exchange 命令行管理程序中更新 Set-ReceiveConnector cmdlet 上的 TlsCertificateName 参数。若要了解如何在本地 Exchange 组织中打开 Exchange 命令行管理程序,请参阅 Open the ShellIf you want to use certificates for secure communication between Office 365 and your email server, update the connector your email server uses to receive mail. This connector must recognize the right certificate when Office 365 attempts a connection with your server. If you're using Exchange, see Receive Connectors for more information. On the Edge Transport Server or Client Access Server (CAS), configure the default certificate for the Receive connector. Update the TlsCertificateName parameter on the Set-ReceiveConnector cmdlet in the Exchange Management Shell. To learn how to open the Exchange Management Shell in your on-premises Exchange organization, see Open the Shell.

  4. 记下面向外部的电子邮件服务器的名称或 IP 地址。如果您使用的是 Exchange,此为从 Office 365 接收电子邮件的边缘传输服务器或 CAS 的完全限定的域名 (FQDN)。Make a note of the name or IP address of your external-facing email server. If you're using Exchange, this will be the Fully Qualified Domain Name (FQDN) of your Edge Transport server or CAS that will receive email from Office 365.

  5. 打开防火墙上的端口 25,以便 Office 365 可以连接您的电子邮件服务器。Open port 25 on your firewall so that Office 365 can connect to your email servers.

  6. 请确保您的防火墙接受来自所有 Office 365 IP 地址的连接。有关已发布的 IP 地址范围,请参阅 Exchange Online Protection IP addressesMake sure your firewall accepts connections from all Office 365 IP addresses. See Exchange Online Protection IP addresses for the published IP address range.

  7. 记下您组织中的每个域的电子邮件地址。您稍后将需要使用此地址来测试您的连接器能否正常运行。Make a note of an email address for each domain in your organization. You'll need this later to test that your connector is working properly.

第 1 部分:将邮件配置为从 Office 365 传递到您的电子邮件服务器Part 1: Configure mail to flow from Office 365 to your email server

此部分包含以下三个步骤:There are three steps for this:

  1. 配置您的 Office 365 环境。Configure your Office 365 environment.

  2. 设置从 Office 365 指向您的电子邮件服务器的连接器。Set up a connector from Office 365 to your email server.

  3. 将 MX 记录更改为将邮件流从 Internet 重定向到 Office 365。Change your MX record to redirect your mail flow from the Internet to Office 365.

1. 配置您的 Office 365 环境1. Configure your Office 365 environment

请务必在 Office 365 中完成以下操作:Make sure you have completed the following in Office 365:

  1. 要设置连接器,则必须先获得分配的权限,然后才能开始设置。若要查看您需要获得哪些权限,请参阅 Feature permissions in EOP主题中的"Office 365 连接器"条目。To set up connectors, you need permissions assigned before you can begin. To check what permissions you need, see the "Office 365 connectors" entry in the Feature permissions in EOP topic.

  2. 如果您希望 EOP 或 Exchange Online 将电子邮件从您的电子邮件服务器中继到互联网,则:If you want EOP or Exchange Online to relay email from your email servers to the Internet, either:

  3. 确定是使用传输规则还是域名将邮件从 Office 365 传递到您的电子邮件服务器。大多数企业都会选择针对所有接受的域传递邮件。有关详细信息,请参阅Using a connector with a transport ruleDecide whether you want to use transport rules or domain names to deliver mail from Office 365 to your email servers. Most businesses will choose to deliver mail for all accepted domains. For more information, see Using a connector with a transport rule.

备注

邮件流规则操作在 Exchange Online中所述,您可以设置传输规则。例如,您可能想要使用连接器使用传输规则,如果您的邮件当前指示通过多个站点的通讯组列表。You can set up transport rules as described in Mail flow rule actions in Exchange Online. For example, you might want to use transport rules with connectors if your mail is currently directed via distribution lists to multiple sites.

2. 设置从 Office 365 指向您的电子邮件服务器的连接器2. Set up a connector from Office 365 to your email server

若要在 Office 365 中创建连接器,单击" 管理",然后单击" Exchange"转到 Exchange 管理中心。然后,单击" 邮件流"和" 连接器"。To create a connector in Office 365, click Admin, and then click Exchange to go to the Exchange admin center. Next, click mail flow, and click connectors.

如果你的组织已有连接器,那么系统会在此处列出。If any connectors already exist for your organization, you can see them listed here.

Office 365 与电子邮件服务器之间的示例连接器

设置新连接器之前,检查已为您的组织在此处列出的任何连接器。例如,如果您运行 Exchange混合配置向导,将 Office 365 和 Exchange Server 之间的邮件传递的连接器将已设置和此处列出。您无需再次,设置,但您可以在此处编辑如果您需要它们。如果您不打算使用混合配置向导中,如果您在运行 Exchange Server 2007 或更早版本,或如果您运行的非 Microsoft SMTP 邮件服务器,则设置连接器使用向导。Before you set up a new connector, check any connectors that are already listed here for your organization. For example, if you ran the Exchange Hybrid Configuration wizard, connectors that deliver mail between Office 365 and Exchange Server will be set up already and listed here. You don't need to set them up again, but you can edit them here if you need to. If you don't plan to use the hybrid configuration wizard, or if you're running Exchange Server 2007 or earlier, or if you're running a non-Microsoft SMTP mail server, set up connectors using the wizard.

若要启动向导,请单击加号+。在第一个屏幕上,在以下屏幕截图中中选择所描述的选项:To start the wizard, click the plus symbol +. On the first screen, choose the options that are depicted in the following screenshot:

Office 365 到您的电子邮件服务器

单击下一步,然后按照向导中的说明。如果您需要的详细信息,请单击帮助了解更多链接。此向导将指导您完成安装。结束时,确保您的连接器验证。如果不验证连接器,双击该消息显示获取详细信息,并帮助解决问题,请参阅关于修复验证错误的连接器Click Next, and follow the instructions in the wizard. Click the Help or Learn More links if you need more information. The wizard will guide you through setup. At the end, make sure your connector validates. If the connector does not validate, double-click the message displayed to get more information, and see About fixing connector validation errors for help resolving issues.

3. 将 MX 记录更改为将邮件流从 Internet 重定向到 Office 3653. Change your MX record to redirect your mail flow from the Internet to Office 365

若要将电子邮件流重定向到 Office 365,请更改域的 MX(邮件交换)记录。有关如何执行此操作的说明,请参阅通过添加 MX 记录路由电子邮件To redirect email flow to Office 365, change the MX (mail exchange) record for your domain. For instructions on how to do this, see Add MX record to route email.

第 2 部分:将邮件配置为从您的电子邮件服务器传递到 Office 365Part 2: Configure mail to flow from your email server to Office 365

此部分包含以下两个步骤:There are two steps for this:

  1. 设置从您的电子邮件服务器指向 Office 365 的连接器。Set up a connector from your email server to Office 365.

  2. 将您的电子邮件服务器设置为通过 Office 365 将邮件中继到 Internet。Set up your email server to relay mail to the Internet via Office 365.

完成第 2 部分后,请按照结尾的说明检查您的配置能否正常运行。Once you have completed Part 2, see the instructions at the end to check that your configuration works.

1. 设置从您的电子邮件服务器指向 Office 365 的连接器1. Set up a connector from your email server to Office 365

为 Office 365 中创建的连接器,单击管理,单击Exchange,然后转到 Exchange 管理中心。接下来,单击邮件流,然后单击连接器。如果您的组织已存在任何连接器,您能看见它们此处列出。To create a connector in Office 365, click Admin, click Exchange, and then to go to the Exchange admin center. Next, click mail flow, and click connectors. If any connectors already exist for your organization, you can see them listed here.

若要启动向导,请单击加号+。在第一个屏幕上,在以下屏幕截图中中选择所描述的选项:To start the wizard, click the plus symbol +. On the first screen, choose the options that are depicted in the following screenshot:

选择从您组织的电子邮件服务器到 Office 365

单击下一步,然后按照向导中的说明。如果您需要的详细信息,请单击帮助了解更多链接。具体而言,请参阅标识电子邮件从您的电子邮件服务器配置证书或 IP 地址设置为该连接器的帮助。此向导将指导您完成安装。在结束时,将保存您的连接器。Click Next, and follow the instructions in the wizard. Click the Help or Learn More links if you need more information. In particular, see Identifying email from your email server for help configuring certificate or IP address settings for this connector. The wizard will guide you through setup. At the end, save your connector.

2. 将您的电子邮件服务器设置为通过 Office 365 将邮件中继到 Internet2. Set up your email server to relay mail to the Internet via Office 365

接下来,您必须准备将您的电子邮件服务器设置为将邮件发送到 Office 365。这样,邮件便能从您的电子邮件服务器通过 Office 365 传递到 Internet。Next, you must prepare your email server to send mail to Office 365. This enables mail flow from your email servers to the Internet via Office 365.

在 Exchange 服务器上,配置发送到 Office 365 智能主机通过电子邮件的发送连接器。有关如何执行此操作与 Exchange Server 的说明,请参阅Create 路由通过智能主机的出站电子邮件的发送连接器。有关如何执行此操作与 Exchange Server 2010 的说明,请参阅创建 SMTP 发送连接器On your Exchange server, configure a Send connector to send email via a smart host to Office 365. For instructions on how to do this with Exchange Server, see Create a Send connector to route outbound email through a smart host . For instructions on how to do this with Exchange Server 2010, see Create an SMTP Send Connector.

在 Exchange Server 中创建的发送连接器,请在 Exchange 命令行管理程序中使用以下语法。若要了解如何在本地 Exchange 组织中打开 Exchange Management Shell,请参阅打开命令行管理程序To create the Send connector in Exchange Server, use the following syntax in the Exchange Management Shell. To learn how to open the Exchange Management Shell in your on-premises Exchange organization, see Open the Shell.

New-SendConnector -Name <DescriptiveName> -AddressSpaces * -CloudServicesMailEnabled $true -Fqdn <CertificateHostNameValue> -RequireTLS $true -DNSRoutingEnabled $false -SmartHosts  <YourDomain>-com.mail.protection.outlook.com -TlsAuthLevel  CertificateValidation

本示例新建具有下列属性的发送连接器:This example creates a new Send Connector with the following properties:

  • 名称 我的指向 Office 365 的公司Name My company to Office 365

  • FQDN mail.contoso.comFQDN mail.contoso.com

  • SmartHosts contoso-com.mail.protection.outlook.comSmartHosts contoso-com.mail.protection.outlook.com

New-SendConnector -Name "My company to Office 365" -AddressSpaces * -CloudServicesMailEnabled $true -Fqdn mail.contoso.com -RequireTLS $true -DNSRoutingEnabled $false -SmartHosts  contoso-com.mail.protection.outlook.com -TlsAuthLevel  CertificateValidation

下面是示例PowerShell cmdlet 可帮助您在 Exchange 服务器中配置的发送连接器:Here is an example PowerShell cmdlet to help you configure the Send connector in Exchange Server:

New-SendConnector -Name "My company to Office 365" -AddressSpaces * -CloudServicesMailEnabled $true -Fqdn "cert domain name, such as mail.contoso.com" -RequireTLS $true -SmartHosts yourdomain-com.mail.protection.outlook.com -TlsAuthLevel CertificateValidation

我如何知道连接器会正确路由我的组织邮件?How do I know connectors will route my organization mail correctly?

如果您已正确完成上述所有步骤,那么现在您的所有邮件都会通过 Office 365 进行传递。If you have completed all of these steps correctly, all your mail will now be delivered via Office 365.

若要检查能否传递邮件,请执行以下操作:To check that this is working:

  1. 将一封电子邮件从您电子邮件服务器上的邮箱发送到 Internet 邮箱。Send email from a mailbox on your email server to an Internet mailbox.

  2. 将一封电子邮件从 Internet 邮箱发送到您电子邮件服务器上的邮箱。Send email from an Internet mailbox to a mailbox on your email server.

确保这两封电子邮件都能收到。Make sure both emails are received.

更改 Office 365 用于邮件流的连接器Change a connector that Office 365 is using for mail flow

若要更改连接器的设置,请选择您要编辑的连接器,然后选择下面屏幕截图中所示的编辑图标。To change settings for a connector, select the connector you want to edit and then select the edit icon as shown in the following screen shot.

显示已选择连接器和已突出显示编辑(铅笔)图标的屏幕快照。

连接器向导将打开,并且您可以更改现有的连接器设置。虽然您可以更改连接器设置,但是 Office 365 会继续将现有的连接器设置用于邮件流。当您将更改保存到该连接器时,Office 365 会开始使用新的设置。The connector wizard opens, and you can make changes to the existing connector settings. While you change the connector settings, Office 365 continues to use the existing connector settings for mail flow. When you save changes to the connector, Office 365 starts using the new settings.

如果我有多个适用于同一种情况的连接器,会发生什么情况?What happens when I have multiple connectors for the same scenario?

大多数客户不需要设置连接器。对于那些已设置的用户,通常每个单邮件流方向有一个连接器就足够了。你也可以针对单个邮件流方向(比如从 Office 365 到电子邮件服务器(也称为本地服务器))创建多个连接器。Most customers don't need to set up connectors. For those that do, one connector per single mail flow direction is usually enough. But you can also create multiple connectors for a single mail flow direction, such as from Office 365 to your email server (also called on-premises server).

当存在多个连接器时,解决邮件流问题的第一步是了解 Office 365 正在使用哪个连接器。Office 365 按以下顺序选择要应用到电子邮件的连接器:When there are multiple connectors, the first step to resolving mail flow issues is to know which connector Office 365 is using. Office 365 uses the following order to choose a connector to apply to an email:

  1. 使用完全匹配收件人的域的连接器。Use a connector that exactly matches the recipient domain.

  2. 使用适用于所有接受域的连接器。Use a connector that applies to all accepted domains.

  3. 使用通配符模式匹配。例如,*.contoso.com 将匹配 mail.contoso.com 和 sales.contoso.com。Use wildcard pattern matching. For example, *.contoso.com would match mail.contoso.com as well as sales.contoso.com.

Office 365 应用多个连接器的示例Example of how Office 365 applies multiple connectors

本示例中,您的组织有四个接受的域、 contoso.com、 sales.contoso.com、 fabrikam.com 和 contoso.onmicrosoft.com。您具有三个连接器配置从 Office 365 组织的电子邮件服务器。对于此示例,这些连接器称为连接器 1连接器 2连接器 3In this example, your organization has four accepted domains, contoso.com, sales.contoso.com, fabrikam.com, and contoso.onmicrosoft.com. You have three connectors configured from Office 365 to your organization's email server. For this example, these connectors are known as Connector 1, Connector 2, and Connector 3.

连接器 1 针对您组织中的所有接受域进行配置。下面的屏幕快照显示了连接器向导屏幕,您可以在其中定义连接器适用于哪些域。在这种情况下,所选的设置是 适用于发送到您组织的所有接受域的电子邮件Connector 1 is configured for all accepted domains in your organization. The following screen shot shows the connectors wizard screen where you define which domains the connector applies to. In this case, the setting chosen is For email messages sent to all accepted domains in your organization.

显示连接器向导页面:何时要使用此连接器?选中第二个选项。此选项是:针对发送到您组织中的所有接受域的电子邮件。

连接器 2 专为您的公司的 Contoso.com 域而设置。下面的屏幕快照显示了连接器向导屏幕,您可以在其中定义连接器适用于哪些域。在这种情况下,所选的设置是 仅当电子邮件发送到这些域时。对于 连接器 2 ,指定为您公司的 Contoso.com 域。Connector 2 is set up specifically for your company domain Contoso.com. The following screen shot shows the connectors wizard screen where you define which domains the connector applies to. In this case, the setting chosen is Only when email messages are sent to these domains. For Connector 2, your company domain Contoso.com is specified.

显示连接器向导页面:何时要使用此连接器?选中第三个选项。此选项是:仅当电子邮件发送到这些域时。已添加 Contoso.com 域。

连接器 3 也通过使用选项 仅当电子邮件发送到这些域时进行设置。但是,连接器并不使用特定域 Contoso.com,而是使用通配符:*.Contoso.com,如下面的屏幕中所示。Connector 3 is also set up by using the option Only when email messages are sent to these domains. But, instead of the specific domain Contoso.com, the connector uses a wildcard: *.Contoso.com as shown in the following screen shot.

显示连接器向导页面:何时要使用此连接器?选中第三个选项。此选项是:仅当电子邮件发送到这些域时。指定的域包含通配符。添加了 *.contoso.com。

对于每封从 Office 365 发送到您电子邮件服务器上的邮箱中的电子邮件,Office 365 会尽可能选择特定类型的连接器。对于发送至以下邮箱中的电子邮件:For each email sent from Office 365 to mailboxes on your email server, Office 365 selects the most specific connector possible. For email sent to:

  • john@fabrikam.com,Office 365 选择 连接器 1john@fabrikam.com, Office 365 selects Connector 1.

  • john@contoso.com,Office 365 选择 连接器 2john@contoso.com, Office 365 selects Connector 2.

  • john@sales.contoso.com,Office 365 选择 连接器 3john@sales.contoso.com, Office 365 selects Connector 3.

See alsoSee also

Configure mail flow using connectors in Office 365Configure mail flow using connectors in Office 365

Exchange Online 和 Office 365 邮件流最佳做法(概述)Mail flow best practices for Exchange Online and Office 365 (overview)

验证 Office 365 中的连接器Validate connectors in Office 365

将连接器设置为确保与合作伙伴组织之间实现安全的邮件流Set up connectors for secure mail flow with a partner organization