Path: utzoo!attcan!uunet!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ames!amelia!amelia.nas.nasa.gov!davel From: davel@george.arc.nasa.gov (Dave Liebreich) Newsgroups: comp.mail.sendmail Subject: Re: LOCALDOMAIN and $w Message-ID: Date: 20 Jul 90 23:54:10 GMT References: <1990Jul20.203238.12791@maytag.waterloo.edu> Sender: news@amelia.nas.nasa.gov Organization: NASA Ames, Moffett Field, CA Lines: 34 In-reply-to: gamiddle@maytag.waterloo.edu's message of 20 Jul 90 20:32:38 GMT In article <1990Jul20.203238.12791@maytag.waterloo.edu> gamiddle@maytag.waterloo.edu (Guy Middleton) writes: We have two equivalent mail domains (waterloo.edu and uwaterloo.ca), but $w is only set to one of these by sendmail. If a user has LOCALDOMAIN set to the other one, local mail is bounced, because the match against $=w fails. $=w matches against the *class* w, which is set via Cwxxx yyy zzz in the .cf file. You are confusing this with the macro w, which is supposed to be the local hostname, set via Dwhostname in .cf. Do the following in your sendmail.cf file: Cwhost.waterloo.edu host.uwaterloo.ca and things should be ok. p.s. Please note that you can't do a Cw$w.waterloo.edu $w.uwaterloo.ca because sendmail 5.64 does not evaluate macros in class definition lines. -dave -- ========================================================================= Dave Liebreich davel@george.arc.nasa.gov Member Technical Staff (415) 604-4794 Sterling Software @ NASA Ames Research Center Mail Stop 233-15 Moffet Field, CA 94035 "The opinions expressed above are not necessarily those of my employer" doo dah doo dah