Date: Wed, 04 Oct 2000 07:20:24 PDT From: "Chris Angell" <chris62vw@hotmail.com> To: keramida@ceid.upatras.gr, wjm@gate.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: VirtualUserTable Message-ID: <F262qjj0aImPiZxOASW0000a232@hotmail.com>
next in thread | raw e-mail | index | archive | help
Actually, all I forgot is the makemap hash part. I used to work at an ISP that had a few FreeBSD machines. Otherwise I would probally be lost. Thanks for everything! Now I have to tackle sendmail. Chris Angell ----Original Message Follows---- From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: William Melanson <wjm@gate.net> CC: Chris Angell <chris62vw@hotmail.com>, freebsd-questions@FreeBSD.ORG Subject: Re: VirtualUserTable Date: Wed, 4 Oct 2000 15:05:37 +0300 MIME-Version: 1.0 Received: from [212.54.192.3] by hotmail.com (3.2) with ESMTP id MHotMailBBA467FB003340042A23D436C003B1320; Wed Oct 04 05:05:17 2000 Received: from hades.hell.gr (ppp3.patr.hellasnet.gr [212.54.197.18])by mail.hellasnet.gr (8.9.1/8.9.1) with ESMTP id LAA17353;Wed, 4 Oct 2000 11:05:53 -0200 (GMT) Received: (from charon@localhost)by hades.hell.gr (8.11.0/8.11.0) id e94C5b429926;Wed, 4 Oct 2000 15:05:37 +0300 (EEST) From keramida@ceid.upatras.gr Wed Oct 04 05:09:49 2000 Message-ID: <20001004150537.B27898@hades.hell.gr> References: <F162xaW1GA8rUa4nTNL000091dd@hotmail.com> <Pine.A41.4.21.0010031021010.514670-100000@tiwa.gate.net> User-Agent: Mutt/1.2.4i In-Reply-To: <Pine.A41.4.21.0010031021010.514670-100000@tiwa.gate.net>; from wjm@gate.net on Tue, Oct 03, 2000 at 10:26:20AM -0400 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html On Tue, Oct 03, 2000 at 10:26:20AM -0400, William Melanson wrote: > On Mon, 2 Oct 2000, Chris Angell wrote: > > % Date: Mon, 02 Oct 2000 18:24:54 PDT > % From: Chris Angell <chris62vw@hotmail.com> > % To: freebsd-questions@FreeBSD.ORG > % Subject: VirtualUserTable > % > % I have a FreeBSD machine that is on the Internet acting as a mail and www > % server (among other things). I want to host multiple domains. The only > % problem I have is not knowing how to make the email work. When I used to > % work at a small ISP, there was a /etc/virtualusertable that was updated, > % then hashed (?) to make a database of users. So there would be entries like > % this: > % > % webmaster@somesite.com root > % > > This is what I've done: > > 1. Within the directory /etc/mail create a file called "virtusrtable". Here it's called `virtusrtable'. > IMPORTANT: Within the virtualusertable file, field seperators must be the > tab key. Here it changes name to `virtualusertable'. > 3. Using the makemap command we convert the virtualusertable file to a > database format: > > % makemap hash /etc/mail/virusrtable < /etc/mail/virtusrtable Here it changes names twice in the same line. Called `virusrtable' first, and `virtusrtable' later. > This will create a /etc/mail/virtualusertable.db file. Yet another name change, this time to `virtualusertable'. Sorry if my posting seems a bit impolite, but following these instructions, the poor guy will *never* be able to get virtual domains straight. To the original poster: Please visit www.sendmail.org and follow the link "Virtual Hosting" that exists on their first page. The URL it links to is <http://www.sendmail.org/virtual-hosting.html> and you will find all the information you need about virtual hosting and sendmail there. Ciao. -- Giorgos Keramidas, < keramida @ ceid . upatras . gr > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F262qjj0aImPiZxOASW0000a232>