Scenario
If you use Exclaimer Cloud in a hybrid environment with centralized mail flow, you may find that emails do not route as expected, and either of the following scenarios occurs:
- Emails route out to the internet instead of using the hybrid connector after being routed back from Exclaimer Cloud.
- Emails do not route to Exclaimer Cloud to have signatures applied; instead, they are routed to On-Premises.
Resolution
WARNING! This solution assumes that you have already configured the Exclaimer Cloud rule and connectors. If not, please re-run the connector setup from within the Exclaimer Cloud portal.
To complete the setup described below, you will need:
Office 365 Global Administrator credentials
Office 365 Global Administrator credentials
Currently, the hybrid send connector is set to apply to all messages at the connector level, and commonly appears similar to the following connector:
The objective of this solution is to modify the connector set up so that it uses a Transport Rule with a lower priority than the Exclaimer Transport Rule, therefore, ensuring that signatures are applied before messages are routed On-Premises.
Please follow the steps below to reconfigure the hybrid send connector:
We recommend: As there may be downtime during the change - make this change out of hours where possible.
Step 1: Reconfigure the hybrid send connector
- Sign in to the Exchange Online admin portal (https://admin.exchange.microsoft.com) as an Administrator.
The Exchange admin center is displayed. - From the left-hand navigation menu, select mail flow, then connectors.
- Reconfigure the hybrid send connector to apply Only when I have a transport rule set up that redirects messages to this connector.
Example: - Leave all other connector settings as they are and save the connector.
Step 2: Add a new mail flow rule
- In the admin center, under mail flow, select rules.
- Click Add a rule (+ plus button), then select Create a new rule.
- Give the rule a name - for example: Send on-premise.
Example:
Step 3: Configure the new mail flow rule
- In Apply this rule if, select The sender. In the adjacent box, select is external/internal. In The Sender is located, select InOrganization.
- Click Save.
This will ensure that all emails sent from your Microsoft 365 tenancy are routed through the connector.
Example:
Now, add an action that states Redirect messages to the following connector and select your Hybrid Send Connector. - In Do the following, select Redirect the messages to. In the adjacent box, select the following connector. In select connector, select Select your hybrid connector.
- Click Save.
Example: - Click + to add an action.
- In Add, select Modify the message properties. In the adjacent box, select set a message header.
- Click Enter text and set the message header to something, like 'x-sentonpremise' and set Value to 'True'.
- Click Save.
Example:
Now, add an exception for 'A Message Header' that 'Matches these text patterns' and set that rule to also be for the text 'x-sentonpremise' and Value to 'True'. - In Except if, select The message headers.... In the adjacent box, select matches these text patterns.
- Click Enter text and set the message header to something, like 'x-sentonpremise' and set Value to 'True'.
- Click Save.
Example:
This combination of adding the header and setting it as an exception means that if the mail is returned to your Microsoft 365, it will not be redirected to the connector again, preventing mail loops. - Click Next to set the settings for the new transport rule.
- As required, fill in the options and click Next.
- Review and finish creating the new transport rule.
By default, it is turned off until you turn it on from the Rules page. - You will see the new transport rule in the rules list with a priority of 2. The Exclaimer rule called Identify messages to send to Exclaimer Cloud has moved to a priority of 1.
Your Microsoft 365 set up is now complete.
NOTE: Please allow up to one hour for mail flow changes to replicate in Office 365.
Step 4: Add your .onmicrosoft address to the Exclaimer portal
NOTE: The options within this section are not available in the new UI for this release.
The final step of this process is to return to the Exclaimer Cloud portal to ensure that emails are routed to Microsoft 365 once the signature has been applied:
- Log in to your Exclaimer portal.
- Select Launch for your subscription.
- Select Settings in the Cloud portal.
- Select Mail Flow.
- From the Mail routing mode drop-down list, select Static Domain.
- In Domain name, enter your .onmicrosoft address (listed in your Microsoft 365 tenancy under Domain Name).
Example: - Click Save to save the changes.
Your setup is now complete.
NOTE: If you experience any problems during the setup process, please let us know or raise a support ticket.
During the setup process, you can also ask for help from a Support engineer, on the phone or via a remote session.
During the setup process, you can also ask for help from a Support engineer, on the phone or via a remote session.