If you’re an Exchange Online or Exchange Online Protection (EOP) subscriber and you have configured connectors, this post contains important information that might impact your organization. To make sure that your mail flow isn’t interrupted, we strongly recommend that you read this post and take any necessary action at your earliest convenience.
The change will impact you if one of the following scenarios apply to your organization:
- Your organization needs to send NDR (non-delivery report) messages to a recipient on the Internet and needs to relay them through Office 365.
- Your organization needs to send messages from your own email server (on-premises environment) from domains that your organization has not entered in Office 365 (see Add Domains in Office 365). For example, your organization Contoso needs to send email as the domain fabrikam.com, which doesn’t belong to your organization.
- There is a forwarding rule configured on your on-premises server, and messages need to relay through Office 365. For example, contoso.com is your organization’s domain, a user in your organization’s on-premises server, email@example.com, has enabled forwarding. All her messages go firstname.lastname@example.org. If email@example.com sends a message to firstname.lastname@example.org, the message gets automatically forwarded to email@example.com. From Office 365’s point of view, the message is sent from firstname.lastname@example.org to email@example.com. Because Kate’s mail is being forwarded, neither the sender domain nor the recipient domain belongs to your organization.
Beginning February 1, 2017, Office 365 will no longer by default support relaying messages for the scenarios described above. If your organization needs those scenarios to continue to work, you need to make sure that the following are all true:
- You have created a connector in Office 365 that instructs the service to use certificate to authenticate emails coming from your organization’s own email server (on-premises environment).
- Your own email server (on-premises environment) is configured to use the certificate to send email to Office 365.
- This certificate is CA signed and its certificate name (CN) or subject alternative name (SAN) contains a domain that you have entered in Office 365.
To do so, use the following instructions.
Create or Edit a certificate-based connector in Office 365
For Office 365 to relay messages to internet that match with the scenarios listed above, you need to follow the below steps.
- Sign in to Office 365 admin center, and go toAdmin> Exchange.
2. Go to mail flow> connectors, and do one of the following:
If there are no connectors, choose ’+’ (Add) to create a connector.
If a connector already exists, select the connector, and choose Edit to modify it.
- On theSelect your mail flow scenario page, chooseFrom: Your organization’s email server and To: Office 365. This creates a connector that indicates that your on-premises server is the sending source for your messages.
4. Enter connector name and other information, and then chooseNext.
5. On theNew connector or Edit connector page, choose the first option to use a TLS certificate to identify the sender source of your organization’s messages. The domain name in the option should match with the CN name or SAN in the certificate that you’re using. The domain you use needs to be a domain that belongs to your organization and you need to have added the domain to Office 365. For example, contoso.com belongs to your organization, and it’s part of CN name or SAN name in the certificate that your organization uses to communicate with Office 365.
Configure your on-premises environment
Use the following steps to prepare your on-premises servers to relay messages through Office 365:
- If your organization uses Exchange server for its on-premises server, you need to configure your server to send messages over TLS. To do this, follow Set up your email server to relay mail to the Internet via Office 365, which is part 2.2 of “Set up connectors to route mail between Office 365 and your own email servers.” If you have already used Hybrid Configuration Wizard, then continue to use it, but ensure to use a certificate that matches the criteria outlined in step 5 of the previous section.
- Install a certificate in your on-premises environment. For details, follow “Step 6: Configure an SSL certificate” of Configure mail flow and client access.
For more details about how to relay messages through Office 365, see the Setting up mail flow where some mailboxes are in Office 365 and some mailboxes are on your organization’s mail servers section of Mail flow best practices for Exchange Online and Office 365.