🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Anonymous Thu, 12 Dec 2013 20:10
News fetcher.
#86052
Author: Anonymous
Date: Thu, 12 Dec 2013 20:10
4 lines
980 bytes
Could anyone advice me substitute for newsfetch?
newsfetch - Pull news from an NNTP server and store in the mailbox format.
-- 
Re: News fetcher.
#86072
Author: Tony
Date: Fri, 13 Dec 2013 08:41
14 lines
1849 bytes
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.


-- 
Tony Evans
Seeking archives for uk.* from 1998 and older.  Especially interested
in uk.net.news.* and any groups which preceded uk.net.news.* for
hierarchy management (uk.misc? uk.net?).
Re: News fetcher.
#86085
Author: Anonymous
Date: Fri, 13 Dec 2013 19:28
15 lines
1642 bytes
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.

-- 
Re: News fetcher.
#86097
Author: Dennis Davis
Date: Mon, 16 Dec 2013 09:29
49 lines
3021 bytes
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?

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?
-- 
Dennis Davis <dennisdavis@fastmail.fm>
Re: News fetcher.
#86100
Author: Anonymous
Date: Mon, 16 Dec 2013 22:04
89 lines
4897 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
M0EIH.3%!629364-P7UD``<-?@$`0=.________"____Z4`5X;/=77=`M[SJ\
MJ-YJPU-"F--!,DVF2:8F4]/30GDIX$TPFB>(C31IY0&IHFD]$]3)ZCU,1H)Z
MF"8$`TT-&AH!HTTT`T0T`@ILJ?IIJ-!Z4VIM)H-----#1ID,C)D-`JG^HIH:
M-#33(`#(T``:`!H:-`T#0)0IDT1/U--&D])Z*/)/(R--$-#:FC$-J-#0`TI9
M1G[6VX-V1_#6=D%=!\\Y2;-74EO=A'0;F["_Q<]SIG8%:[KI5[..W.K*<.F1
M+P62.]RDL(E'W&2C([CFS/)LXE>'B&;"#.S6$%E9+K>R6[O-D8W*^HI1CKG\
M?$K4G'DA'M$JN]ZG4]8<(=F2+&99W+C130N"IT4F^L727P7Y70U-M-MB3H-!
M1HGGAUOE"S$0>*FT0O#<(FJH$AYJ"2CQ1GTV4[<H:-DUM`98N4XHKAM9=A6?
M3I"YY;NEZ`S3]QWK[4K!//B+E.T3#DWK*$7>?Q6#5-2TO.7X%P55B<%;UZ=.
M?.UT;FC[HKX[`@CK?"4FS$/`3'31+J#=02P7^L9U2W&NIR@J*J)05FI@>X+I
[...]
&"00W!?60
`
end

Now the same article retrieved by newsfetch. Broken header.

begin 600 02_broken.txt.bz2
M0EIH.3%!629368+P%TP``<Q?@$`0=.________"____Z4`6;IW/=U7>AKS>;
MFMT=[G5PU-"`T(`TTIXTGE1X&IZ$9HF3:)/4\32,AY1AJ:"C$]&FJG[2;4RC
M)I/3:CU/2:`TU&T@T9#RF``U-#0$R)IIJ;*3)CU3TGJ8@]3T30--J9-,F)D/
M4!H1$]":31Z39-$-H@Q#!!D!A,C)IA-&"20DV4TF]28C)Z*-E-H]2,T0T'DC
M1HR9#30`FN7>98[CVA_"45;D]!:HPBS='6=GA?##M3!NTJ@':]SI$(!]JI,A
M?>YJLC\V(W,CQ*;432>B+@`":D)#(YYO+Y76WG490X/NO>NE+E(Q0[&KAFSL
M>0W*>M$80N+Z$BPO0?)6^'>(T^+DMGV!H?W5P6O=HM5"4Y*>FB4R=4+8JXLN
MPU^=EA,QG1&2A'NWCLV1$QMA"$IG!D(]!?=!&2(:)TE<3^T:?OA5Y9A./CNC
M0*=N*B^_$;85PH?OVIN;I^UZD9FA&[](DJ!/4!7Y2LDNYBYX`B,=?=\,T6E)
M><PTE4JRA*"NZYMFC0SV;PV+U?`+801U4!""Y&-1$YYVN(-M"K&_CD:&56W=
[...]
E&&XO%D8^Y<">4_#4V(C*7`.Y*P'RS%\AH'P+N2*<*$A!>`NF````
`
end

> 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?

-- 
Re: News fetcher.
#86104
Author: 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?

-- 
Re: News fetcher.
#86106
Author: Julien ÉLIE
Date: Thu, 19 Dec 2013 17:10
23 lines
2131 bytes
> Could anyone advice me substitute for newsfetch?
> newsfetch - Pull news from an NNTP server and store in the mailbox format.

What is your need?  Both downloading news articles from an NNTP server 
and storing them in the mailbox format?  or other formats would be OK?

Suggestions:

http://packages.debian.org/slrnpull
http://packages.debian.org/newsx

http://packages.debian.org/sinntp
  - nntp-pull: fetching new articles to the mbox file
  - nntp-get: downloading individual messages in RFC822 format

http://packages.debian.org/suck
(or pullnews shipped with INN)

-- 
Julien ÉLIE

« Il y a trois façons de faire les choses : la bonne, la mauvaise,
   et la mienne. »
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads