Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!tut.cis.ohio-state.edu!rls!randy From: randy@rls.UUCP (Randall L. Smith) Newsgroups: comp.mail.headers Subject: Re: Header stripper Message-ID: <10715@rls.UUCP> Date: 14 Apr 91 17:52:08 GMT References: <1991Apr2.063227.25582@engin.umich.edu> <10712@rls.UUCP> <1621@aupair.cs.athabascau.ca> Organization: The Internet Lines: 28 In article <1621@aupair.cs.athabascau.ca>, lyndon@cs.athabascau.ca (Lyndon Nerenberg) writes: > randy@rls.UUCP (Randall L. Smith) writes: >> * Easily achieved because the first line of a mail or news >> * header must begin with "Path:" and the last line of the >> * header must be a blank line. > > This is incorrect. There is no "Path:" header defined for RFC822 mail, > and if one is present, there's no guarantee that it will be the first > header. The "Path:" header must be present in news articles, but again > there is no guarantee that it will be the first header, although all > existing news transports that I'm aware of will place it there. Quite right. See my follow up posting with corrections. I didn't read the RFC's for this information. I simply looked at the actual headers of news and mail. Mail consistantly has "From " on the first line and news has "Path:" on the first line, both in the first 5 characters. My guess is the RFC's somewhere define this. BTW, has anyone had any problem compiling that code? Just curious. Cheers! - randy Usenet: randy@rls.uucp Bangpath: ...!osu-cis or mstar!rls!randy Internet: rls!randy@tut.cis.ohio-state.edu rls!randy@mstar.com %CC-I-ANACRONISM, The operator is an obsolete form and may not be portable.