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

  1. Path: sparky!uunet!olivea!hal.com!decwrl!deccrl!news.crl.dec.com!rdg.dec.com!decvax.dec.com!usenet
  2. From: kaehler@zk3.dec.com (Todd Kaehler UEG)
  3. Newsgroups: comp.mail.sendmail
  4. Subject: Re: Perl Package to test Sendmail.cf?
  5. Message-ID: <1992Aug20.125857.22435@decvax.dec.com>
  6. Date: 20 Aug 92 12:58:57 GMT
  7. References: <1992Aug12.120807.3834@grebyn.com> <1992Aug12.155740.17492@decuac.dec.com> <1992Aug14.002450.2473@harker.com>
  8. Sender: usenet@decvax.dec.com (Usenet News System)
  9. Reply-To: kaehler@zk3.dec.com
  10. Organization: Digital Equipment Corporation
  11. Lines: 33
  12. Nntp-Posting-Host: tsuga.zk3.dec.com
  13.  
  14.  
  15. In article <1992Aug14.002450.2473@harker.com>, harker@harker.com (Robert Harker) writes:
  16. >
  17. >The perl script you are looking for is called "checksendmail" written by
  18. >Gene Kim & Rob Kolstad & Jeff Polk and is available via anonymous FTP
  19. >from boulder.colorado.edu in /pub/sendmail/checksendmail.shar (path name
  20. >might be wrong).
  21. >
  22. >check sendmail takes a list of addresses and first runs it through ruleset
  23. >zero to determine which mailer is chosen for each address and what host and
  24. >address gets passed to the specific mailer.  Then it passes all of the address
  25. >through ththe sender and recipient rule sets for each mailer.  It then
  26. >prints the results in a nice format.
  27. >
  28.  
  29. If anyone is interested I can make available a c program I use for
  30. checking addresses which is much like checksendmail with a few
  31. added features.
  32.  
  33. - Checks both envelope and header addresses.  You can specify that you
  34. want it to check the From: or To: header for a particular mailer.  
  35.  
  36. - You can specify the expected address.  This way I can setup a file
  37. with all the addresses I want to check and the expected results
  38. and I can have the program flag only the addresses/mailers/hosts
  39. which do not match the expected results.
  40.  
  41. I have test files with hundreds of addresses I need to test and
  42. this program will crank through them in less than a minute, only
  43. reporting errors. 
  44.  
  45. Send mail if interested.  It there is enough interest I will post it
  46. somewhere.  It is now working on ULTRIX and DEC OSF/1.
  47.