🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #212970

Re: [slrn] Header Too Long (again)

#212970
From: Martin Trautmann
Date: Wed, 19 Dec 2007 14:46
59 lines
3492 bytes
On Mon, 15 Oct 2007 00:15:31 +0100, Peter J Ross wrote:
> > An example:
> >
> > References: <julianvREMOVE_THIS_PART-BB5A01.21471910102007@032-478-847.area7.spcsdns.net>
> 
>  That's too long to comply with RFC 2822, which I think should be
>  complied with in this case, since it's more restrictive than RFC 822,

RFC 3977:

A.1.  Header Folding

   NNTP allows a header line to be folded (by inserting a CRLF pair)
   before any space or TAB character.

   Both email and Netnews articles are required to have at least one
   octet other than space or TAB on each header line.  Thus, folding can
   only happen at one point in each sequence of consecutive spaces or
   TABs.  Netnews articles are further required to have the header name,
   colon, and following space all on the first line; folding may only
   happen beyond that space.  Finally, some non-conforming software will
   remove trailing spaces and TABs from a line.  Therefore, it might be
   inadvisable to fold a header after a space or TAB.
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   For maximum safety, header lines SHOULD conform to the following
   syntax rather than to that in Section 9.7.


     header = header-name ":" SP [header-content] CRLF
     header-content = [WS] token *( [CRLF] WS token )
                      ^^^^^^^^^^


I feel it's not absolutely clear whether this would be possible

    header-name ":" SP CRLF
      WS token 

>From what I read here, the first token must be on the same line as the
header-name.

3.6 names

  o  A message-id MUST be between 3 and 250 octets in length.

You can't cut this at 78 characters.

>  I think it's reasonable for slrn to warn about long headers, but I
>  think it would also be reasonable to have a configuration option to
>  turn such warnings off, especially in cases like this one, where
>  accepting the long header is probably a lesser evil than omitting the
>  first entry in the References line.

I'm not aware of any setting to warn against long header lines, I never
got a warning here since slrn did wrap this on its own. A warning is
given within the editable header or body only.

- Martin
Technical Details
Message-ID: <slrnfmibmu.3q9.t-use@ID-685.user.individual.de>
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!newsfeed.freenet.de!news.teledata-fn.de!noris.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail
References: <slrnfh3784.t5n.no.spam@thurston.blinkynet.net> <slrnfh58oj.kae.pjr@pjr.gotdns.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfmibmu.3q9.t-use@ID-685.user.individual.de>
Subject: Re: [slrn] Header Too Long (again)
Date: Wed, 19 Dec 2007 14:46:54 +0000
From: Martin Trautmann <t-use@gmx.net>
References: <slrnfh3784.t5n.no.spam@thurston.blinkynet.net> <slrnfh58oj.kae.pjr@pjr.gotdns.org>
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!newsfeed.freenet.de!news.teledata-fn.de!noris.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: slrn user
Reply-To: traut@gmx.de
X-No-Archive: Yes
User-Agent: slrn/0.9.8.1pl2.1 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 59
NNTP-Posting-Date: 19 Dec 2007 15:46:54 CET
NNTP-Posting-Host: 1b4a6891.newsspool3.arcor-online.net
X-Trace: DXC=h]98kUg[RGV@@RW1FjIB5SMcF=Q^Z^V3X4Fo<]lROoRQ4nDHegD_]RUG76cH\[<M3SRG\3BkBAFM^]ingOGK`5AV2m7adW:l?ZWMgG47]eHdD\
X-Complaints-To: usenet-abuse@arcor.de