home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / mail / sendmail / 2073 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  2.1 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!uakari.primate.wisc.edu!crdgw1!rdsunx.crd.ge.com!rdsunx!barnett
  2. From: barnett@grymoire.crd.ge.com (Bruce Barnett)
  3. Newsgroups: comp.mail.sendmail
  4. Subject: Re: Perl Package to test Sendmail.cf?
  5. Message-ID: <BARNETT.92Aug13120450@grymoire.crd.ge.com>
  6. Date: 13 Aug 92 17:04:50 GMT
  7. References: <1992Aug12.120807.3834@grebyn.com>
  8.     <1992Aug12.155740.17492@decuac.dec.com>
  9. Sender: usenet@crd.ge.com (Required for NNTP)
  10. Reply-To: barnett@crdgw1.ge.com
  11. Organization: GE Corp. R & D, Schenectady, NY
  12. Lines: 33
  13. In-Reply-To: avolio@dco.DEC.COM's message of 12 Aug 92 15:57:40 GMT
  14. Nntp-Posting-Host: grymoire.crd.ge.com
  15.  
  16. In article <1992Aug12.155740.17492@decuac.dec.com> avolio@dco.DEC.COM (Frederick M. Avolio) writes:
  17.  
  18. >   Why is this better or different than testing sendmail using sendmail?
  19.  
  20. If it's like the one I wrote and included in the Ease package, it is
  21. because it allows regression testing. I had 261 addresses with the
  22. associated ruleset in the input file. The output was in tbl(1) format
  23. and shows the input along with the output triplet (Address, Host,
  24. Mailer).
  25.  
  26. I used it to test major changes to rulesets, and see if any of the
  27. addresses that were working before the change broke because of the change.
  28.  
  29. Unfortunately, it called sendmail once for each rule/address
  30. combination, and it took a long time to go thru all of the addresses.
  31. I wanted to write a perl script that would start up sendmail once, and
  32. pump the address in, and snarf the results out. Never did....
  33.  
  34. I had so many addresses because I had decnet, uucp, appletalk, IBM
  35. RSCS, etc. mailers (many with broken configuration files), and I did
  36. my best to changed all outgoing return addresses to be domain-style
  37. with no "!", "%", or "::" characters in them.
  38.  
  39. I also tried to handle all sorts of bogus addressing modes people would try. 
  40. (e.g. a::b!c, a::a::b@c.com, D3::D4::u1!user@machine.decnet,
  41. D2::user%m1.decnet, "MRGATE::\"A1::SMITH JOE\""@somewhere.com)
  42.  
  43. It was character building.... :-)
  44.  
  45. The regression test is part of the Ease package which has been posted.
  46. I look forward to the perl version....
  47. --
  48. Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
  49.