Articles on: Exchange

How to Configure Exchange Online Protection on Exchange On-Premise server

**How to Set EOP on Exchange On-Premise server**



Login to Office365 portal(portal.office.com):![](https://storage.crisp.chat/users/helpdesk/website/acd22fe2c8d3a000/0c7141ba-2743-478d-a34a-b41103_1jp2jqd.png)
Click on Admin centers and Exchange online:![](https://storage.crisp.chat/users/helpdesk/website/5ddffe5ac46bfc00/67151a3b-e546-4d3a-bd1d-d57d41_r94etl.png)
Click on “mail flow” button then go to connectors then click on + button:![](https://storage.crisp.chat/users/helpdesk/website/d6a7e71cbb16a000/cad39af4-8051-47d4-b294-ce2f6c_1d5aqse.png)
In From select “Office365” and in to “Your Organization’s email server”:![](https://storage.crisp.chat/users/helpdesk/website/29461f3562cdf200/05143da7-701f-4415-b894-f8bee5_gmy6fz.png)
Put the N*ame** for the connector:![](https://storage.crisp.chat/users/helpdesk/website/aaa24330b7756000/2c767897-925c-4722-914a-261d3f_5blyi7.png)
Now Select the M*iddle** option:![](https://storage.crisp.chat/users/helpdesk/website/93de04b8aca52800/7d151de2-2a80-4e29-bac3-4e0e66_6q1bh8.png)
In this page click on "*+"** button:![](https://storage.crisp.chat/users/helpdesk/website/ee8fa91422b80800/de9aa642-891a-41fd-8d37-3a1958_104xk1v.png)
Put the FQDN:![](https://storage.crisp.chat/users/helpdesk/website/d95e5f80ae588800/7aadca7c-aa95-4b5c-b923-15b511_ml4uan.png)
At this page select “Any digital certificate…….”:![](https://storage.crisp.chat/users/helpdesk/website/9686f0b4a35d2000/f33fb7c1-8747-4614-ad56-1bbb49_ei08b.png)
Click N*ext:![](https://storage.crisp.chat/users/helpdesk/website/c9704fff72d40800/9093d5ab-4027-4ab6-a08f-873544_11s8q02.png)**
Click on "*+"** button in this page:![](https://storage.crisp.chat/users/helpdesk/website/3875f45002cc8400/60975e41-ac4d-4b38-b9a5-61d2d5_xabd0w.png)
Put any email address for test:![](https://storage.crisp.chat/users/helpdesk/website/732ea6a15959f800/330d4538-12ea-48e6-b2ab-91eb50_mxbja0.png)
Now click on Validate button:![](https://storage.crisp.chat/users/helpdesk/website/fe0987841f2a9000/5e1f72af-9d2d-4f09-8803-066b9b_1cg3qbd.png)
Now click on S*ave** button:![](https://storage.crisp.chat/users/helpdesk/website/dbd2b1b5597e9000/70ac3c31-12c2-485c-996d-f91e3b_1k7kgsz.png)
Now again navigate to Office365 admin portal and click on S*etup---->Domain:![](https://storage.crisp.chat/users/helpdesk/website/acd68f87209d9000/11ebefdc-7862-4697-b656-f64e89_4gjw0l.png)**
Click on the D*efault** domain:![](https://storage.crisp.chat/users/helpdesk/website/3ad038ea15536c00/bb40f503-f1d4-472f-ab11-292d0f_ir4517.png)
Obtain the MX Record and put this in Domain Hosting Website(for example godaday.com):![](https://storage.crisp.chat/users/helpdesk/website/d0e6d5003ddaa000/764eaaa4-0854-45c7-9d4e-e4941f_xbdg96.png)
Now again go to Exchange Online and in Connectors add new in from field select*” Your Organization’s email server”** and in to “Office365”:![](https://storage.crisp.chat/users/helpdesk/website/a5aba710104a4800/89c33477-564d-4cb4-a07f-ced82d_1hadnp8.png)
Put the N*ame** for the connector:![](https://storage.crisp.chat/users/helpdesk/website/ffb3bffabf58b000/db2f1555-7394-4ea0-bf89-764fce_1r8hyd0.png)
Put the Domain name here:![](https://storage.crisp.chat/users/helpdesk/website/3bfc53ec75aff800/7836bddc-83a0-4f3c-99b6-547496_nl2jmn.png)
Click on Save:![](https://storage.crisp.chat/users/helpdesk/website/4f7ed6ee845e1000/0f93e35d-b642-4963-aff0-5e6da6_s902d7.png)
Now navigate to your On-Premise Exchange server and go to Exchange Management shell:![](https://storage.crisp.chat/users/helpdesk/website/e3064aad1a120000/fe068a3b-ec5e-4aea-a298-e4a6a9_122jqcb.png)
Run the following Commands:
New-SendConnector -Name "*My company to Office 365**" -AddressSpaces * -CloudServicesMailEnabled $true -Fqdn mail.contoso.com -RequireTLS $true -DNSRoutingEnabled $false -SmartHosts  contoso-com.mail.protection.outlook.com -TlsAuthLevel  CertificateValidation

       #Put your details in Name"xyz" , FQDN"abc" and replace contoso with you domain

New-TransportRule "JunkContentFilteredMail" -HeaderContainsMessageHeader "X-Forefront-Antispam-Report" -HeaderContainsWords "SFV:SPM" -SetSCL 6

Updated on: 31/01/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!