From owner-freebsd-isp Mon Oct 20 20:00:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA12078 for isp-outgoing; Mon, 20 Oct 1997 20:00:07 -0700 (PDT) (envelope-from owner-freebsd-isp) Received: from misery.sdf.com (misery.sdf.com [204.244.210.193]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id UAA12013 for ; Mon, 20 Oct 1997 20:00:00 -0700 (PDT) (envelope-from tom@sdf.com) Received: from tom by misery.sdf.com with smtp (Exim 1.73 #1) id 0xNUWU-00027n-00; Mon, 20 Oct 1997 19:58:22 -0700 Date: Mon, 20 Oct 1997 19:58:16 -0700 (PDT) From: Tom To: chas cc: Steve Hovey , freebsd-isp@freebsd.org Subject: Re: To support 2k users.. In-Reply-To: <3.0.32.19971021082813.00984e80@mail.tm.net.my> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 21 Oct 1997, chas wrote: > Sorry to trouble you, > > Just a simple question that has been intriguing me for > a while - if you have 5K users, on several boxes. > How do you make them all have the same email domain ? > userx@domain.com ? > > Not that I am faced with this situation but i've > been wondering how you do it without specifying > that box1 is dept1.domain.com > and box2 is dept2.domain.com > etc... You do header rewriting (or masquerading, depending on your MTA), to rewrite all e-mail to come from the common domain. For receiving mail, you keep a database of what host holds what mailbox, and keep the database synced between servers, then route it over to the correct server (if needed). Easy to do in Sendmail (and Exim, or Smail). I much prefer putting e-mail on a dedicated, closed server. Basically a server per task, rather than a bunch of servers all doing the same tasks. > ie. If you have your users split over 4 boxes, and all > with userx@domain.com, how do you route mail to the > correct box ? > > Apologies if I am overlooking something obvious, > > Chas Tom