I think you've got it. The Gateway setting changes the destination of the the mail outbound from the server on which its set. In this case, you want the Outer server to handling mail incoming from the outside world; the Inner server will handle mail distribution (POP3) and mail to be sent to the outside world.
 
That means that the outbound mail of the Outer server is actually the mail incoming to your server from the outside. And there are so many occurrences of "in" and "out" in these sentences that everything gets confusing.
 
Maybe a picture would help:
 
   -------------------                       ---------------------
   |  The Internet   | == Incoming mail ===> | Outer Server - MX |
   -------------------                       ---------------------
           ^                                         |
           |                                     Gateway
           ============ Outbound mail ========|      |
                                              |      V
   -------------------                      ----------------
   |  Users          | <-- Mail (POP3) ---- | Inner Server |
   -------------------                      ----------------
          |                                          ^
          ------------Outbound Mail -----------------|
 
The inner server handles local deliveries, of course. The Outer server has heavy filtering, antivirus, firewalls, etc. The inner one only needs lighter filtering (at least in our case).
 
Note that users can send their outbound mail to the Outer server (and you probably want to do that if they are outside of your control). In that case, all mail will then be forwarded to the inner server for ultimate delivery. But the inner server definitely needs "accept mail for" your particular domains, and should never, ever send anything to the Outer server (else you'll have a mail loop).
 
                        Randy.
 
 
     
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of David
Sent: Friday, November 12, 2004 1:38 PM
To: [email protected]
Subject: RE: Forwarding to a second server

Thanks Randy, this is very helpful.

 

However, I am still perplexed about the SMTP Gateway Host and my original question looks a bit confusing.

 

Maybe I am reading it wrongly but the Help File explanation says it is used when a “company stipulates that all outgoing mail must go through a gateway.

 

But our scenario is for incoming mail from a gateway (outer IMS) to the “real” Inner IMS. How do you stop the Outer acting as the “real” server? Is it sufficient just to put the Inner IMS address in the SMTP Gateway Host of the outer or is there something else I need to do?

 

I assume that clients will name the Inner IMS server as their SMTP and POP3 servers but the MX record will show the address of the Outer Server

 

At least I am less confused now

 

David

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Randy Brukardt
Sent:
12 November 2004 18:15
To: [email protected]
Subject: RE: Forwarding to a second server

 

I am about to go down this route and would like some clarification.

Does the "Outer" IMS  need both SMTP Receiver and Delivery while the "Inner" IMS needs Receiver, Delivery and POP3 services?

Yes. 

 

 The IMS help files say the following:

 

SMTP Gateway Host

You can specify the host name (or the IP address) of an SMTP server to which all non-local mail will be sent. This may be useful if for instance you are using IMS within a company which stipulates that all outside mail must go through a company-wide mail gateway. Default: no gateway.

This confuses me as it appears to apply only to outgoing mail, not incoming.  But Randy is suggesting that it can also be used for incoming mail. 

 

No, I didn't say that (or at least I didn't intend to).

 
So you add the Inner IMS server address to the SMTP Gateway host of the Outer IMS server.  This will forward all incoming mail from Outer to Inner.
 

 

Correct.

 

But what if you want pass outgoing mail through the same filters; i.e through Outer IMS ? How do you do configure the Client, Outer and Inner to do this?
 

You can't do that. I run a degraded set of Trash Finder filters in the inner system to catch obvious problems on outbound mail. But I don't try to do anti-virus filtering or the like - most virii directly do their own mailing anyway. And a full set of filters would quarantine too much outbound mail (it's much less likely to be bad, as we're a business, not an ISP).

 

Purely internal mail from [EMAIL PROTECTED] to [EMAIL PROTECTED] never gets filtered. Yes?? 

 

Well, it certainly goes through the plugins on the internal server. I use SCSMFilter and Trash Finder on both servers; TF has a different set of parameters on each.

I am  using Mike's SMTPRCV. should this be used on both Inner and Outer or what?
 

I only use it on the Outer, but there isn't any reason that it couldn't be used on the Inner. The Inner was my original mail server, and there wasn't any reason to change it (since it no longer accepts mail from the wild).

 
SMTPRCV  has an option on the General tab for Allow Relaying.  Should this option be selected instead of or as well as the SMTP gateway host on the IMS control panel? If so on which Inner or Outer?  
 

No.

 
Sorry if this is confused; but so am I!
 

Hope this helps.

 
David

Reply via email to