Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

IIS SMTP gateway

Posted on 2003-11-13
5
Medium Priority
?
633 Views
Last Modified: 2006-11-17
For a number of reasons I'm looking at setting up a IIS box as an SMTP relay before the mail server. Like the setup below:

Internet
      |
IIS SMTP
      |
mail server

An important point to note is that this SMTP relay must be able to relay in both directions. That is all email that travels between the internet and the mailserver must travel though the gateway.

I am pretty certain that this can be done, but I'm having some difficulties conceptualising how it is done. I can understand how the IIS server could be configured to relay all mail going in one direction, but not both. Talking through it (as I understand it):
Inbound - easy. relay all mail to the mail server by setting the smart host to the mail server for the default domain.
Outbound - easy. Set the mail server to relay to the IIS box (set IIS to allow relay from the mailserver's IP addr) and let the IIS box handle delivery.
Both: As I see it setting one stops the other from working.

A number of articles have pointed to this as a possibility, however none have gone through the process of setting up the box.

The mail server in question could be any one of a number of mail servers, so please, no suggestions that involve running something on the Exchange/Groupwise/Lotus server. This has to be able to run on a standalone box.

regards
David Cameron
0
Comment
Question by:David_Cameron
  • 3
  • 2
5 Comments
 
LVL 24

Accepted Solution

by:
David Wilhoit earned 800 total points
ID: 9744845
http://support.microsoft.com/default.aspx?scid=kb;en-us;310336

You've probably seen this, but thought I'd lay it out here anyhow...another is this:
http://support.microsoft.com/default.aspx?scid=kb;en-us;293800


Configure the other servers to use your relay server as a smart host
Depending on the other applications or mailers that will use your relay server, you may have a option where you can specify a smart host or SMTP relay. With Exchange 2000, you would create an SMTP connector and specify the Windows 2000 Relay server in the Forward all mail through this connector to the following smart host box.

That's pretty much it. I'd configure spam filtering on my SMTP box as well, takes the load off the mail server, and reduces the security risks.

D
0
 
LVL 2

Author Comment

by:David_Cameron
ID: 9744948
Thanks very much for the help.

Let me see if I have this clear. I create a domain (eg davidcameron.com) which is the domain for the mail server. In that domain I set the smart host to the mail server. Then in Exchange I set it to relay all mail to the IIS box. So emails hitting the IIS box sent to *@davidcameron.com allways go to the mail server, all other emails go to wherever IIS can deliver them.

regards
David Cameron
0
 
LVL 24

Expert Comment

by:David Wilhoit
ID: 9745014
SMTP VS: Create new domain, remote. Give it a domain name, such as davidcameron.com. Allow mail for this domain to be relayed, forward to smart host, [xx.xx.xx.xx] format.

Exchange 2000/2003: Create SMTP connector. Configure the bridgehead server, use the default SMTP VS located on the Exchange server, forward all outbound mail to the Windows 2000/2003 SMTP server, as configured above. It's actually very straight-up..
d
0
 
LVL 2

Author Comment

by:David_Cameron
ID: 9745035
Many thanks for the help.

You are right, it is simple once you know how.

regards
David Cameron
0
 
LVL 24

Expert Comment

by:David Wilhoit
ID: 9745065
you're very welcome!

D
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

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

We aren’t perfect, just like everyone else.  Check out the email errors our community caught and learn the top errors every email marketer should avoid.
Take a look at these 6 Outlook Email management tools which can augment the working and performance of Microsoft Outlook to give you a more rewarding emailing experience.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

824 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