🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #270

Re: mbox format problem

#270
From: Kurt Hackenberg
Date: Tue, 15 Feb 2011 00:31
19 lines
1854 bytes
Julian Bradfield  <jcb@inf.ed.ac.uk> wrote:

>A sensible format would use content-length...

No, because content-length is number of bytes in the message body,
which includes end-of-line characters and such, so it varies across
systems.  If you move the file from one system to another, it breaks.

Usenet's Lines: would work, though.

I've had an idea to use the dot-stuffing algorithm used by SMTP: a
message is terminated by a line containing nothing but '.'; any such
line in the message gets another '.' added at the front.

A file would be multiple messages, each followed by a '.' line.  It
would do line boundaries in whatever way makes it a text file in the
system where it's stored (so might have to be converted when moved to
a different system).
Technical Details
Message-ID: <ijchgd$7u1$1@reader1.panix.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!panix!not-for-mail
References: <8739nuxoil.fsf@cervantes.cervantes.es> <slrnilcn2u.jcq.jcb@krk.inf.ed.ac.uk> <87mxm0x5il.fsf@cervantes.cervantes.es> <slrnile2c1.q00.jcb@krk.inf.ed.ac.uk>

Show Full Headers
Complete Article Headers
X-Google-Thread: f6829,681143edebf5735e
X-Google-NewGroupId: yes
X-Google-Attributes: gida16957f451,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!panix!not-for-mail
From: kh@pnnnnx.kom (Kurt Hackenberg)
Newsgroups: gnu.emacs.vm.bug
Subject: Re: mbox format problem
Date: Tue, 15 Feb 2011 00:31:10 +0000 (UTC)
Organization: Public Access Networks Corp.
Lines: 19
Message-ID: <ijchgd$7u1$1@reader1.panix.com>
References: <8739nuxoil.fsf@cervantes.cervantes.es> <slrnilcn2u.jcq.jcb@krk.inf.ed.ac.uk> <87mxm0x5il.fsf@cervantes.cervantes.es> <slrnile2c1.q00.jcb@krk.inf.ed.ac.uk>
NNTP-Posting-Host: panix1.panix.com
X-Trace: reader1.panix.com 1297729870 8129 166.84.1.1 (15 Feb 2011 00:31:10 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Tue, 15 Feb 2011 00:31:10 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)