Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!m.cs.uiuc.edu!ibma0.cs.uiuc.edu!ux1.cso.uiuc.edu!uxc.cso.uiuc.edu!paul From: paul@uxc.cso.uiuc.edu (Paul Pomes - UofIllinois CSO) Newsgroups: comp.mail.sendmail Subject: Re: looking at macros Message-ID: <1991Mar22.053400.6278@ux1.cso.uiuc.edu> Date: 22 Mar 91 05:34:00 GMT References: Sender: usenet@ux1.cso.uiuc.edu (News) Reply-To: Paul-Pomes@uiuc.edu Distribution: comp Organization: University of Illinois at Urbana Lines: 23 kandall@sgitokyo.nsg.sgi.com (Michael Kandall) writes: >When debugging a sendmail.cf file, how can one display the >value of a macro? > >So if I have > > FS/etc/hosts %*[0-9] %[-_.a-zA-Z0-9] > >how can I see what S is really set to? If you're using the 5.65b version from UIUC/NIU, you can try -d37.2 to print the class members as they're set. Actually the current version misses the C members, but that's fixed in the next release (Gack, I sound like a vendor). More generally, run strings on the sendmail.fc file. Entries read from /etc/hosts are easy to spot. /pbp -- Paul Pomes UUCP: {att,iuvax,uunet}!uiucuxc!paul Internet, BITNET: paul@uxc.cso.uiuc.edu US Mail: UofIllinois, CSO, 1304 W Springfield Ave, Urbana, IL 61801-2910