Path: utzoo!attcan!uunet!nih-csl!lhc!adm!cmcl2!yale!umich!samsung!know!zaphod.mps.ohio-state.edu!mips!smsc.sony.com!dce From: dce@smsc.sony.com (David Elliott) Newsgroups: comp.mail.sendmail Subject: Re: $=m class Message-ID: <1990Sep27.154352.14639@smsc.sony.com> Date: 27 Sep 90 15:43:52 GMT References: <9629@ur-cc.UUCP> <1990Sep26.220824.19155@mp.cs.niu.edu> Sender: dce@smsc.sony.com (David Elliott) Reply-To: dce@smsc.sony.com (David Elliott) Organization: Strange Medium Guys With Bad Haircuts, Inc. Lines: 33 In article <1990Sep26.220824.19155@mp.cs.niu.edu>, rickert@mp.cs.niu.edu (Neil Rickert) writes: |> In article <9629@ur-cc.UUCP> Mark Sirota writes: |> >According to the SunOS 4.1 System & Network Administration manual, page 746, |> >the $=m class is a special class set to the domain name of this host. |> > |> >Well, pardon me if I'm wrong, but isn't the domain name a singular value? |> >Shouldn't it therefore be a macro, not a class? How is this class created, |> |> Since this seems to work on Sun's, I guess it is ok for it to be a class. |> Presumably Sun has installed some special purpose code in their versions of |> sendmail to handle this. Normally a class can only match a single token, |> so this must be specially handled. In other words it does not work like a |> normal class. Actually, sendmail sets both $w and $=w. This allows you to add other mail domains that you are known by to the w class. In the past, this has caused numerous problems with people who set their YP domain to something other than their mail domain. What happened was that both class and variable w would be set to your YP domain. If, as the instructions instructed you, you set variable w to your real mail domain, it didn't change class w, and this caused problems in ruleset 6, which used class w. I heard that Sun had changed something to fix this, but I don't recall whether it was ruleset 6 or the way $w and $=w are handled. -- ...David Elliott ...dce@smsc.sony.com | ...!{uunet,mips}!sonyusa!dce ...(408)944-4073 ...Krusty says: Give a hoot, read a book!