🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
27 messages
27 total messages Started by Bert Hyman Mon, 14 Apr 2008 18:41
Newsreaders and "overview.fmt"?
#219241
Author: Bert Hyman
Date: Mon, 14 Apr 2008 18:41
10 lines
1335 bytes
Does any newsreader issue a "list overview.fmt" at startup and then
adjust its filtering behavior based on what comes back? 

I asked that question a couple of years ago and the only example I was
offered was "tin". 

Any more in the intervening time? 

-- 
Bert Hyman | St. Paul, MN | bert@iphouse.com
Re: Newsreaders and "overview.fmt"?
#219246
Author: Frank Slootweg
Date: Mon, 14 Apr 2008 20:53
27 lines
2221 bytes
Bert Hyman <bert@iphouse.com> wrote:
> Does any newsreader issue a "list overview.fmt" at startup and then
> adjust its filtering behavior based on what comes back? 

  Well, any newsreader *should* do that, but if any/every newsreader
*does* do that is quite another question.

  I just checked and Windows Mail - Vista's replacement for Outlook
Express - doesn't seem to do it (it does an xover without having done
a "list overview.fmt"), so it's probably safe to assume that OE doesn't
either. (Note: It (WM/OE) *could* do it just once per server and then
save the info, but I doubt it because that would be A Bad Thing (tm).)

> I asked that question a couple of years ago and the only example I was
> offered was "tin". 

  Well, it's not called The Ideal Newsreader [1] for nothing, you know! :-)

> Any more in the intervening time? 

  Do you use Hamster? If so, it (see 'Log' button/pane) can tell what
Xnews does. (Perhaps Xnews can also log what it does, but at least
Hamster does log what the user's newsreader does.)

[1] No, that's *not* what 'tin' stands for [2].

[2] See the "tass" link at the top of <http://www.tin.org/history.html>.
Re: Newsreaders and "overview.fmt"?
#219247
Author: Bert Hyman
Date: Mon, 14 Apr 2008 22:35
11 lines
1457 bytes
In news:4803c432$0$62428$dbd4b001@news.wanadoo.nl Frank Slootweg
<this@ddress.is.invalid> wrote: 

>   Do you use Hamster? If so, it (see 'Log' button/pane) can tell what
> Xnews does. (Perhaps Xnews can also log what it does, but at least
> Hamster does log what the user's newsreader does.)

I know that Xnews doesn't do it.

-- 
Bert Hyman	St. Paul, MN	bert@iphouse.com
Re: Newsreaders and "overview.fmt"?
#219260
Author: VanguardLH
Date: Tue, 15 Apr 2008 07:59
15 lines
2004 bytes
Bert Hyman wrote:

> Does any newsreader issue a "list overview.fmt" at startup and then
> adjust its filtering behavior based on what comes back? 
> 
> I asked that question a couple of years ago and the only example I was
> offered was "tin". 
> 
> Any more in the intervening time?

Why does the newsreader have to adapt at all?  If you test on a header
that isn't listed (and won't be returned when you yank the headers),
does it matter if your rule/filter can't find that header?  Won't it
just not fire and go on to exercise the next rule/filter against that
post?
Re: Newsreaders and "overview.fmt"?
#219268
Author: Frank Slootweg
Date: Tue, 15 Apr 2008 12:59
54 lines
3127 bytes
VanguardLH <V@nguard.lh> wrote:
> Bert Hyman wrote:
> 
> > Does any newsreader issue a "list overview.fmt" at startup and then
> > adjust its filtering behavior based on what comes back? 
> > 
> > I asked that question a couple of years ago and the only example I was
> > offered was "tin". 
> > 
> > Any more in the intervening time?
> 
> Why does the newsreader have to adapt at all?  If you test on a header
> that isn't listed (and won't be returned when you yank the headers),
> does it matter if your rule/filter can't find that header?  Won't it
> just not fire and go on to exercise the next rule/filter against that
> post?

  It's not so much the adapting *after* the 'list'-ing, but the
