From owner-freebsd-hackers Wed Dec 11 08:04:04 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id IAA18494 for hackers-outgoing; Wed, 11 Dec 1996 08:04:04 -0800 (PST) Received: from horst.bfd.com (horst.bfd.com [204.160.242.10]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id IAA18456 for ; Wed, 11 Dec 1996 08:04:01 -0800 (PST) Received: from harlie (bastion.bfd.com [204.160.242.2]) by horst.bfd.com (8.7.6/8.7.3) with SMTP id IAA15107; Wed, 11 Dec 1996 08:03:56 -0800 (PST) Date: Wed, 11 Dec 1996 08:03:56 -0800 (PST) From: "Eric J. Schwertfeger" X-Sender: ejs@harlie To: Rohit Dube cc: freebsd-hackers@freebsd.org Subject: Re: Sendmail question for Gurus In-Reply-To: <199612111533.KAA06210@seine.cs.umd.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 11 Dec 1996, Rohit Dube wrote: > I wanted sendmail on the machine to deliver mail for both > the domain names. What is the cleanest/easiest way to achieve > this? If the userlist is the same for both domains (ie webmaster@domain1.com is the same as webaster@domain2.com), then all you need do is add the new domain to /etc/sendmail.cw. If you need to be able to seperate out the two, then check out http://cybernut.com/guides/virtual.html (http://pandora.bfd.com/guides/virtual.html if that doesn't work). It has a cookbook solution to virtualizing sendmail far enough to let the same name at two different domains route to two different mailboxes, without needing a sendmail recompile (at least under 2.1.5 and later).