How do you set up a connector to relay mail through a third party Email Service Provider?

Ginny Lockwood 0 Reputation points
2023-09-22T14:33:30.59+00:00

How do you set up a connector to relay mail through a third party Email Service Provider? Requires AUTH LOGIN or CRAM-MD5 auth method and needs to enter a username and password that will be received by the ESP for authentication.

Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,292 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,229 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
544 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,626 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
532 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kael Yao-MSFT 37,646 Reputation points Microsoft Vendor
    2023-09-25T01:36:52.6466667+00:00

    Hi @Ginny Lockwood

    To relay emails from Exchange to ESP server, the general steps would be like:

    1.add the recipient domain of the ESP server (for example contoso.com) as an accepted domain (external relay domain) in Exchange

    For details please refer to this link: Accepted domains in Exchange Server

    2.create a receive connector to receive emails from allowed ip addresses to be relayed

    For details please refer to this link: Allow anonymous relay on Exchange servers

    (It is suggested to only add the allowed ip addresses to the Remote IP addresses to avoid your Exchange server becoming an open relay)

    3.create a send connector to send the emails to ESP server

    For how to create a send connector, please follow these steps:

    1.access Exchange Admin Center(https://<exchange FQDN>/ecp) and locate mail flow>send connectors

    2.create a new send connector named ESP and select Custom as type

    01

    3.select Route mail through smart hosts

    02

    add the ESP server's ip address or server name as smart host

    03

    4.select Basic authentication and Offer basic authentication only after starting TLS, enter the credentials for authentication

    04

    5.configure emails sent to which recipient domain would be sent to this ESP server (in the below example, emails sent to recipients in contoso.com would be sent to ESP server)

    05

    6.select Exchange server as the source server

    06

    7.finish creating the send connector


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.