Solved

IIS SMTP gateway

Posted on 2003-11-13
5
616 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
[X]
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
  • 3
  • 2
5 Comments
 
LVL 24

Accepted Solution

by:
David Wilhoit earned 200 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial will demonstrate the easy use of Gmail embedding images in your email so the recipient of your email can view them in context.
Suggested Courses

617 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