Path: utzoo!attcan!uunet!cs.utexas.edu!mailrus!iuvax!maytag!gamiddle From: gamiddle@maytag.waterloo.edu (Guy Middleton) Newsgroups: comp.mail.sendmail Subject: Re: LOCALDOMAIN and $w Message-ID: <1990Jul22.165315.25316@maytag.waterloo.edu> Date: 22 Jul 90 16:53:15 GMT References: <1990Jul20.203238.12791@maytag.waterloo.edu> Organization: University of Waterloo Software Commando Squad Lines: 16 In article davel@george.arc.nasa.gov (Dave Liebreich) writes: > $=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. Yes, I do know all this, and it's not what I want. The whole point of $w and $=w is that I don't have to explictly assign the host name in the .cf file; it should be done automatically. We use the same sendmail.cf on several dozen machines. I need to have some way of assigning both domain names without having the host name in the file.