home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!wupost!cs.utexas.edu!sun-barr!rutgers!cmcl2!panix!alexis
- From: alexis@panix.com (Alexis Rosen)
- Newsgroups: comp.mail.sendmail
- Subject: Re: Removing msg body in IDA for postmaster
- Message-ID: <1992Sep2.074845.9955@panix.com>
- Date: 2 Sep 92 07:48:45 GMT
- References: <root.715272995@merlin>
- Organization: PANIX Public Access Unix, NYC
- Lines: 30
-
- peter@merlin.acadiau.ca (Peter Steele) writes:
- >A while back someone posted a script that could be used in IDA
- >sendmail for the POSTMASTERBOUNCE option that would remove the
- >message body, leaving only the headers. I archived it but have
- >only now gotten around to checking it out. Unfortunately I
- >can't find it. I must have deleted it during some house
- >cleaning. Does any one know the script I'm referring to?
-
- I've just started thinking about this myself. I haven't gotten to it yet
- but what I intend to do is make postmaster an alias to a script which does
- two things:
-
- 1) Save the mail to a file (see below)
- 2) Pipe it through a sed which chops it at the first blank line, then forwards
- it to postmaster.
-
- Of course, the postmaster address that sendmail knows about wouldn't be
- postmaster, but sm-pm or something like that. that's because humans also
- use the postmaster address occasionally. You don't want to chop their mail...
-
- As for why you keep a full copy: Sometimes the bounces you get are bounces
- of bounces. At that point, you want to open the real mail file, find the
- message, and pipe it through something that chops after the _second_ blank
- line...
-
- --
- Alexis Rosen Owner/Sysadmin,
- PANIX Public Access Unix & Internet, NYC.
- alexis@panix.com
- {uupsi,cmcl2}!panix!alexis
-