Date: Wed, 7 Feb 1996 14:21:38 -0500 (EST) From: Bruce Bauman <boot@mosquito.com> To: freebsd-isp@freebsd.org Cc: boot@itchy.mosquito.com (Bruce Bauman) Subject: sendmail virtual domains... Message-ID: <199602071921.OAA03096@itchy.mosquito.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602071921.OAA03096>