'list'-ing *itself*:

  The fields in the xover data are *not* labeled (except for Xref:), so
you don't know (for sure) which data belongs to which header.

  For example this is the xover data (one big line seperated by tabs)
for your article on my server:

xover 90321
224 Overview information follows
90321	Re: Newsreaders and "overview.fmt"?	VanguardLH <V@nguard.LH>	Tue, 15 Apr 2008 02:59:18 -0500	<fu1n8j$g53$1@registered.motzarella.org>	<Xns9A808B418DB1FVeebleFetzer@127.0.0.1>	1896	15	Xref: localhost news.software.readers:90321

  You can *guess* what's what, but you can't *know*, especially not for
the MIDs (e-mail address, Message-ID: or References:?), "1896", "15",
etc..

  But if you do a "list overview.fmt" you *know* what's what:

list overview.fmt
215 information follows
Subject:
From:
Date:
Message-ID:
References:
Bytes:
Lines:
Xref:full

  I.e. the first MID is the Message-ID:, the second MID is the
References:, 1896 is Byte:, 15 is Lines:, "VanguardLH <V@nguard.LH>" is
your From: and not for example your Organization:, etc., etc.

  For *most* servers the xover data will be in this order, but it is not
*guaranteed* to be the case for all servers, so a newsreader *should*
use "list overview.fmt" to be sure.
Re: Newsreaders and "overview.fmt"?
#219270
Author: Bert Hyman
Date: Tue, 15 Apr 2008 13:04
34 lines
2408 bytes
V@nguard.LH (VanguardLH) wrote in
news:fu1n8j$g53$1@registered.motzarella.org: 

> Bert Hyman wrote:
> 
>> Does any newsreader issue a "list overview.fmt" at startup and then
>> adjust its filtering behavior based on what comes back? 
>> 
>> I asked that question a couple of years ago and the only example I
>> was offered was "tin". 
>> 
>> Any more in the intervening time?
> 
> Why does the newsreader have to adapt at all?  If you test on a
> header that isn't listed (and won't be returned when you yank the
> headers), does it matter if your rule/filter can't find that header?
>  Won't it just not fire and go on to exercise the next rule/filter
> against that post?

The only way that the newsreader knows for certain what headers are in
the overview record and what order they're in is by reading
overview.fmt. 

Xnews, for example, simply assumes that the 'standard' set of headers
are present, and in the 'standard' order. If you add any other header
to your score file, Xnews will issue an XHDR (I think) command to the
server, even if that header is actually present in the overview
record. 

I've added NNTP-Posting-Host on my own server for statistical
analysis, but Xnews is blisfully unaware of this. 

-- 
Bert Hyman | St. Paul, MN | bert@iphouse.com
Re: Newsreaders and "overview.fmt"?
#219269
Author: Mats Peterson
Date: Tue, 15 Apr 2008 13:28
70 lines
3867 bytes
Frank Slootweg <this@ddress.is.invalid> wrote:
> VanguardLH <V@nguard.lh> wrote:
>> Bert Hyman wrote:
>>
>>> Does any newsreader issue a "list overview.fmt" at startup and then
>>> adjust its filtering behavior based on what comes back? 
>>>
>>> I asked that question a couple of years ago and the only example I was
>>> offered was "tin". 
>>>
>>> Any more in the intervening time?
>>
>> Why does the newsreader have to adapt at all?  If you test on a header
>> that isn't listed (and won't be returned when you yank the headers),
>> does it matter if your rule/filter can't find that header?  Won't it
>> just not fire and go on to exercise the next rule/filter against that
>> post?
>
>   It's not so much the adapting *after* the 'list'-ing, but the
> 'list'-ing *itself*:
>
>   The fields in the xover data are *not* labeled (except for Xref:), so
> you don't know (for sure) which data belongs to which header.
>
>   For example this is the xover data (one big line seperated by tabs)
> for your article on my server:
>
> xover 90321
> 224 Overview information follows
> 90321	Re: Newsreaders and "overview.fmt"?	VanguardLH <V@nguard.LH>	Tue, 15 Apr 2008 02:59:18 -0500	<fu1n8j$g53$1@registered.motzarella.org>	<Xns9A808B418DB1FVeebleFetzer@127.0.0.1>	1896	15	Xref: localhost news.software.readers:90321
>
>   You can *guess* what's what, but you can't *know*, especially not for
> the MIDs (e-mail address, Message-ID: or References:?), "1896", "15",
> etc..
>
>   But if you do a "list overview.fmt" you *know* what's what:
>
> list overview.fmt
> 215 information follows
> Subject:
> From:
> Date:
> Message-ID:
> References:
> Bytes:
> Lines:
> Xref:full
>
>   I.e. the first MID is the Message-ID:, the second MID is the
> References:, 1896 is Byte:, 15 is Lines:, "VanguardLH <V@nguard.LH>" is
> your From: and not for example your Organization:, etc., etc.
>
>   For *most* servers the xover data will be in this order, but it is not
> *guaranteed* to be the case for all servers, so a newsreader *should*
> use "list overview.fmt" to be sure.

