The wizard
Connectors are created in the EAC under Mail flow > Connectors > + Add a connector. The wizard pairs Connection from with Connection to:
- Office 365 to Your organization's email server (outbound). Name it, choose its use (all accepted domains, only some domains, or only when a mail flow rule redirects to it), enter the smart host FQDN or IP under Routing, set the security restrictions, add a validation address and select Validate. Outbound connectors must pass validation.
- Your organization's email server to Office 365 (inbound). Identify the server by the subject name on its certificate (recommended) or by its sending IP address.
- A partner organization, for another company.
In PowerShell these are the inbound and outbound connector cmdlets, such as Set-InboundConnector. If the Hybrid Configuration Wizard has run, its connectors already exist: edit them, do not recreate them.
TLS
The Security restrictions step offers Always use Transport Layer Security (recommended), then connect only if the certificate is Issued by a trusted certificate authority, optionally with subject name or SAN matches this domain name. TLS alone encrypts without checking who the certificate belongs to. The validation email tests a connector; it is not a restriction.
Prerequisites on-premises: a CA-signed certificate, port 25 open to the Microsoft 365 IP ranges, and, to relay to the internet through Microsoft 365, a certificate whose subject matches an accepted domain or every sender domain added as an accepted domain.
How a connector is chosen
When several outbound connectors could match: exact recipient domain first, then the connector for all accepted domains, then a wildcard such as *.contoso.com. Creation date plays no part.
Centralized mail transport
Hybrid mail is forced TLS and treated as internal. Centralized mail transport sends all mail from Exchange Online senders through on-premises before the internet. Microsoft recommends it only for specific compliance-related transport needs, because it adds bandwidth and processing. Do not put third-party SMTP hosts between Microsoft 365 and the hybrid endpoint.