home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!news2me.ebay.sun.com!cronkite.Central.Sun.COM!texsun!exucom.exu.ericsson.se!news
- From: exubho@exu.ericsson.se (Blake Holman)
- Newsgroups: comp.lang.perl
- Subject: Sendmail rewriting rules in Perl?
- Message-ID: <1992Aug29.013216.2307@exu.ericsson.se>
- Date: 29 Aug 92 01:32:16 GMT
- Sender: news@exu.ericsson.se
- Reply-To: exubho@exu.ericsson.se (Blake Holman)
- Organization: Ericsson Network Systems, Inc., Richardson Texas
- Lines: 18
- Nntp-Posting-Host: scrum.exu.ericsson.se
-
-
- I would like to have a perl script use sendmail.cf as input and
- use the sendmail rewriting rules to tell me some information about
- the to and from entries in my syslog from sendmail.
-
- Has anyone out there done anything like this?
-
- Ideally, I would like to be able to pull out the to and from mail
- addresses, put them through the rewriting rules and determine if
- the mail would be sent within my domain or my root domain, or
- whether the mail would be sent external to my companies root domain.
-
- Many thanks in advance.
-
- Blake Holman
- Ericsson Network Systems, Inc.
- Richardson, Texas
- (214) 997-6784
-