Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


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

Posted on 2004-10-21
Medium Priority
Last Modified: 2008-03-03
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.
Question by:garthjh
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 21

Accepted Solution

marc_nivens earned 1500 total points
ID: 12373389
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.  

Author Comment

ID: 12373688
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).
LVL 21

Expert Comment

ID: 12373709
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.  

Author Comment

ID: 12536863
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.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
This video discusses moving either the default database or any database to a new volume.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question