πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82388

Re: Incorrect lines count in $hdr{__LINES__}

#82388
From: D. Stussy
Date: Sun, 20 Dec 2009 22:20
33 lines
2581 bytes
"Steve Crook" <steve@mixmin.net> wrote in message
news:slrnhis6dp.mt9.steve@news.mixmin.net...
> 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.

Suggestions (to think about):

For UUCODE:
- Do most of the lines start with a "M" and have 60 characters following
(before CRLF)?
- Is there a "begin " within the first 10 lines of the body (or body
section, if MIME)?
- Is there an "end " within the last 10 lines of the body (or body
section)?
- Are there any characters that don't appear in the 64 that UUCODE uses?

For yEnc:
- Is there a "=ybegin " or "=yend ", similar to the above.

Technical Details
Message-ID: <hgm812$n2k$1@snarked.org>
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.ams.giganews.com!nntp.giganews.com!weretis.net!feeder1.news.weretis.net!xmission!news.snarked.org!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> <slrnhis6dp.mt9.steve@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <hgm812$n2k$1@snarked.org>
Subject: Re: Incorrect lines count in $hdr{__LINES__}
Date: Sun, 20 Dec 2009 14:20:28 -0800
From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org>
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> <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.ams.giganews.com!nntp.giganews.com!weretis.net!feeder1.news.weretis.net!xmission!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 33
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-118-51-161.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1261347682 23636 71.118.51.161 (20 Dec 2009 22:21:22 GMT)
X-Complaints-To: newsmaster+complaints@snarked.org
NNTP-Posting-Date: Sun, 20 Dec 2009 22:21:22 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478