Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!tektronix!sequent!bills From: bills@sequent.UUCP (Bill Sears) Newsgroups: comp.sources.bugs Subject: Problem with Ease created sendmail.cf Keywords: ease, sendmail, sendmail.cf Message-ID: <11529@sequent.UUCP> Date: 22 Feb 89 04:36:16 GMT Reply-To: bills@sequent.UUCP (Bill Sears) Organization: Sequent Computer Systems, Inc Lines: 63 ***** I have compiled the Ease programs and have been running some tests on our sendmail.cf file and the sendmail.cf file that Ease created and have found some discrepancies. Here is the scenario: We have several machines here at work, call them sysmain, sys1, sys2, sys3, and sys4 The system sendmail.cf contains the following line: CSsys1 sys2 sys3 sys4 and the sysmain.ease file contains the section: class S = { sys1, sys2, sys3, sys4 }; which compiles into sendmail.cf as: CCsys1 sys2 sys3 sys4 Note: The system sysmain is not in this list. Note: The Ease program does not assign the same class identifier to a class as is specified in the Ease source file. This, I am assuming, is to get around the problem of referencing a class before it has been declared. (All of the following are executed on machine sys2) Using sendmail.cf to parse the address "bills at sysmain" yields ruleset 0 returns: "^U" "ether" "^V" "sysmain" "^W" "bills" "<" "@" "sysmain" ">" This is the correct parse. Parsing the same address with sysmain.cf (generated with Ease) incorrectly yields ruleset 0 returns: "^U" "local" "^W" "bills" "<" "@" "sysmain" ">" Changing all references of class 'C' to 'S' in sysmain.cf yields the desired ruleset 0 returns: "^U" "ether" "^V" "sysmain" "^W" "bills" "<" "@" "sysmain" ">" Basically what it boils down to is this: Apparently, sendmail places a special meaning upon class 'S' such that it understands more hosts than are explicitly declared in the class statement. What I'm wondering is: Should Ease treat class 'S' specially also? or Should sendmail not be treating class 'S' specially? or Should I add the system sysmain to my sysmain.ease source file and hope that there aren't any other hosts which are missing? and Are there any other class identifiers that sendmail places special meaning upon that Ease does not? I've tried to make this as clear as possible. If anyone can shed some light on what is actually happening I would appreciate it. Thanks in advance. sequent!bills