>From RFC 2980, "Common NNTP Extensions":

"The sequence of fields must be in this order: subject, author, date,
message-id, references, byte count, and line count.  Other optional
fields may follow line count.  These fields are specified by examining
the response to the LIST OVERVIEW.FMT command."

To me that sounds like subject, author, date, message-id, references,
byte count and line count are all required, and in that very order.
Are there servers out there that don't obey this?

-- 
Mats Peterson
http://www.geocities.com/matsp888/
Re: Newsreaders and "overview.fmt"?
#219271
Author: Bert Hyman
Date: Tue, 15 Apr 2008 13:40
23 lines
1940 bytes
matsp555@yahoo.com (Mats Peterson) wrote in
news:Y32Nj.6101$R_4.4738@newsb.telia.net: 

> To me that sounds like subject, author, date, message-id,
> references, byte count and line count are all required, and in that
> very order. 

Well, we know that all servers are RFC-compliant, right Microsoft?

> Are there servers out there that don't obey this?

Oh, most likely not. At least not this morning.

My issue is not with the current 'standard' set, but with news readers
being set in concrete and unable to cope with any changes or
additions. 

I'd really like my newsreader to be able to filter on
NNTP-Posting-Host if it's present in the overview record; wouldn't
you? 

-- 
Bert Hyman | St. Paul, MN | bert@iphouse.com
Re: Newsreaders and "overview.fmt"?
#219272
Author: Mats Peterson
Date: Tue, 15 Apr 2008 13:46
29 lines
2178 bytes
Bert Hyman <bert@iphouse.com> wrote:
> matsp555@yahoo.com (Mats Peterson) wrote in
> news:Y32Nj.6101$R_4.4738@newsb.telia.net: 
>
>> To me that sounds like subject, author, date, message-id,
>> references, byte count and line count are all required, and in that
>> very order. 
>
> Well, we know that all servers are RFC-compliant, right Microsoft?
>
>> Are there servers out there that don't obey this?
>
> Oh, most likely not. At least not this morning.
>
> My issue is not with the current 'standard' set, but with news readers
> being set in concrete and unable to cope with any changes or
> additions. 
>
> I'd really like my newsreader to be able to filter on
> NNTP-Posting-Host if it's present in the overview record; wouldn't
> you? 
>

I'm only interested in knowing whether servers obey to this order or
not.

-- 
Mats Peterson
http://www.geocities.com/matsp888/
Re: Newsreaders and "overview.fmt"?
#219274
Author: Bert Hyman
Date: Tue, 15 Apr 2008 14:27
34 lines
2399 bytes
matsp555@yahoo.com (Mats Peterson) wrote in
news:jl2Nj.6102$R_4.4885@newsb.telia.net: 

