πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82386

Re: Incorrect lines count in $hdr{__LINES__}

#82386
From: Steve Crook
Date: Sun, 20 Dec 2009 12:34
28 lines
2209 bytes
On Sun, 20 Dec 2009 00:56:33 +0100, Julien Γ‰LIE wrote in
Message-Id: <hgjp7i$rdn$1@news.trigofacile.com>:

> It is the real number of lines.  We cannot do more with INN.  Maybe these
> articles should be rejected by Cleanfeed -- another parameter?
Having done some initial logging, I don't think rejecting *all* articles
with malformed line terminations is the correct action.  There appears
to be a lot of them, many with good, non-binary content.

The issue for Cleanfeed is that it uses the line count to crudely
determine the size of the article.  Small articles with binary content
are accepted, larger ones rejected.  The easiest solution might be to
reject *all* misplaced uu/yEnc encoded articles, regardless of size or
number of lines.


> RFC 5536 (USEFOR) :
>
> 3.3.1.  Lines
>
>     The line count is the number of CRLF separators in the <body>.
>
>
> Note that the Lines: headers is deprecated.
Yes, I need to strip out the various elements of Cleanfeed that use the
Lines header.  At the moment articles are being adversely scored for not
having it.
Technical Details
Message-ID: <slrnhis6dp.mt9.steve@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.mixmin.net!not-for-mail
References: <slrnhindf5.mt9.steve@news.mixmin.net> <hggok5$u3p$1@news.trigofacile.com> <slrnhipvt8.mt9.steve@news.mixmin.net> <hgjp7i$rdn$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnhis6dp.mt9.steve@news.mixmin.net>
Subject: Re: Incorrect lines count in $hdr{__LINES__}
Date: Sun, 20 Dec 2009 12:34:01 +0000
From: Steve Crook <steve@mixmin.net>
References: <slrnhindf5.mt9.steve@news.mixmin.net> <hggok5$u3p$1@news.trigofacile.com> <slrnhipvt8.mt9.steve@news.mixmin.net> <hgjp7i$rdn$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.mixmin.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Lines: 28
NNTP-Posting-Host: ip6-localhost
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.mixmin.net 1261312441 20043 ::1 (20 Dec 2009 12:34:01 GMT)
X-Complaints-To: abuse@mixmin.net
NNTP-Posting-Date: Sun, 20 Dec 2009 12:34:01 +0000 (UTC)
User-Agent: slrn/pre1.0.0-18 (Linux)