Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ucla-cs!zen!ucbvax!dual.UUCP!uucp From: uucp@dual.UUCP.UUCP Newsgroups: comp.mail.elm Subject: Submission for comp-mail-elm Message-ID: <8709121849.AA03418@tccc0.TFS> Date: Sat, 12-Sep-87 14:49:35 EDT Article-I.D.: tccc0.8709121849.AA03418 Posted: Sat Sep 12 14:49:35 1987 Date-Received: Sun, 13-Sep-87 10:07:12 EDT Sender: uucp@ucbvax.BERKELEY.EDU Lines: 85 Path: teknek!dual!ptsfa!ames!sdcsvax!ucbvax!dual.UUCP!uucp From: uucp@dual.UUCP (UNIX-to-UNIX Copy) Newsgroups: comp.mail.elm Subject: Submission for comp-mail-elm Message-ID: <8709120929.AA01599@tccc0.TFS> Date: 12 Sep 87 09:29:26 GMT Sender: uucp@ucbvax.BERKELEY.EDU Lines: 76 Path: teknek!dual!ptsfa!ames!sdcsvax!ucbvax!dual.UUCP!uucp From: uucp@dual.UUCP (UNIX-to-UNIX Copy) Newsgroups: comp.mail.elm Subject: Submission for comp-mail-elm Message-ID: <8709111700.AA03075@tccc0.TFS> Date: 11 Sep 87 17:00:12 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 67 Path: teknek!dual!ptsfa!ames!sdcsvax!ucbvax!dual.UUCP!uucp From: uucp@dual.UUCP (UNIX-to-UNIX Copy) Newsgroups: comp.mail.elm Subject: Submission for comp-mail-elm Message-ID: <8709100626.AA11325@tccc0.TFS> Date: 10 Sep 87 06:26:19 GMT Sender: usenet@ucbvax.BERKELEY.EDU Lines: 58 Path: teknek!dual!ptsfa!ihnp4!cbosgd!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