On Thu, 21 Dec 2000, Dean Staff wrote:

> On 20 Dec 2000, at 16:15, Charlie Brady wrote:
> 
> > 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.
> > 
> That just moves all traffic to another sever for processing, 
> regardless of the final destination.

No. I think you might be confusing the delegated mail server with the
SMTPSmartServer. The SMTPSmartServer feature says "don't try to distribute
non-local mail myself, forward it over there for that box to deal
with". The delegated mail server feature says "instead of delivering
mail that I know is for local domains myself hand it off to that box over
there for local delivery. For non-local domains, either distribute myself,
or hand if off to a different box for distribution." And I think that *is*
the feature that you want.

> > 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).
> 
> This is more of what I want to do. It doesn't matter where the mail 
> comes from, whether it's from the internet or from the local network, 
> I don't want mail2 to keep any mail locally. Even though this is 
> going to be an outbound box only, (no POP'ing allowed) I want it to 
> connect to the internet for deliver external mail, and to forward 
> locally anything for the other 2 mail servers. 
> 
> I've looked at the /var/spool/smtpd/etc/smtpd_check_rules and can't 
> see the portion of the file to edit to do the equivelant of q-mails 
> smtproutes. 

It doesn't do anything like that. It's only the receptionist for SMTP
inbound mail. It either rejects mail, or hands it on to qmail for further
processing.

> If I just want to stop the obtuse-smtpd and start qmail-smtpd every 
> time I reboot, which script should I edit? 

I'll let you work that out yourself, because it doesn't need to be
done. Your problem is sorting and delivery, not reception.

-- 

  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