Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!nbires!hao!boulder!sunybcs!rutgers!labrea!jade!ucbvax!dual.UUCP!uucp From: uucp@dual.UUCP (UNIX-to-UNIX Copy) Newsgroups: comp.mail.elm Subject: Submission for comp-mail-elm Message-ID: <8709131611.AA05856@tccc0.TFS> Date: Sun, 13-Sep-87 12:11:35 EDT Article-I.D.: tccc0.8709131611.AA05856 Posted: Sun Sep 13 12:11:35 1987 Date-Received: Mon, 14-Sep-87 04:13:49 EDT Sender: uucp@ucbvax.BERKELEY.EDU Lines: 76 Path: teknek!dual!ptsfa!ames!sdcsvax!ucbvax!uclachem.UUCP!uucp From: uucp@uclachem.UUCP (Unix-to-Unix copy program) Newsgroups: comp.mail.elm Subject: Submission for comp-mail-elm Message-ID: <8709131036.AA05172@ucbvax.Berkeley.EDU> Date: 13 Sep 87 04:26:09 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 67 Path: uclachem!cepu!trwrb!scgvaxd!wlbr!jplgodo!mahendo!elroy!cit-vax!ucla-cs!zen!ucbvax!uclachem.UUCP!uucp From: uucp@uclachem.UUCP (Unix-to-Unix copy program) Newsgroups: comp.mail.elm Subject: Submission for comp-mail-elm Message-ID: <8709102147.AA11926@ucbvax.Berkeley.EDU> Date: 10 Sep 87 10:21:42 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 58 Path: uclachem!cepu!trwrb!sdcrdcf!oberon!cit-vax!ucla-cs!zen!ucbvax!dual.UUCP!uucp From: uucp@dual.UUCP (UNIX-to-UNIX Copy) Newsgroups: comp.mail.elm Subject: Submission for comp-mail-elm Message-ID: <8709070812.AA14724@crocodile.TFS> Date: 7 Sep 87 08:12:36 GMT Sender: usenet@ucbvax.BERKELEY.EDU Lines: 49 Path: teknek!dual!ptsfa!ames!aurora!labrea!decwrl!pyramid!hplabs!hplabsz!taylor From: taylor@hplabsz.HPL.HP.COM (Dave Taylor) Newsgroups: comp.mail.elm Subject: Re: Error handling in messages + trim-headers Message-ID: <746@hplabsz.HPL.HP.COM> Date: 3 Sep 87 07:28:42 GMT References: <2581@trwrb.UUCP> Reply-To: taylor@hplabsz.UUCP (Dave Taylor) Distribution: usa Organization: Hewlett-Packard Laboratories Lines: 37 Marc Ries refers to two interesting problems in the utility shell scripts supplied with the Elm system: 1. 'messages' doesn't like when you're not on a machine that has $MAIL defined. I never thougth of that (!) and shall change it as suggested. Thanks! 2. the reason that 'trim-headers' isn't doing much for you is because you're handing it something that isn't a valid mail message, so it, correctly, isn't touching it. Let's look at the example message: > Path: trwrb!sdcrdcf!oberon!cit-vax!ll-xn!husc6!husc4!gallagher > From: gallagher@husc4.HARVARD.EDU (paul gallagher) > Newsgroups: rec.arts.movies > Subject: Re: Westerns > Message-ID: <2778@husc6.UUCP> > Date: 29 Aug 87 09:19:09 GMT > References: <4VAiZCy00VsCgjo0dX@andrew.cmu.edu> <2551@trwrb.UUCP> > Sender: news@husc6.UUCP > Reply-To: gallagher@husc4.UUCP (paul gallagher) > Organization: Harvard Univ. Science Center > Lines: 19 > > The problem, of course, is that it isn't an RFC-822 conformant message text, so the program cannot actually distinguish between the message 'header' (aka the "envelope") and the message 'body'! If you were to add a line "From gallagher Thu Sep 3 00:26:56 PDT 1987" at the beginning you'd find it chopped down quite a bit. Alternatively, you *could* modify the trim-headers script to know that "Path:" is also an 'enter-message-header-state' prefix (just hope that it doesn't occur in the *body* of any of the messages you have saved...) -- Dave Taylor