Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 1996 08:53:05 -0800
From:      Ulf Zimmermann <ulf@Lamb.net>
To:        "Eric J. Schwertfeger" <ejs@bfd.com>, Rohit Dube <rohit@cs.umd.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Sendmail question for Gurus
Message-ID:  <3.0.32.19961211085303.006ea834@Gatekeeper-3.Lamb.net>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19961211085303.006ea834>