From owner-freebsd-questions Wed Oct 4 5: 5:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.hellasnet.gr (mail.hellasnet.gr [212.54.192.3]) by hub.freebsd.org (Postfix) with ESMTP id 9D8F137B503 for ; Wed, 4 Oct 2000 05:05:15 -0700 (PDT) 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) Date: Wed, 4 Oct 2000 15:05:37 +0300 From: Giorgos Keramidas To: William Melanson Cc: Chris Angell , freebsd-questions@FreeBSD.ORG Subject: Re: VirtualUserTable Message-ID: <20001004150537.B27898@hades.hell.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message