home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / perl / 5596 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.1 KB

  1. Path: sparky!uunet!sun-barr!news2me.ebay.sun.com!cronkite.Central.Sun.COM!texsun!exucom.exu.ericsson.se!news
  2. From: exubho@exu.ericsson.se (Blake Holman)
  3. Newsgroups: comp.lang.perl
  4. Subject: Sendmail rewriting rules in Perl?
  5. Message-ID: <1992Aug29.013216.2307@exu.ericsson.se>
  6. Date: 29 Aug 92 01:32:16 GMT
  7. Sender: news@exu.ericsson.se
  8. Reply-To: exubho@exu.ericsson.se (Blake Holman)
  9. Organization: Ericsson Network Systems, Inc., Richardson Texas
  10. Lines: 18
  11. Nntp-Posting-Host: scrum.exu.ericsson.se
  12.  
  13.  
  14. I would like to have a perl script use sendmail.cf as input and
  15. use the sendmail rewriting rules to tell me some information about
  16. the to and from entries in my syslog from sendmail.
  17.  
  18. Has anyone out there done anything like this?
  19.  
  20. Ideally, I would like to be able to pull out the to and from mail
  21. addresses, put them through the rewriting rules and determine if
  22. the mail would be sent within my domain or my root domain, or 
  23. whether the mail would be sent external to my companies root domain.
  24.  
  25. Many thanks in advance.
  26.  
  27. Blake Holman
  28. Ericsson Network Systems, Inc.
  29. Richardson, Texas
  30. (214) 997-6784
  31.