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