> Bert Hyman <bert@iphouse.com> wrote:
>> matsp555@yahoo.com (Mats Peterson) wrote in
>> news:Y32Nj.6101$R_4.4738@newsb.telia.net: 
>>
>>> To me that sounds like subject, author, date, message-id,
>>> references, byte count and line count are all required, and in
>>> that very order. 
>>
>> Well, we know that all servers are RFC-compliant, right Microsoft?
>>
>>> Are there servers out there that don't obey this?
>>
>> Oh, most likely not. At least not this morning.
>>
>> My issue is not with the current 'standard' set, but with news
>> readers being set in concrete and unable to cope with any changes
>> or additions. 
>>
>> I'd really like my newsreader to be able to filter on
>> NNTP-Posting-Host if it's present in the overview record; wouldn't
>> you? 
>>
> 
> I'm only interested in knowing whether servers obey to this order or
> not.

You can assume they do, but without reading overview.fmt, you're just
guessing. 

-- 
Bert Hyman | St. Paul, MN | bert@iphouse.com
Re: Newsreaders and "overview.fmt"?
#219273
Author: Patrick Lamaizière
Date: Tue, 15 Apr 2008 14:29
26 lines
2159 bytes
Frank Slootweg écrivait

>   For *most* servers the xover data will be in this order, but it is
>   not *guaranteed* to be the case for all servers, so a newsreader 
> *should* use "list overview.fmt" to be sure.

Are you sure? The RFC 2980 states :
«
2.8 XOVER
[...]
The sequence of fields must be in this order: subject, author, date,
message-id, references, byte count, and line count.  Other optional
fields may follow line count.
»

And even :
«
The LIST OVERVIEW.FMT command should be implemented if XOVER is
implemented.
»

This is a 'RFC' should, not a 'MUST'.



Re: Newsreaders and "overview.fmt"?
#219275
Author: Bert Hyman
Date: Tue, 15 Apr 2008 14:36
18 lines
1753 bytes
adresse@est.invalid (Patrick Lamaizière) wrote in
news:Xns9A81A7A2C45C4plam@213.186.42.107: 

> The LIST OVERVIEW.FMT command should be implemented if XOVER is
> implemented.
> ¯
> 
> This is a 'RFC' should, not a 'MUST'.

Then if xover is implemented, but "list overview.fmt" isn't, you'll
just have to assume that the overview format is 'standard'. 

None of which addresses my original whining about news readers being
inflexible and unable to address additional fields that might be
present. 

-- 
Bert Hyman | St. Paul, MN | bert@iphouse.com
Re: Newsreaders and "overview.fmt"?
#219276
Author: Mats Peterson
Date: Tue, 15 Apr 2008 14:43
15 lines
1726 bytes
Bert Hyman <bert@iphouse.com> wrote:
>>
>> I'm only interested in knowing whether servers obey to this order or
>> not.
>
> You can assume they do, but without reading overview.fmt, you're just
> guessing. 
>

Thanks. I guess I'll use the logic "if `list overview.fmt' fails, use
the 'standard' order." Knock on wood.

-- 
Mats Peterson
http://www.geocities.com/matsp888/
Re: Newsreaders and "overview.fmt"?
#219279
Author: Karl Kleinpaste
Date: Tue, 15 Apr 2008 14:54
30 lines
3138 bytes
Bert Hyman <bert@iphouse.com> writes:
> My issue is not with the current 'standard' set, but with news readers
> being set in concrete and unable to cope with any changes or
> additions. 

> I'd really like my newsreader to be able to filter on
> NNTP-Posting-Host if it's present in the overview record; wouldn't
> you? 

INN will stuff any fields its admin likes into overviews based on
overview.fmt, and Gnus (my newsreader) filters on such arbitrary content
just fine.

Actually performing "list overview.fmt" is irrelevant: The first N
fields are fixed, and everything east of Xref must include its header
label.  So if overview.fmt changes this morning, and you're reading
articles that arrived last night, so the order of some fields is
different between those two times, the header labels still tell the
reader how to cope with it.

