Recently a few users had the following bounce backs from Office 365 to an On-Prem Mailserver with the error
‘550 5.4.316 Message expired, connection refused(Socket error code 10061)
Checking the logs in 365 of this, this was due to the Fortigate adding some 365 SMTP servers to the IPS Quantarine List
Removing these servers from the Quarantine and also removing IPS checking in the Policy of 365 servers to on-prem via SMTP resolved this