From owner-freebsd-questions Wed Oct 4 7:20:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f262.law4.hotmail.com [216.33.148.140]) by hub.freebsd.org (Postfix) with ESMTP id B367437B502 for ; Wed, 4 Oct 2000 07:20:27 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 4 Oct 2000 07:20:24 -0700 Received: from 24.234.122.152 by lw4fd.law4.hotmail.msn.com with HTTP; Wed, 04 Oct 2000 14:20:24 GMT X-Originating-IP: [24.234.122.152] From: "Chris Angell" To: keramida@ceid.upatras.gr, wjm@gate.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: VirtualUserTable Date: Wed, 04 Oct 2000 07:20:24 PDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 04 Oct 2000 14:20:24.0502 (UTC) FILETIME=[3C73DD60:01C02E0E] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To: William Melanson CC: Chris Angell , 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: User-Agent: Mutt/1.2.4i In-Reply-To: ; 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 > % 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 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