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

  1. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!darwin.sura.net!Sirius.dfn.de!zrz.tu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sun4nl!dutrun!dutiws!maas
  2. From: maas@dutiws.tudelft.nl (Frank Maas)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: Sendmail rewriting rules in Perl?
  5. Message-ID: <2038@dutiws.tudelft.nl>
  6. Date: 29 Aug 92 19:07:35 GMT
  7. References: <1992Aug29.013216.2307@exu.ericsson.se>
  8. Organization: Delft University of Technology
  9. Lines: 15
  10.  
  11. In article <1992Aug29.013216.2307@exu.ericsson.se> exubho@exu.ericsson.se (Blake Holman) writes:
  12. >
  13. >Ideally, I would like to be able to pull out the to and from mail
  14. >addresses, put them through the rewriting rules and determine if
  15. >the mail would be sent within my domain or my root domain, or 
  16. >whether the mail would be sent external to my companies root domain.
  17. >
  18.  
  19. Couldn't you use the -bt option of sendmail itself? You enter the endrule (nor-
  20. mally 0) and the address and see the rule determination and end-result.
  21.  
  22. Hope this helps,
  23.  
  24. Frank Maas (maas@dutiws.TWI.TUDelft.NL)
  25.  
  26.