New Office 365 IP Address Range!

We had an issue recently who had an Exchange 2010 Hybrid Configuration, were unable to send emails from mailboxes hosted in the cloud to internal On-Premise mailboxes.

The customer external firewall had been locked down so that SMTP port 25 would only accept mail from the below Office 365 IP addresses (Referenced from http://onlinehelp.microsoft.com/en-gb/office365-enterprises/hh373144.aspx)

So the customer added all these IP addresses to the firewall and the mail was still not being received from Office 365, so as a test the customer opened up the firewall to allow any IP on port 25. As soon as the customer did this all emails from office 365 mailboxes started to work.

Next thing we did was check the message headers from some of the mails received from Office 365.

It turned out that Office 365 was sending mail from the following IP range 213.199.154.0/24

You could also see the IP address in message tracking from the Exchange Servers also.

So after discovering the additional Office 365 IP addresses not referenced on http://onlinehelp.microsoft.com/en-gb/office365-enterprises/hh373144.aspx , we asked the customer to lock down Port 25 again on the firewall, but this time add the additional IP address range we discovered.

After doing this, we then tested mail from Office 365 and the message was delivered successfully J

 

 

 

About the author