Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ptsfa!ihnp4!chinet!steinmetz!vdsvax!barnett From: barnett@vdsvax.steinmetz.UUCP (Bruce G Barnett) Newsgroups: comp.mail.misc Subject: EASE version of SMAIL 2.3's template.cf file available Message-ID: <1401@vdsvax.steinmetz.UUCP> Date: Tue, 5-May-87 12:18:45 EDT Article-I.D.: vdsvax.1401 Posted: Tue May 5 12:18:45 1987 Date-Received: Sun, 10-May-87 09:34:21 EDT Reply-To: barnett@ge-crd.arpa (Bruce G Barnett) Distribution: world Organization: General Electric CRD, Schenectady, NY Lines: 59 I have some questions regarding EASE - the high level language for sendmail configuration files. First of all, I have converted the template.cf file in Smail 2.3 into EASE format. I find the following much more readable: -------------Begin Sample------------------------------------------------- if ( anypath <@hostname.this_host.anotherdom> anypath ) retry ( $1<@$2>$3); /* host.thishost.anotherdom -> host.thishost */ if ( anypath <@hostname.anotherdom> anypath ) retry ( $1<@$2>$3); /* host.anotherdom */ if ( anypath <@hostname.this_host.mockdom> anypath ) retry ( $1<@$2>$4); /* host.thishost.mockdom -> host.mockdom */ #ifdef GATEWAY if ( anypath anypath ) retry ( $1<$2>$3 ); /* this_host */ #endif /* etc. */ -------------End Sample------------------------------------------ I use the C pre-processor and a Makefile to handle modifications to the configuration file. I have also tried to document the configuration file the best I can with my limited knowledge. Yes, I will send you the file if you like. Send requests to barnett@ge-crd.arpa I am not a sendmail guru, so some of my comments might be wrong. But I did use sed and diff to guarantee that EASE was generating the proper output. So the results should be as good (or bad :-) as the template.cf that came with Smail 2.3. You can get EASE from the mod.sources archive. Tim Northrup (or if you can handle UUCP zones) sent me some patches to EASE to fix some portability problems. Well, I like ease because it provides an easier way to document and maintain custom sendmail configuration files. But sendmail is changing, and EASE needs to be modified. In particular: -> Sun has added some extensions to handle Yellow Pages. -> U. of Illinois has added some extensions for BIND and name servers. Has anyone added the new extensions of sendmail to EASE? Is Anyone else using EASE? -- Bruce G. Barnett barnett@ge-crd.arpa, barnett@steinmetz.uucp ...!{chinet,rochester}!steinmetz!barnett