So the content of overview.fmt is irrelevant at the time the reader
accesses, because there is no guarantee that such content represents
what's present in overviews that will be subsequently obtained.  I could
use a cron job to add and delete User-Agent in overview.fmt on alternate
hours, and readers still must cope with what they find in overviews.

In my personal INN config at home, I include NNTP-Posting-Host in
overviews, specifically so that the occasional spam arrival from one
source can be easily identified and toasted with a single global
scorefile rule.
Re: Newsreaders and "overview.fmt"?
#219281
Author: »Q«
Date: Tue, 15 Apr 2008 15:41
10 lines
1744 bytes
Karl Kleinpaste <invalid@kleinpaste.org> wrote:

> Actually performing "list overview.fmt" is irrelevant: The first N
> fields are fixed, and everything east of Xref must include its header
> label.  So if overview.fmt changes this morning, and you're reading
> articles that arrived last night, so the order of some fields is
> different between those two times, the header labels still tell the
> reader how to cope with it.

Whew.  Crisis averted!
Re: Newsreaders and "overview.fmt"?
#219285
Author: Mats Peterson
Date: Tue, 15 Apr 2008 16:13
17 lines
2000 bytes
»Q« <boxcars@gmx.net> wrote:
> Karl Kleinpaste <invalid@kleinpaste.org> wrote:
>
>> Actually performing "list overview.fmt" is irrelevant: The first N
>> fields are fixed, and everything east of Xref must include its header
>> label.  So if overview.fmt changes this morning, and you're reading
>> articles that arrived last night, so the order of some fields is
>> different between those two times, the header labels still tell the
>> reader how to cope with it.
>
> Whew.  Crisis averted!

Damned be the world!

-- 
Mats Peterson
http://www.geocities.com/matsp888/
Re: Newsreaders and "overview.fmt"?
#219306
Author: Blinky the Shark
Date: Tue, 15 Apr 2008 18:54
83 lines
4510 bytes
Mats Peterson wrote:

> Frank Slootweg <this@ddress.is.invalid> wrote:
>> VanguardLH <V@nguard.lh> wrote:
>>> Bert Hyman wrote:
>>>
>>>> Does any newsreader issue a "list overview.fmt" at startup and then
>>>> adjust its filtering behavior based on what comes back?
>>>>
>>>> I asked that question a couple of years ago and the only example I was
>>>> offered was "tin".
>>>>
>>>> Any more in the intervening time?
>>>
>>> Why does the newsreader have to adapt at all?  If you test on a header
>>> that isn't listed (and won't be returned when you yank the headers),
>>> does it matter if your rule/filter can't find that header?  Won't it
>>> just not fire and go on to exercise the next rule/filter against that
>>> post?
>>
>>   It's not so much the adapting *after* the 'list'-ing, but the
>> 'list'-ing *itself*:
>>
>>   The fields in the xover data are *not* labeled (except for Xref:), so
>> you don't know (for sure) which data belongs to which header.
>>
>>   For example this is the xover data (one big line seperated by tabs)
>> for your article on my server:
>>
>> xover 90321
>> 224 Overview information follows
>> 90321	Re: Newsreaders and "overview.fmt"?	VanguardLH <V@nguard.LH>	Tue,
>> 15 Apr 2008 02:59:18 -0500	<fu1n8j$g53$1@registered.motzarella.org>
>> <Xns9A808B418DB1FVeebleFetzer@127.0.0.1>	1896	15	Xref: localhost
>> news.software.readers:90321
>>
>>   You can *guess* what's what, but you can't *know*, especially not for
>> the MIDs (e-mail address, Message-ID: or References:?), "1896", "15",
>> etc..
>>
>>   But if you do a "list overview.fmt" you *know* what's what:
>>
>> list overview.fmt
>> 215 information follows
>> Subject:
>> From:
>> Date:
>> Message-ID:
>> References:
>> Bytes:
>> Lines:
>> Xref:full
>>
>>   I.e. the first MID is the Message-ID:, the second MID is the
>> References:, 1896 is Byte:, 15 is Lines:, "VanguardLH <V@nguard.LH>" is
>> your From: and not for example your Organization:, etc., etc.
>>
>>   For *most* servers the xover data will be in this order, but it is not
>> *guaranteed* to be the case for all servers, so a newsreader *should*
>> use "list overview.fmt" to be sure.
> 
> From RFC 2980, "Common NNTP Extensions":
> 
> "The sequence of fields must be in this order: subject, author, date,
> message-id, references, byte count, and line count.  Other optional fields
> may follow line count.  These fields are specified by examining the
> response to the LIST OVERVIEW.FMT command."
> 
> To me that sounds like subject, author, date, message-id, references, byte
> count and line count are all required, and in that very order. Are there
> servers out there that don't obey this?

