πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82378

Re: Incorrect lines count in $hdr{__LINES__}

#82378
From: Steve Crook
Date: Sat, 19 Dec 2009 16:30
22 lines
2041 bytes
On Fri, 18 Dec 2009 21:27:46 +0100, Julien Γ‰LIE wrote in
Message-Id: <hggok5$u3p$1@news.trigofacile.com>:

> Do you have a sample of such an article?
> I tried to "telnet news.mixmin.net 119" but the reported message-ID does
> not exist any longer.
Yes, unfortunately I only noticed this instance because it was rejected
by another filter after being passed by the binary check.  I've put a
filter in place now to log incorrect line counts so hopefully I'll catch
some examples.

> Especially, the next time you see that, could you please see how many lines
> are reported by an OVER request on it?
Certainly.

> What I think is happening is that these articles are malformed and contain
> only "\n" as line delimitors, and not "\r\n".  But only a careful inspection
> of these articles will tell us.
You are correct.  Using a hexeditor on the log, I can see that all the
uuencoded lines in these articles are terminated with just 0A, not 0D0A.
The text lines are correctly terminated which causes the reported line
count of 7.
Technical Details
Message-ID: <slrnhipvt8.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!feeder.erje.net!news.mixmin.net!not-for-mail
References: <slrnhindf5.mt9.steve@news.mixmin.net> <hggok5$u3p$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnhipvt8.mt9.steve@news.mixmin.net>
Subject: Re: Incorrect lines count in $hdr{__LINES__}
Date: Sat, 19 Dec 2009 16:30:32 +0000
From: Steve Crook <steve@mixmin.net>
References: <slrnhindf5.mt9.steve@news.mixmin.net> <hggok5$u3p$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.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news.mixmin.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Lines: 22
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 1261240232 14551 ::1 (19 Dec 2009 16:30:32 GMT)
X-Complaints-To: abuse@mixmin.net
NNTP-Posting-Date: Sat, 19 Dec 2009 16:30:32 +0000 (UTC)
User-Agent: slrn/pre1.0.0-18 (Linux)