Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 97 19:33:43 -0400
From:      jackson@msrce.howard.edu
To:        gatut@student.unpar.ac.id
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: To support 2k users.. 
Message-ID:  <9710212333.AA03390@negril.msrce.howard.edu>

next in thread | raw e-mail | index | archive | help
>On Mon, 20 Oct 1997, Tom wrote:
>> On Tue, 21 Oct 1997, chas wrote:
>> > 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 ?
>>   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
>
>
>A simple idea. Example:
>
>If you have dedicated server for receiving mail. Use this to be your
>@domain.com. For sendmail, edit your /etc/aliases like this:
>
>gatut:	gatut@student.unpar.ac.id
>chas:	tom@tm.net.my
>
>So, mail to gatut@domain.com will be forwarded to me, and mail to
>chas@domain.com to you.
>
>> Tom

An MX entry in the hosts.db file should be able to re-route incomming mail 
directed to any address or domain, of course the return address should be taken 
care of by the MTA.
for a host:
host			IN	A	xxx.xxx.xxx.xxx
			IN 	MX	10	firsthost
			IN	MX	100	backuphost
			IN	MX	110	secondbackup
		
So any mail directed to host.domain.com will first tried to be delivered to 
firsthost, if not, then to  backuphost and so on...  Or for a domain, after the 
SOA entry

@  (			a 
			bunch
			 of
			 SOA
			 junk)
			IN 	MX	10	firsthost
			IN	MX	100	backuphost
			IN	MX	110	secondbackup

Any mail to user@domain.com will first tried to be delivered to firsthost, if 
not, then to  backuphost and so on...


Aaron Jackson		jackson@msrce.howard.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9710212333.AA03390>