Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!xylogics!world!spike From: spike@world.std.com (Joe Ilacqua) Newsgroups: comp.mail.sendmail Subject: Re: LOCALDOMAIN and $w Message-ID: Date: 24 Jul 90 17:48:37 GMT References: <1990Jul20.203238.12791@maytag.waterloo.edu> <1990Jul22.165315.25316@maytag.waterloo.edu> Sender: spike@world.std.com (Joe Ilacqua) Organization: Software Tool & Die Lines: 18 In-Reply-To: gamiddle@maytag.waterloo.edu's message of 22 Jul 90 16:53:15 GMT In article <1990Jul22.165315.25316@maytag.waterloo.edu> gamiddle@maytag.waterloo.edu (Guy Middleton) writes: >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 without having the host name in the file. If one is a CNAME of the other, you could do something like: R$+@$+ $:$1@$[$2$] Given a CNAME of your host this should return the same value as contained in $w (at least if the code is to be believed). ->Spike (Spike@World.STD.com) -- "The World" - Public Access Unix - +1 617-739-9753 24hrs {3,12,24}00bps