Creating a Receive Connector for Scanners/Firewall
Using the Exchange Admin Center
Log in to Exchange Admin Center
Click on Mail Flow -> Receive Connectors and click on the plus sign
Enter a name, Choose the Frontend Transport Role and leave the type as Custom
Leave the Network Adapter Bindings as default
Change the Remote Network Settings to only the IP address of the device that needs to send email and click on Finish.
Edit the connector you just created and click on the security tab and make sure that Externally Secured is set for Authentication and the permission groups are Exchange Servers and Anonymous Users are checked in the permission groups.