🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86104

Re: News fetcher.

#86104
From: Anonymous
Date: Tue, 17 Dec 2013 15:46
62 lines
3583 bytes
On 2013-12-16 09:29, Dennis Davis wrote to news.software.nntp:

> In article <783a025051ce5cd2e07825e698f81edf@breaka.net>,
> Anonymous  <noreply@breaka.net> wrote:
> >On 2013-12-13 08:41, Tony wrote to news.software.nntp:
> >
> >> On 2013-12-12, Anonymous <noreply@breaka.net> wrote:
> >> > Could anyone advice me substitute for newsfetch?
> >> > newsfetch - Pull news from an NNTP server and store in the
> >> > mailbox format.
> >>
> >> Is there something missing from newsfetch or a problem using it
> >> that you're trying to work around? i.e. hard to offer advice
> >> without knowing why newsfetch isn't doing what you need.
> >
> >newsfetch damage very long lines in the header and immediately add
> >one unnecessary line after that.
> 
> You'll need to be more precise about "very long lines" for the
> reasons indicated below.  Do you have an estimate of the largest
> line that newsfetch can handle?

Here is what I mean.
This is one article was retrieved by rtin. Everything if fine here.

begin 600 01_original.txt.bz2

Now the same article retrieved by newsfetch. Broken header.
begin 600 02_broken.txt.bz2

Download it at http://rghost.ru/51025767

> Don't use newsfetch myself.  The code is readily available and dates
> from the late 1990's.  The manual page for newsfetch includes:
> 
>   Initially, I wrote this utility for personal use. The current
>   version may not have all the features you want, but you are free
>   to modify the code for your personal use.
> 
> I've had a *very* cursory look at the code.  It uses fixed length
> buffers in places.  It's easy to increase the buffer size(s) and
> compile your own version.  And see if that makes any difference.
> Increasing buffer sizes is a bodge, rather than a fix.  But it's
> quick, cheap, easy to do, and may quickly indicate where the problem
> lies.  It's also a bodge that may push your problems into the long
> grass.
> 
> As a long shot, RFC5321 "Simple Mail Transfer Protocol" includes the
> restriction:
> 
> 4.5.3.1.6.  Text Line
> 
>    The maximum total length of a text line including the <CRLF> is 1000
>    octets (not counting the leading dot duplicated for transparency).
>    This number may be increased by the use of SMTP Service Extensions.
> 
> Your mail client *may* be aware of this and not capable of handling
> lines longer that 1000 characters.  Have you checked that this isn't
> the problem?

-- 
Technical Details
Message-ID: <854d058f0433fe0856e28d489cac56b4@breaka.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news.glorb.com!news.alt.net!sewer!news.dizum.net!not-for-mail
References: <2f6e756fff9b1a0f874b20e3fb0dfb28@breaka.net> <l8eh8f$2bs$1@trinity.darkstorm.co.uk> <783a025051ce5cd2e07825e698f81edf@breaka.net> <l8mh57$24r$1@speranza.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <854d058f0433fe0856e28d489cac56b4@breaka.net>
Subject: Re: News fetcher.
Date: Tue, 17 Dec 2013 23:46:55 +0800
From: Anonymous <noreply@breaka.net>
References: <2f6e756fff9b1a0f874b20e3fb0dfb28@breaka.net> <l8eh8f$2bs$1@trinity.darkstorm.co.uk> <783a025051ce5cd2e07825e698f81edf@breaka.net> <l8mh57$24r$1@speranza.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news.glorb.com!news.alt.net!sewer!news.dizum.net!not-for-mail
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Newsgroups: news.software.nntp
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 194.109.206.211
X-Received-Bytes: 3167
Lines: 61
X-Original-Bytes: 3242