Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2000 15:05:37 +0300
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
Message-ID:  <20001004150537.B27898@hades.hell.gr>
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
References:  <F162xaW1GA8rUa4nTNL000091dd@hotmail.com> <Pine.A41.4.21.0010031021010.514670-100000@tiwa.gate.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 >


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?20001004150537.B27898>