Solved

IIS SMTP gateway

Posted on 2003-11-13
5
591 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 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Gmail VBA 2 32
Avoiding Spam filters 6 60
Strange gmail-hosted email behaviour 10 53
Exchange 2016 SPAM Filtering 5 125
Today, security is a big concern in an organization to prevent sensitive data leakage. In Outlook you can secure your Outlook items (emails, calendars, contacts and other stuff) using various techniques like by marking item as private, or you can pu…
Are you using email marketing software? If not, you're missing out on effortless marketing and the reaching of desired conversion rates through email marketing software.
The purpose of this video is to demonstrate how to use PicMonkey software to customize images for a Mailchimp campaign. Picmonkey is free and simple online software which can be used by users who don’t have robust editing software such as Photoshop,…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now