I just checked a too-small-to-be-meaningful sample <g>, and of those six
or seven servers all followed that order.  And one - spamcop.net -
included NNTP-Posting-Host.


-- 
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net
Re: Newsreaders and "overview.fmt"?
#219310
Author: Frank Slootweg
Date: Tue, 15 Apr 2008 19:12
38 lines
2651 bytes
Patrick Lamaizière <adresse@est.invalid> wrote:
> Frank Slootweg écrivait
> 
> >   For *most* servers the xover data will be in this order, but it is
> > not *guaranteed* to be the case for all servers, so a newsreader
> > *should* use "list overview.fmt" to be sure.
> 
> Are you sure? The RFC 2980 states :
>
> 2.8 XOVER
> [...]
> The sequence of fields must be in this order: subject, author, date,
> message-id, references, byte count, and line count.  Other optional
> fields may follow line count.

  You're right. I thought that some of these were optional, but they're
not. The content of the fields can be *empty* (null), but *these* fields
indeed must be returned and must returned in that order.

  But note "*these*" fields! Xref: is *not* part of the required fields
and is specifically mentioned as optional [1], so the need for the
newsreader to use "list overview.fmt" still stands.

> And even :
>
> The LIST OVERVIEW.FMT command should be implemented if XOVER is
> implemented.
> 
> This is a 'RFC' should, not a 'MUST'.

  Yes, that's what I remembered, hence my use of "*should*" ("so a
newsreader *should* use "list overview.fmt" to be sure.").

[1] RFC 2980:

2.1.7 LIST OVERVIEW.FMT
...
   Many newsreaders work better if Xref: is one of the optional fields.
Re: Newsreaders and "overview.fmt"?
#219315
Author: »Q«
Date: Tue, 15 Apr 2008 19:57
8 lines
1616 bytes
Frank Slootweg <this@ddress.is.invalid> wrote:
 
>   But note "*these*" fields! Xref: is *not* part of the required
> fields and is specifically mentioned as optional [1], so the need for
> the newsreader to use "list overview.fmt" still stands.

For the optional fields, including Xref, XOVER returns the header name
as well as the field, so no list overview.fmt is needed.
Re: Newsreaders and "overview.fmt"?
#219320
Author: Frank Slootweg
Date: Tue, 15 Apr 2008 20:41
18 lines
2288 bytes
»Q« <boxcars@gmx.net> wrote:
> Frank Slootweg <this@ddress.is.invalid> wrote:
>  
> >   But note "*these*" fields! Xref: is *not* part of the required
> > fields and is specifically mentioned as optional [1], so the need for
> > the newsreader to use "list overview.fmt" still stands.
> 
> For the optional fields, including Xref, XOVER returns the header name
> as well as the field, so no list overview.fmt is needed.

  Yes, but - assuming sane coding - *before* using xover you will want
to know what it returns. Yes, you *could* try xover for an article
number which you have determined earlier and then look at the output to
determine the format, but using "list overview.fmt" is strongly
preferred over such akward coding. (And yes, since "list overview.fmt"
is optional, a good newsreader needs that akward coding anyway, but it
should *use* that akward code only if "list overview.fmt" is not
implemented.)
Re: Newsreaders and "overview.fmt"?
#219324
Author: »Q«
Date: Tue, 15 Apr 2008 20:52
25 lines
2555 bytes
Frank Slootweg <this@ddress.is.invalid> wrote:

