*BSD News Article 84049


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.sprintlink.net!news-peer.sprintlink.net!gail.ripco.com!dr
From: dr@ripco.com (David Richards)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.mail.misc
Subject: Re: hosting several domains for mail
Followup-To: comp.mail.misc
Date: 2 Dec 1996 06:57:40 GMT
Organization: Ripco Communications Inc.
Lines: 23
Message-ID: <57tul4$a71$1@gail.ripco.com>
References: <849473161.2116@dejanews.com>
NNTP-Posting-Host: rci.ripco.com
X-URL: http://pobox.com/~djb/qmail.html
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:31892 comp.mail.misc:32093

In article <849473161.2116@dejanews.com>,  <greg@lightningweb.com> wrote:
>I need mail to work for several domains on the same server.  Like, 
>bob@lightningweb.com and bob@cagle.com should go to nefertiti.lightningweb.com.  

The first thing to do is make sure the 'most preferred' (lowest number)
MX server in the DNS for each machine is nefertiti.lightningweb.com,
this will get the mail into the mail transport agent on nefertiti.

All mail servers (Smail,Sendmail,Qmail, etc) can support multiple domains.
I just hacked this feature into a sendmail (ugh) based Linux (ugh^2) system
by using /etc/maildomains and procmail, but I'm not proud of that...

The _best_ way I've found to do what you ask is to install the most recent
version of Qmail and read the FAQ file that comes with it- it makes
handling mail for many domains easy.

					QMAIL WEB SITE:
					http://pobox.com/~djb/qmail.html
--
David Richards                             Ripco, since Nineteen-Eighty-Three
My opinions are my own,                    Public Access in Chicago
But they are available for rental          Shell/SLIP/PPP/UUCP/ISDN/Leased
dr@ripco.com                               (312) 665-0065 !Free Usenet/E-Mail!