Jump to content

Recommended Posts

Posted
So we have an on-premise exchange server that we use for enabling remote mail boxes and anonymous relay of smtp emails, so this affecting things like scan to email. This was all working perfectly fine until this Monday where we returned from the weekend and it has stopped functioning. Now as far as I can tell, nothing has changed and using wire shark and monitoring the queue viewer, I can see SMTP traffic come in and successfully be relayed out, I can then confirm that I can see this traffic leaving the firewall to the wider internet. I didn't set this up originally so I am picking up the pieces of people long gone who got contractors to set this up when we migrated to office 365. I checked the Microsoft documentation and everything seems to be set up correctly to work. Am I missing anything that will make this work? o365connector1.pngsmtprecconnector1.PNGsmtprecconnector2.PNGsmtprecconnector3.pngsmtpsendconnector1.PNGsmtpsendconnector2.pngsmtpsendconnector3.png
Posted

Your (I assume on prem) connector "outbound to office365 (for Anon relays)" is only going to be triggered to the desired recipient email domain is one of the two blacked out, one being the hybrid domain.. are you wanting to be able to email random addresses on theinternet or just people in your tennant?

 

On the 365 end, it has to know how to identify your server, either via certificate or source IP address, could either of those have changed. Also your SPF record must include the external IP address you appear from on the internet when sending from your mailserver

Posted

Hi,

 

thanks for all your suggestions... it turned out Microsoft had black listed us which we didn't know until we turned on the sendconnector logs... doh...

  • 6 months later...
Posted

Has anyone figured out how to avoid getting their IP constantly blacklisted by O365?

It seems to have taken a dislike to our SMTP relay even though the configuration is correct

Posted

I’m unsure, tbh - I’ll have to check the Sophos box. What I can tell you is it’s mainly scanned docs from photocopiers with the odd notification from other bits of software.

 

I would’ve thought that with the office365 connector configured with an accepted domain and IP address for security that it would accept any type of mail protocol traffic from that IP.

Posted
The issue is that a compromised account would be used to send mail out via SMTP by the shed load so MS have protection in place. Rightly so as it would soon get their IP's blacklisted if they did nothing about spurious traffic.
Posted

Given I'm assuming your volume is fairly low < 10000 day I dont think its any natural o365 limits

 

Have you

 

a) Assuming many reciepients are internal, added the sending IP address into your SPF record?

b) confirmed your sophos box isn't an open relay to the internet?

Posted
Given I'm assuming your volume is fairly low < 10000 day I dont think its any natural o365 limits

 

Have you

 

a) Assuming many reciepients are internal, added the sending IP address into your SPF record?

b) confirmed your sophos box isn't an open relay to the internet?

 

Cheers for the response.

I’ll certainly take a look at point A.

Can you expand on point B please?

Posted

Thanks guys for all your help. Turns out your recommendations were spot on. I/we carried out the following:

 

1. The sophos firewall rules were indeed allowing any internal clients to send externally on the any of the usual email ports so we locked it down to just allowing the relay.

 

2. We locked down the relay to accept messages only from specified IPs (photocopiers etc)

 

3. Our traffic used to route through the LAs network and so the IPs addresses in the SPF record belonged to them but that’s no longer the case so we have asked them to change the dns record to reflect the change in IP.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...