From owner-freebsd-isp Wed Feb 7 12:43:25 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA25533 for isp-outgoing; Wed, 7 Feb 1996 12:43:25 -0800 (PST) Received: from light.lightlink.com (homer@light.lightlink.com [205.232.34.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA25528 for ; Wed, 7 Feb 1996 12:43:22 -0800 (PST) Received: from lightlink.com (homer@localhost) by light.lightlink.com (8.6.12/8.6.12) id PAA16478; Wed, 7 Feb 1996 15:43:10 -0500 Date: Wed, 7 Feb 1996 15:43:09 -0500 (EST) From: "Homer W. Smith" To: Bruce Bauman cc: freebsd-isp@freebsd.org, Bruce Bauman Subject: Re: sendmail virtual domains... In-Reply-To: <199602071921.OAA03096@itchy.mosquito.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org Precedence: bulk hash or dbm is up to you and which you have, they do the same thing only differently. As for the rules, that too is up to you, mine do work for me. Homer ------------------------------------------------------------------------------ Homer Wilson Smith Art Matrix - Lightlink homer@lightlink.com Internet Access, Ithaca NY (607) 277-0959 info@lightlink.com http://www.lightlink.com On Wed, 7 Feb 1996, Bruce Bauman wrote: > I've seen various postings about sendmail virtual domains. Basically, I have three > DIFFERENT postings. All three say that Local Rule S98 needs to be rewritten. One > of the 3 suggests using LOCAL_RULE_0 in my *.mc file to accomplish this. OK so far. > However, the three sets of rules are not all identical: > > Set 1: (from homer@light.lightlink.com) > > LOCAL_RULE_O > R$+ < @ $+ . > $: $1 < @ $2 > . > R$+ < @ $+ > $* $: $(maildomains $1@$2 $: $1 < @ $2 > $3 $) > R$+ < @ $+ > $* $: $(maildomains $2 $: $1 < @ $2 > $3 $) > R$+ < @ $+ > . $: $1 < @ $2 . > > > Set 2: (from johan@josnet.se) > > Same as above, but doesn't mention using LOCAL_RULE_0 > > Set 3: (from chuck@bus.net) > > S98 > R$+< $+. > $1< $2 > > R$+< $+ > $: < > $(usermap $1$2 $) > R< > $+ @ $* $: < $1 > $(usermap * @ $2 $) > R< $+ > * $* $: < > $1 $2 > R < $+ > $+ $: < > $2 > R < > $* $: $>3 $1 > > Questions: > > 1) I assume that I want to use LOCAL_RULE_0 in my foobar.mc file, right? > 2) Which set of rules is correct (or are both sets correct)? > 3) One posting suggests using a dbm database, and the others suggest using > a hashed database (makemap dbm versus makemap hash). Which do I want? > > > > Sendmail makes my head hurt! > > Thanks in advance. > > -- Bruce >