• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1370
  • Last Modified:

Configure SMTP Virtual Server in DMZ to relay mail through internal Exchange server

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.
0
garthjh
Asked:
garthjh
  • 2
  • 2
1 Solution
 
marc_nivensCommented:
1.  You need to enable SMTP from webserver to Exchange.  Verify this by telnet on port 25 from webserver to Exchange.
2.  You only need to fill in smart host here, enter the IP of the Exchange server.
3.  Open Exchange system manager, drill down under the server/protocols/SMTP and get properties of the SMTP VS.  Go to the 2nd tab, click relay, and select only the list below and add the IP of the SMTP server.  
0
 
garthjhAuthor Commented:
Thanks for your quick reply.

Working on these suggestions, but for answer #2 the dialogue box for the advanced delivery options will not allow you to click 'ok' unless you specify something in the 'fully qualified domain box'.  What needs to go here?  The domain name through which I am sending the mail (xyz.com?) (the sender for the e-mails is ALWAYS a valid user in the xyz.com domain) or the mail server (mail.xyz.com?) or something else?  The SMTP Virtual server is in it's own workgroup so it really is not associated with the domain (xyz.com).
0
 
marc_nivensCommented:
In that case you can put anything you want in there.  Since other servers will not be relaying off of this server (just the application) it doesn't matter.  
0
 
garthjhAuthor Commented:
This issue is still unresolved, but it looks as though it is definitely our routing issue, which we'll need to fix.  Good suggestions from marc_nivens on items to check for.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now