Configure SMTP Virtual Server in DMZ to relay mail through internal Exchange server
Posted on 2004-10-21
Here is the scenario:
We have an ASP.Net Web application on a web server (IIS, Win 2003) in a DMZ that sends an e-mail to the localhost SMTP server (same machine) where the mail is supposed to be routed to our Exchange Server (2000) internally as a relay. Exchange should then handle all mail processing.
The application works fine and the messages are queued up in the local mailroot directory. They are then flagged undeliverable after the retry attempts fail due to the inability to contact the mail server.
My question(s) are as follows:
1. Do we need to enable SMTP traffic both ways between webserver and exchange server?
2. What entries do I need to enter in the advanced delivery options on the virtual smtp server for 'masquerade domain', 'fully-qualified domain name' and 'smart host'?
3. How do I configure the exchange server to accept and relay the SMTP mail?
While I can't provide too many details, the webserver is in it's own workgroup in it's own subdomain separate from the exchange server which is in a windows/active directory-type environment.
Any insight and advice is greatly appreciated.