Overview
These instructions enable connections to EchoMark but no email will be routed through those connections until your domains are verified and activated has been completed as outlined in the main instructions: Configure Email Integration for Microsoft Exchange
1. Ensure you have correct privileges
Before starting, ensure that you are an Admin in your Exchange account and that you have an EchoMark Enterprise account with admin privileges. Both are required to complete the process.
2. Configure an Inbound Connector
- Navigate to the Exchange Admin center, and go to Mail flow > Connectors.
- From the Connectors page, press Add a connector.
-
In the New connector page, select
Your organization's email server and press
next.
-
Name the Connector EchoMark Inbound Connector,
and
ensure Turn it on and
Retain internal Exchange email headers are checked
before pressing next.
-
On the Authenticating sent email page, select the first
option and provide the domain name,
smtp.app.echomark.com. Then press
next.
- Under "Review connector", press Create connector.
The following script creates the Inbound Connector via the
Exchange Online PowerShell module.
You must have the ExchangeOnlineManagement module installed
and be signed in as an Exchange Admin.
1. Set up powershell variables and module
# Install if not present, and import
Install-Module ExchangeOnlineManagement -Scope CurrentUser -Force
Import-Module ExchangeOnlineManagement
# Authenticate to Exchange Online
Connect-ExchangeOnline `
-UserPrincipalName "myuser@mydomain.com" `
-ShowBanner:$false
2. Run the script
# Set variables
$smtpEndpoint = "smtp.app.echomark.com"
$inboundConnectorName = "Inbound from EchoMark"
New-InboundConnector -Name $inboundConnectorName `
-ConnectorType OnPremises `
-SenderDomains '*' `
-RequireTls $true `
-TlsSenderCertificateName $smtpEndpoint `
-CloudServicesMailEnabled $true
3. Configure an Outbound Connector
An Outbound Connector will allow email to be routed to EchoMark from your Exchange account, based on mail flow rules.
- Navigate to the Exchange Admin center, and go to Mail flow > Connectors.
-
Click Add a connector.
-
In the New connector section, choose Office 365
for the "Connection from" field and ensure "Connection to" is
set
to Your organization's email server. Then press
Next.
-
Name the Connector "EchoMark Outbound Connector." And ensure
Turn it on and
Retain internal Exchange email address headers
are
checked before pressing next.
-
Under Use of connector select
Only when I have a transport rule set up that redirects messages to this connector.
-
In Routing, enter smtp.app.echomark.com, press
the
add button (+).
-
Under Security restrictions, ensure
Always use Transport Layer Security is checked
before
pressing next.
-
Validate the outbound connector by typing any email address,
clicking the add (+) button, and then the
Validate button. Once validation succeeds, press
next.
- On the final "Review Connector" page, press Create Connector.
1. Run the script
# Connector name shown in the Exchange Admin center
$outboundConnectorName = "EchoMark Outbound Connector"
$smtpEndpoint = "smtp.app.echomark.com"
New-OutboundConnector -Name $outboundConnectorName `
-ConnectorType OnPremises `
-UseMXRecord $false `
-SmartHosts $smtpEndpoint `
-TlsSettings DomainValidation `
-TlsDomain $smtpEndpoint `
-CloudServicesMailEnabled $true `
-IsTransportRuleScoped $true
Note: The -IsTransportRuleScoped $true
parameter is the PowerShell equivalent of the Web UI's "Only when
I have
a transport rule set up that redirects messages to this connector"
option.
No mail will flow through this connector until a transport rule is configured.
4. Continue setup
Move on to the next step to complete the setup instructions: Configure Email Integration for Microsoft Exchange