From owner-freebsd-hackers Wed Dec 11 08:52:48 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id IAA21658 for hackers-outgoing; Wed, 11 Dec 1996 08:52:48 -0800 (PST) Received: from DNS.Lamb.net (root@DNS.Lamb.net [207.90.181.1]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id IAA21652 for ; Wed, 11 Dec 1996 08:52:46 -0800 (PST) Received: from PacBell.TelcoSucks.org (PacBell.TelcoSucks.org [207.90.181.5]) by DNS.Lamb.net (8.8.3/8.8.2) with SMTP id IAA01455; Wed, 11 Dec 1996 08:52:20 -0800 (PST) Message-Id: <3.0.32.19961211085303.006ea834@Gatekeeper-3.Lamb.net> X-Sender: ulf@Gatekeeper-3.Lamb.net X-Mailer: Windows Eudora Pro Version 3.0 Demo (32) Date: Wed, 11 Dec 1996 08:53:05 -0800 To: "Eric J. Schwertfeger" , Rohit Dube From: Ulf Zimmermann Subject: Re: Sendmail question for Gurus Cc: freebsd-hackers@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk At 08:03 AM 12/11/96 -0800, Eric J. Schwertfeger wrote: > > >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). Or just look at the function (m4 macro) virtusertable of sendmail 8.7.x and newer. I used hacked rules before, but I recently swichted to the virtusertable and it works better then before. Ulf. ----------------------------------------------------------- Alameda Networks, Inc. | Ulf Zimmermann (ulf@Alameda.net) 1525 Pacific Avenue | Phone: (510)769-2936 Alameda, CA 94501 | Fax : (510)521-5073