Create these connectors in the Exchange admin center in Microsoft 365:
- Outbound connector
- Inbound connector
Step 1. Create outbound connector
To encrypt each email message sent by an Exchange Online (Microsoft 365) organization to an external mail server representing the partner domain name, it needs to fulfill the following requirements:
- The mail communication needs to be implemented using encrypted connection (TLS)
- The internal and external mail server must support TLS
- The internal mail server must identify itself using a trusted public certificate
To create an outbound connector in Exchange admin center, follow these steps:
- Sign in to Exchange admin center
- Click Mail flow > Connectors
- Click Add a connector

- Select Office 365
- Select Partner organization
- Click Next

- Type the inbound connector Name
- Select Turn it on
- Click Next

- Select Only when email messages are sent to these domains
- Type the domain (alitajran.com)
- Click on + to add it

- Select Use the MX record associated with the partner’s domain
- Click Next

- Select Always use Transport Layer Security (TLS) to secure the connection (recommended)
- Select Issued by a trusted certificate authority (CA)
- Select Add the subject name or subject alternative name (SAN) matches this domain name
- Fill in the partner domain
- Click Next
Important: You must select the Add the subject name or subject alternative name (SAN) matches this domain name. Type the domain name (mail.alitajran.com) that’s included in the certificate, or use a wildcard domain name (*.alitajran.com).

- Type the email address of your partner domain
- Click on + to add it
- Click Validate

- Check that the Validation successful message appears in green
- Click Next

- A test email for connector validation is sent to the email address you provided

- Click Create connector

- Click Done

- Check that the connector shows the status On

The outbound connector is added. In the next step, you will create an inbound connector.
Step 2. Create inbound connector
To encrypt each email message sent by an external mail server that represents the partner domain name to the Exchange Online (Microsoft 365) organization, it needs to fulfill the following requirements:
- The mail communication needs to be implemented using encrypted connection (TLS)
- The internal and external mail server must support TLS
- The external mail server must identify itself using a trusted public certificate
To create an inbound connector in Exchange admin center, follow these steps:
- Click Add a connector

- Select Partner organization
- Click Next

- Type the outbound connector Name
- Select Turn it on
- Click Next

- Select By verifying that the sender domain matches one of the following domains
- Type the sender domain
- Click on the + to add it
- Click Next

- Select Reject email messages if they aren’t sent over TLS
- Select And require that the subject name on the certificate that the partner uses to authenticate with Office 365 matches this domain name
- Fill in the partner domain
- Click Next
Important: You must select the And require that the subject name on the certificate that the partner uses to authenticate with Office 365 matches this domain name. Type the domain name (mail.alitajran.com) that’s included in the certificate, or use a wildcard domain name (*.alitajran.com)

- Click Create connector

- Click Done

- Check the inbound connector shows Status On

- Create a new email and send it from your partner organization to a mailbox in your domain

- The partner organization needs to open the mail
- Click File

- Click Info
- Select Properties

- Select the text and copy the message header

- Go to Message Header Analyzer
- Paste the message header
- Click Analyze headers

- Check the Type column and verify it shows TLS

That’s it!