> »Q« <boxcars@gmx.net> wrote:
> > Frank Slootweg <this@ddress.is.invalid> wrote:
> >    
> > >   But note "*these*" fields! Xref: is *not* part of the required
> > > fields and is specifically mentioned as optional [1], so the need
> > > for the newsreader to use "list overview.fmt" still stands.  
> > 
> > For the optional fields, including Xref, XOVER returns the header
> > name as well as the field, so no list overview.fmt is needed.  
> 
>   Yes, but - assuming sane coding - *before* using xover you will want
> to know what it returns. Yes, you *could* try xover for an article
> number which you have determined earlier and then look at the output
> to determine the format, but using "list overview.fmt" is strongly
> preferred over such akward coding. (And yes, since "list overview.fmt"
> is optional, a good newsreader needs that akward coding anyway, but it
> should *use* that akward code only if "list overview.fmt" is not
> implemented.)

Ah, but "would allow nicer algorithms" != "needed".  Wanted, maybe,
though I'm not convinced there's any reason to know what XOVER returns
before using it.
Re: Newsreaders and "overview.fmt"?
#219330
Author: Frank Slootweg
Date: Tue, 15 Apr 2008 21:38
39 lines
3428 bytes
»Q« <boxcars@gmx.net> wrote:
> Frank Slootweg <this@ddress.is.invalid> wrote:
> 
> > »Q« <boxcars@gmx.net> wrote:
> > > Frank Slootweg <this@ddress.is.invalid> wrote:
> > >    
> > > >   But note "*these*" fields! Xref: is *not* part of the required
> > > > fields and is specifically mentioned as optional [1], so the need
> > > > for the newsreader to use "list overview.fmt" still stands.  
> > > 
> > > For the optional fields, including Xref, XOVER returns the header
> > > name as well as the field, so no list overview.fmt is needed.  
> > 
> >   Yes, but - assuming sane coding - *before* using xover you will want
> > to know what it returns. Yes, you *could* try xover for an article
> > number which you have determined earlier and then look at the output
> > to determine the format, but using "list overview.fmt" is strongly
> > preferred over such akward coding. (And yes, since "list overview.fmt"
> > is optional, a good newsreader needs that akward coding anyway, but it
> > should *use* that akward code only if "list overview.fmt" is not
> > implemented.)
> 
> Ah, but "would allow nicer algorithms" != "needed".  Wanted, maybe,
> though I'm not convinced there's any reason to know what XOVER returns
> before using it.

  Well, I used "need" as in "You need a newsreader.", which doesn't mean
you *can't* use OE! :-)

  As for needing to know what XOVER returns before using it, what about
'needing' to know what XOVER returns before deciding that you can't /
don't want to use it? I.e. you're scoring on some header which XOVER
doesn't provide (but you don't know it). Are you going to knock on wood
and do a somewhat expensive XOVER on a range of articles, or a "let's
make xover_single_article look like 'list overview.fmt'" kludge, or just
a real 'list overview.fmt'? Call me silly, but I'd do the latter.

  But perhaps actual newsreader/News-software authors/maintainers could
comment instead of mere mortals like us?
Re: Newsreaders and "overview.fmt"?
#219331
Author: Mike Easter
Date: Tue, 15 Apr 2008 21:48
24 lines
2552 bytes
Bert Hyman wrote:

> Then if xover is implemented, but "list overview.fmt" isn't, you'll
> just have to assume that the overview format is 'standard'.
>
> None of which addresses my original whining about news readers being
> inflexible and unable to address additional fields that might be
> present.

