Date: Sun, 29 Oct 2000 06:40:03 -0800 (PST) From: Nik Clayton <nik@freebsd.org> To: freebsd-doc@freebsd.org Subject: Re: docs/21762: mailing list archiving or retrieval broken from "\nFrom lines" Message-ID: <200010291440.GAA54147@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/21762; it has been noted by GNATS. From: Nik Clayton <nik@freebsd.org> To: "Jeremy C. Reed" <reed@reedmedia.net>, postmaster@freebsd.org Cc: Nik Clayton <nik@freebsd.org>, freebsd-gnats-submit@FreeBSD.org Subject: Re: docs/21762: mailing list archiving or retrieval broken from "\nFrom lines" Date: Sun, 29 Oct 2000 14:37:34 +0000 I'm copying this to the Postmaster, 'cos I'm not sure how our mail archiving works. On Sat, Oct 28, 2000 at 07:27:13PM -0700, Jeremy C. Reed wrote: > On Sat, 28 Oct 2000, Nik Clayton wrote: > > On Wed, Oct 04, 2000 at 04:28:24PM -0700, reed@reedmedia.net wrote: > > > Here was my test message: > > > > > > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1319586+0+current/freebsd-questions > > > > > > > Looks OK to me. What am I missing? > > The archive is missing the rest of my message. This wasn't a one time > test -- I noticed this a few times before, then I figured out the problem > and then I tested it to verify it. > > It is not okay. Please read the message at > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1319586+0+archive/2000/freebsd-questions/20001008.freebsd-questions > > My last line says "And the next line will be blank, followed by "From" > with a space after it." But then NOTHING is after it. Also my signature is > gone. This was explained in my bug report. > > If you notice, it has problems with the common unix mailbox message > separator "\nFrom ". Ah. Not exactly. What's supposed to happen is that "\nFrom" in the body of an e-mail should be replaced by "\n>From" for exactly this reason. However, it looks like this isn't happening when messages are archived. Postmaster, you can see this in freefall:/usr/local/www/db/text/2000/freebsd-questions/2001008.freebsd-questions just search for the message containing "will be blank" to see the unescaped "From " at the beginning of the line. getmsg.cgi (rightly, IMHO) assumes that \nFrom starts a new message. It could be hacked to work around this, but there will always be corner cases. If you can point me at the code that puts incoming e-mail in to the archive then I'll see if I can fix it. Thanks, N -- Internet connection, $19.95 a month. Computer, $799.95. Modem, $149.95. Telephone line, $24.95 a month. Software, free. USENET transmission, hundreds if not thousands of dollars. Thinking before posting, priceless. Somethings in life you can't buy. For everything else, there's MasterCard. -- Graham Reed, in the Scary Devil Monastery To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010291440.GAA54147>