Solved

IIS SMTP gateway

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
exchange 2010 shell commands 2 57
Spam invasion 8 92
Salesforce Campaign - 4,500 members 5 135
Groupwise 6.5 Webmail, POP3 and IMAP Problem for 1 User 18 112
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
The purpose of this video is to demonstrate how to set up Lists in Mailchimp. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchimp account. : Click on Lists. Click on Create List Button : Choose the desi…
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…

734 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