Article View: news.software.readers
Article #208805Re: [slrn] Header Too Long (again)
From: Frank Slootweg
Date: Mon, 15 Oct 2007 21:23
Date: Mon, 15 Oct 2007 21:23
80 lines
4774 bytes
4774 bytes
J.B. Moreno <planB@newsreaders.com> wrote:
> Thomas Wiegner <wiegner@gmx.de> wrote:
>
> > On Sun, 14 Oct 2007, Blinky the Shark <no.spam@box.invalid> wrote:
> >
> > > Remember the recent issue with slrn throwing an error about a header
> > > (X-Face) being "too long to fold"? A hack of the binary, IIRC, fixed
> > > that.
> > >
> > > Now it's back -- this time choking on Refernences headers. :)
> > >
> > > An example:
> > >
> > > References:
> > > <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net>
> > 12345678901234567890123456789012345678901234567890123456789012345678901234567
> > 10 20 30 40 50 60 70
> >
> > I'm not sure if it is standardized how long a message ID should be,
> > but I think it is no good ID to generate IDs with
> > length of ("References:" + MS-ID) > 80
>
> There's a maximum length allowed, based upon the maximum length of a
> NTTP command, and it's a lot longer than 80.
The format of a Usenet/News article should conform to the article
format RFC, i.e. RFC 1036 et al. The NNTP standard is not really
relevant, because while nowadays NNTP is the most *common* Transport
Protocol, Usenet/News can use other transports and have used other
transports (not to mention that Usenet/News *predates* the Internet and
hence NNTP).
AFAICT, RFC 1036 leaves these (header field-body length) apsects up to
RFC 822 to deal with ("Therefore, the rule is adopted that all USENET
news messages must be formatted as valid Internet mail messages,
according to the Internet standard RFC-822."). RFC 822 says this:
<quote>
3.4.8. FOLDING LONG HEADER FIELDS
Each header field may be represented on exactly one line con-
sisting of the name of the field and its body, and terminated
by a CRLF; this is what the parser sees. For readability, the
field-body portion of long header fields may be "folded" onto
multiple lines of the actual field. "Long" is commonly inter-
preted to mean greater than 65 or 72 characters. The former
length serves as a limit, when the message is to be viewed on
most simple terminals which use simple display software; how-
ever, the limit is not imposed by this standard.
</quote>
Some people (not me) are of the opinion that because RFC 822 is
superceded by RFC 2822 and RFC 1036 references RFC 822, RFC 1036
implicitly references RFC 2822. RFC 2822 says this:
<quote>
2.1.1. Line Length Limits
There are two limits that this standard places on the number of
characters in a line. Each line of characters MUST be no more than
998 characters, and SHOULD be no more than 78 characters, excluding
the CRLF.
[...]
The more conservative 78 character recommendation is to accommodate
the many implementations of user interfaces that display these
messages which may truncate, or disastrously wrap, the display of
more than 78 characters per line, in spite of the fact that such
implementations are non-conformant to the intent of this
specification (and that of [RFC2821] if they actually cause
information to be lost).
</quote>
So the "SHOULD" limit, and *that* is the limit we are talking about,
for an unfolded header line is 72 characters (RFC 822) or 78 characters
(RFC 2822). That means that the MID can not be more than 72/78
characters (unless someone proves that it's OK to fold a MID).
Technical Details
Message-ID:
<4713da62$0$28933$dbd45001@news.wanadoo.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mailReferences:
<slrnfh3784.t5n.no.spam@thurston.blinkynet.net> <9nc9u4-e8d.ln1@wiegner.user.individual.de> <151020070654561609%planB@newsreaders.com>Show Full Headers
Complete Article Headers
Message-ID: <4713da62$0$28933$dbd45001@news.wanadoo.nl>
Subject: Re: [slrn] Header Too Long (again)
Date: Mon, 15 Oct 2007 21:23:46 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <slrnfh3784.t5n.no.spam@thurston.blinkynet.net> <9nc9u4-e8d.ln1@wiegner.user.individual.de> <151020070654561609%planB@newsreaders.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail
Newsgroups: news.software.readers
Organization: NOYB
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX)
(CYGWIN_NT-6.0/1.5.22(0.156/4/2) (i686)) Hamster/2.0.2.2
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX)
(CYGWIN_NT-6.0/1.5.22(0.156/4/2) (i686))
Lines: 80
NNTP-Posting-Date: 15 Oct 2007 21:23:46 GMT
NNTP-Posting-Host: cd44074f3.cable.wanadoo.nl
X-Trace: 1192483426 dr1.euro.net 28933 212.64.116.243:63665
X-Complaints-To: abuse@wanadoo.nl