home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2842 < prev    next >
Encoding:
Internet Message Format  |  1991-02-24  |  2.1 KB

  1. From: barnett@grymoire.crd.ge.com (Bruce Barnett)
  2. Newsgroups: alt.sources
  3. Subject: Ease 3.0 - A High Level Language for sendmail.cf files
  4. Message-ID: <BARNETT.91Feb23020946@grymoire.crd.ge.com>
  5. Date: 23 Feb 91 07:09:46 GMT
  6.  
  7. This is the first official release of Ease 3.0, the high level language for
  8. sendmail. 
  9.  
  10. This version is radically different from the earlier version. 
  11. You can convert a SunOS, Ultrix, HP/UX, or IDA sendmail.cf file 
  12. into the Ease language, *without* editing the file. The Ease language
  13. can be converted back into the *identical* sendmail file. I make this
  14. claim because I compared the input and the output, and except for some
  15. cosmetic differences, the translation is perfect. I also include the
  16. script I used so you can perform the same test.
  17.  
  18. In the (I hope) rare case that the conversion isn't perfect, I have included 
  19. an escape hatch - the asm(".......") function, which can be used to
  20. insert a raw sendmail.cf line into the output file.
  21.  
  22. Why use ease? - Well, instead of
  23.  
  24.     R$*<@$%y.LOCAL>$*    $#ether$@$2$:$1<@$2>$3
  25.  
  26. you get:
  27.  
  28.      if ( zero_or_more <@ any_in_etc_hosts."LOCAL"> zero_or_more )
  29.         resolve (mailer (ether),
  30.                 host ($2 ),
  31.                 user ($1<@$2>$3));
  32.  
  33. If that's not enough, I have included a package I use to perform
  34. exhaustive testing of sendmail rules before I install a new version.
  35. I also included some tips on debugging sendmail files.
  36.  
  37. So you see, there is no longer a reason to complain about the awful
  38. syntax of sendmail anymore.... :-)
  39.  
  40. Some History:
  41.  
  42.     I did not write the original version of Ease or Cfc. However I
  43. made extensive modifications a year ago, and sent the changes to the
  44. authors. My changes were never posted, but I did distribute my patches
  45. to a dozen people. I now have permission from the authors to
  46. distribute this new version to the network.  So I fixed some more
  47. bugs, added support for HP/UX, and improved the support for the IDA
  48. sendmail rules. I must have fixed 150 bugs, and it wasn't even my
  49. code.
  50.  
  51. I hope you forgive me if you find an ugly bug with the code.
  52. Or if the Makefile gives you fits. Nevertheless, I feel my
  53. effort will be of use.
  54.  
  55. --
  56. Bruce G. Barnett    barnett@crd.ge.com    uunet!crdgw1!barnett
  57.