[comp.mail.misc] EASE version of SMAIL 2.3's template.cf file available

barnett@vdsvax.steinmetz.UUCP (Bruce G Barnett) (05/05/87)

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 this_host> 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 <tim@brspyr1.UUCP> (or <tim@brs.com> 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