Often times you'll want an external application server to be able to relay external email through your Exchange server. For example, in my setup, my DNN servers hosted in my data center use the Exchange 2007 server on my local network as their SMTP server.
You obviously need to be careful about configuring your server to be an open relay. Configuring this correctly with Exchange 2007 is easy.
- Create a new Receive Connector
- Chose Custom as the intended use
- Specify your Local Network settings and FQND to respond to requests. The default setting to use all available IPv4 addresses for the local IP addresses is normally fine.
- ***This is the most important Step***. REMOVE the default entry of 0.0.0.0-255.255.255.255 in the Remote Network Settings. Failure to do this will result in your server being an Open Relay and you'll quickly find yourself blacklisted, and that's a huge can of worms you do not want to deal with.
- Add the IP address(es) of your Remote Server.
- After creating the Receive Connector, go to the Permission Groups tab. Check "Exchange Servers" only. Everything else should be unchecked.
- Click on the Authentication tab and click "Externally Secured". Everything else should be unchecked.
That's it- assuming your send connector is configured properly for external email, your application server will now be able to connect and relay external mail through your Exchange 2007 server.
Tom Hundley
Elegant Software Solutions