On Wed, 20 Dec 2000, Dean Staff wrote:

> I have 3 mail servers.
> Mail1 handles mail for several domains (it's running Sendmail under 
> RedHat 6.2)
> Mail3 handles all mail for my protus.com domain (Running e-smith 
> 4.0.1), has the domain name of mail.protus.com, and is a backup mail 
> handler for mail1. we have Multiple T1's mail for Mail1 comes down 
> one T1, if that link dies, it is routes to another T1 and is recieved 
> on Mail3. Mail3 then forwards all mail for Mail1 via the internal 
> network to Mail1.
> mail2 is supposed to be an SMTP box only (running E-smith 4.1b2) and 
> it's domain name is mail2.protus.com. I need any mail for 
> [EMAIL PROTECTED] to be forwarded to Mail3, but it tries to deliver the 
> mail locally to mail2.

I believe that you should be using the delegated mail server feature on
mail2. Just fill in the appropriate box in the manager with mail3's IP
address, and you'll get no more local deliveries, just SMTP forwards to
that address.

If you had wanted to have a mix of local deliver (for some domains), and
SMTP forwarding (for some other domains), you'd need custom template
fragments for obtuse-smtpd-check_rules and rcpthosts (so that both
handlers accepted mail for the extra domains) and a custom template
fragment for smtproutes (to get those domains forwarded).

[Just in case you wanted further illustration of just how flexible the
e-smith architecture is :-)]

-- 

  Charlie Brady                         [EMAIL PROTECTED]
  http://www.e-smith.org (development)  http://www.e-smith.com (corporate)
  Phone: +1 (613) 368 4376 or 564 8000  Fax: +1 (613) 564 7739
  e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada


Reply via email to