Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!wuarchive!zaphod.mps.ohio-state.edu!uwm.edu!linac!mp.cs.niu.edu!rickert From: rickert@mp.cs.niu.edu (Neil Rickert) Newsgroups: comp.mail.sendmail Subject: Re: frozen $s in 5.65 + ida-1.4.2 Message-ID: <1991Feb26.161836.11415@mp.cs.niu.edu> Date: 26 Feb 91 16:18:36 GMT References: <1991Feb25.090701.25065@wsrcc.com> <1991Feb25.142401.735@mp.cs.niu.edu> <1991Feb26.153340.2167@wsrcc.com> Organization: Northern Illinois University Lines: 26 In article <1991Feb26.153340.2167@wsrcc.com> wolfgang@wsrcc.com (Wolfgang S. Rupprecht) writes: >>>I am having problems with using $s in ruleset S0. It is failing only >>>*only* if sendmail is run from a frozen config file. It appears that >rickert@mp.cs.niu.edu (Neil Rickert) writes: >> "That's not a bug, that's a feature." > >*sigh* I guess my posting wasn't clear enough. The frozen value of $s The problem appears to be a confusion about the '$x' macros in sendmail.cf. The macros that appear in the rulesets are always expanded when the rulesets are initially read from 'sendmail.cf'. They should be treated more as preprocessor constants than as variables. The macros in header and mailer definitions, however, are expanded when as needed, so the values there can change. In spite of the suggestion in the subject line, this SHOULD NOT cause problems with the distributed IDA-1.4.x rulesets, for they make use of the IDA extension $&x (for example $&s is used in ruleset 8) which is evaluated at runtime. -- =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Neil W. Rickert, Computer Science Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940