question

KumarGaurav-4347 avatar image
0 Votes"
KumarGaurav-4347 asked KyleXu-MSFT commented

Integrating Exchange server with kafka application for security analysis

When any user from the internet is posting mail to our mail server, ( for example, suppose I own contoso.com and I

am using office.outlook.com to connect to our mailbox).

When mail has been posted to contoso.com, I want to examine the mail before it reaches to end-user i.e. contoso.com.

Suppose I have an application called ContosoExaminerApp. Then my mail flow would be something like


Internet ---> ContosoExaminerApp(it can add some additional information or check for malicious mails) --> contoso.com(mail server/office 365)



As a part of conversation in below forum
https://answers.microsoft.com/en-us/outlook_com/forum/outlk_webbus-outtop_email/i-want-to-integrate-my-app-to-office-365-exchange/a1826cad-4d03-4ea4-a040-ad240d6447b5

It was mentioned that we might need to have our local mail server, but I have been asked to check in this forum for further help.

Could someone please help me, with below questions :-

  1. How can we integrate our kafka application to exchange server ?

  2. What will be the prerequisite for having such set up ?

  3. Also, can it further be integrated with office365 ?

office-exchange-server-administrationoffice-exchange-hybrid-itprooffice-exchange-server-itpro
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@KumarGaurav-4347

It was mentioned that we might need to have our local mail server

Where is your mailbox hosted? Is it a personal mailbox (Such as hotmail.com or gmail.com) or hosted on your personal mail server?

Yes, you could use some applications to filter emails for Exchange server. But if your mailbox doesn't host on Exchange server, your application will not be able to filter emails for your mailbox.

For Exchange on-premises, you just need to create a dedicated connector to send and receive emails from your application.

For Exchange online (Office 365), here is an article about it.

1 Vote 1 ·

@KyleXu-MSFT


We are using office 365 cloud that hosts all our mailboxes. As per spam filtering third party providers, they are asking to change the MX records to point their cloud. In this case, how can we build a solution using MX records based on mail filtering. 

It looks like, we need to write a service that would be receiving all the emails, and forwarding it to outlook 365. My question is, how can we implement such service ?

0 Votes 0 ·
KyleXu-MSFT avatar image KyleXu-MSFT KumarGaurav-4347 ·

If so, you could follow the Scenario 1 in above article.

You need to point MX record to the third-party providers.

Then create connector on the third-party tool to send emails to your Exchange online. (About this one, you could confirm with your third party provider) Exchange online could receive email from the Internet by default.

0 Votes 0 ·
Show more comments

0 Answers