When the spamcop newsgroups were having some trouble with a spoofer
posting via proxy with occasional variability, I asked the admin (who
didn't want to have to admin the newsserver) if he would put the NPH
into the overview, which he did.

Then I/we were able to use Nfilter to filter on the nph in the overview
and everything got filtered hunkydory.  Periodically it was necessary to
add another IP.  When the spoofer mostly disappeared from the reading
posters view and they stopped whining about hir, s/he went away.

And hasn't been back since, in years.

--
Mike Easter
Re: Newsreaders and "overview.fmt"?
#219332
Author: Mike Easter
Date: Tue, 15 Apr 2008 21:56
8 lines
1895 bytes
Blinky the Shark wrote:
> And one - spamcop.net -
> included NNTP-Posting-Host.

See news:TPqdnUaxT7Ltv5jVnZ2dnUVZ_rOqnZ2d@earthlink.com

-- 
Mike Easter
Re: Newsreaders and "overview.fmt"?
#219338
Author: Karl Kleinpaste
Date: Tue, 15 Apr 2008 23:04
20 lines
2618 bytes
Frank Slootweg <this@ddress.is.invalid> writes:
> so the need for the
> newsreader to use "list overview.fmt" still stands.

There is never a need to use "list overview.fmt" (regardless of claims
in the RFC) because there is no guarantee that last night's articles'
overviews were created with today's overview.fmt-specified order, yet
the reader must still be able to handle last night's articles.

What should the reader do, if there is a cron job on the INN server
which alters overview.fmt on a per-minute basis, so that Xref, Keywords,
Newsgroups, NNTP-Posting-Host, and Content-Type are all present, but
each per-minute change alters the order in which they are present?

It shouldn't bother the reader one iota.  Every article's overview
necessarily includes all the required information to determine what each
field eastward from Xref contains, because the header name is there.

"list overview.fmt" is not only not necessary, it is an actively bad
idea, because it may well be wrong.
Re: Newsreaders and "overview.fmt"?
#219343
Author: Blinky the Shark
Date: Tue, 15 Apr 2008 23:13
17 lines
1910 bytes
Mike Easter wrote:

> Blinky the Shark wrote:
>> And one - spamcop.net -
>> included NNTP-Posting-Host.
> 
> See news:TPqdnUaxT7Ltv5jVnZ2dnUVZ_rOqnZ2d@earthlink.com

I read that a few minutes ago.  :)


-- 
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net
Re: Newsreaders and "overview.fmt"?
#219218
Author: Marco Schmidt
Date: Wed, 16 Apr 2008 02:30
47 lines
2632 bytes
[Crossposted & Fup2 news.software.nntp]

»Q«:

>>   But note "*these*" fields! Xref: is *not* part of the required
>> fields and is specifically mentioned as optional [1], so the need for
>> the newsreader to use "list overview.fmt" still stands.
>
>For the optional fields, including Xref, XOVER returns the header name
>as well as the field, so no list overview.fmt is needed.

BTW, the one news server mentioned in this thread which does support a
non-standard field doesn't seem to do this with that particular field.
The last field as given by xover is just a host name without
"NNTP-Posting-Host:" preceding it. However, the column to the left
starts with "Xref:" as expected. Here's what I did:

===
telnet news.spamcop.net 119
200 news.spamcop.net InterNetNews NNRP server INN 2.3.2 ready (posting
ok).
group spamcop.routing
211 74 9399 9472 spamcop.routing
xover 9399
224 9399 fields follow
9399    GWBN 220.113.33.0-220.113.33.255        Patto
<nobody@devnull.spamcop.net>      Thu, 07 Feb 2008 11:33:03 +0900
<fodqkv$snu$1@news.spamcop.net>             1117    13      Xref:
news.spamcop.net spamcop.routing:9399
218-42-148-249.cust.bit-drive.ne.jp
..
list overview.fmt
215 Order of fields in overview database.
Subject:
From:
Date:
Message-ID:
References:
Bytes:
Lines:
Xref:full
NNTP-Posting-Host:
..
===

Is there maybe a "full" missing at the end of the NNTP-Posting-Host:
line and this is just a configuration issue?
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