Solved

Receive connector to only accept mail from Office 365

Posted on 2016-11-22
3
71 Views
Last Modified: 2017-01-17
Hello Experts,

I have a non-profit customer that I'm currently setting up a hybrid configuration for. We recently got them set up with a new server with Exchange 2016. They used Office 365 for their second location that is now combined with the first and on their local domain. During the first part of the migration I changed over their MX records to look directly at their external IP for a standard configuration, but the amount of spam they were getting was ridiculous.  So, last night I changed their MX record to look to Office 365 (they don't mind still paying their minuscule non-profit pricing for O365 just for the spam filtering) and configured the connectors on O365 to forward the mail onto the on-prem server. That all works fine, but they are still receiving a large amount of spam. I'm not seeing any of those messages being passed through O365, so i'm assuming it's all being sent to their outside IP address and the Exchange server is still delivering them. My question is how do I set up the receive connector so that it only accepts outside mail from O365. I've set up internal spam filters before where you just have it only accept mail from a single IP, but Microsoft has so many IPs, it doesn't look like I can do that. Any suggestions would be great!

Best,
Taylor
0
Comment
Question by:Taylor
3 Comments
 
LVL 19

Accepted Solution

by:
Peter Hutchison earned 350 total points
ID: 41899121
Yes, the only way to do it is to configure your receive connectors with a list of IPs.
addresses or IP address ranges on the network settings of the receive connector. Microsoft have published a complete list here:

Exchange Online Protection IP addresses:
https://technet.microsoft.com/en-us/library/dn163583(v=exchg.150).aspx
2
 
LVL 36

Assisted Solution

by:Jian An Lim
Jian An Lim earned 150 total points
ID: 41899864
OR logon to exchange online and run the following command

Get-HybridMailflowDatacenterIPs | select DatacenterIPs

then you can use this to put on your receive connector easily
1
 

Author Comment

by:Taylor
ID: 41899871
Great! Thanks guys. I'll give this a try and let you know. Sorry I didn't respond sooner Peter, I never received a notification for you comment.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Find out what you should include to make the best professional email signature for your organization.
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question