From owner-freebsd-questions Wed Jul 8 03:16:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA21932 for freebsd-questions-outgoing; Wed, 8 Jul 1998 03:16:26 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA21927 for ; Wed, 8 Jul 1998 03:16:24 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id DAA23571; Wed, 8 Jul 1998 03:16:22 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Wed, 8 Jul 1998 03:16:21 -0700 (PDT) From: Doug White To: Geoffrey Robinson cc: questions@FreeBSD.ORG Subject: Re: Email for Virtually Hosted Domains In-Reply-To: <35A25235.65749A09@globalserve.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 7 Jul 1998, Geoffrey Robinson wrote: > Here is my situation. I have to companies with registered domains (call > them dom1.com and dom2.com) that both share a co-located server running > FBSD 2.2.5 and sendmail 8.8.7 with one IP address. The domains are setup in > my ISP's name servers to send mail for both domains to my server. Dom1.com > is the main domain and dom2.com is virtually hosted. > > I put dom2.com in /etc/sendmail.cw so that mail addressed to me@dom1.com > and me@dom2.com go to my mailbox. The problem with this is that I want to > have mail addressed to say webmaster@dom1.com and webmaster@dom2.com go > into different mailboxes. I tried to follow the directions at > http://www.sendmail.org/virtual-hosting.html but can't make much sense of > it. > > Is there an easy way of doing this? Yes -- check out the virtuser and virtdomain tables; See www.sendmail.org for info. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message