Thread View: news.software.nntp
4 messages
4 total messages
Started by Joe Hartley
Mon, 24 Feb 1997 00:00
INN1.5.1 - how is crosspost supposed to work??
Author: Joe Hartley
Date: Mon, 24 Feb 1997 00:00
Date: Mon, 24 Feb 1997 00:00
40 lines
2351 bytes
2351 bytes
I just upgraded INN from 1.4 to 1.5.1, and I'm a bit confused by
crossposting.
I have the crosspost line in newsfeeds, like so:
crosspost:*:Tc,Ap,WR:/usr/local/news/bin/crosspost
and I start innd with the -L flag in rc.news (boy, does the error
log get filled if you don't! crosspost tries to do the crosspost,
only to find that innd's already done it!).
I then posted an article to a couple of local groups by listing them
both on the newsgroups line: local.announce,local.help
When I looked at the groups a few minutes later, both groups had
the post, and I read the article in local.announce. I then went
into local.help, and there was the article, all ready to be read
a second time! Under 1.4, a crossposting like that would be
read once, and my reader would realize that it's a crossposting, and
that if I read it in group 1, I've read it in group 2. (I'm
reading news with Nutscrape 2.02 on a Sun, if you must know!)
According to the manpage for crosspost, it tries to make a hard
first, and failing that, makes a symbolic link. Is the fact that
crosspost has made a hard link here responsible for the reader
not realizing it's already seen the article?
I'm not sure if I've done something wrong in the upgrade process,
or if this is just normal. If the latter, I must say that I don't
like it!!
Any pointers to getting the original functionality back are
greatly appreciated.
--
========================================================================
Joe Hartley - jh@brainiac.com - brainiac services, inc
PO Box 5069 : Greene, RI : 02827 - vox 401.539.9050 : fax 401.539.2070
Without deviation from the norm, "progress" is not possible. - FZappa
Re: INN1.5.1 - how is crosspost supposed to work??
Author: Joe Hartley
Date: Thu, 27 Feb 1997 00:00
Date: Thu, 27 Feb 1997 00:00
61 lines
3207 bytes
3207 bytes
Jerry Aguirre wrote:
> When a reader sees an article it (can) take note of a header line
> called the "Xref:". This line lists the article numbers in the other
> groups that it is posted to. A smart reader will note these
> gruoup/number entries and mark the article as already read in those
> groups.
>
> Where this usually fails is in the identification of the news server
> name. When innd files the article it puts its "news" name in the Xref
> header. The reader checks this name against what it thinks the news
> server's name is. If they don't match then the reader ignores the Xref
> header and you see articles multiple times.
>
> So your news server might be putting:
>
> Xref: brainiac.com news.software.nntp/1234 comp.dcom.nntp/5678
This is exactly what's happening. The name used in the Xref: header
is defined in inn.conf with the pathhost variable. The docs from my
backbone provider say that using the domain name rather than the FQDN
is preferable here.
> But your reader might be configured to use "news1.brainiac.com" as its
> server. These strings do not agree so the reader ignores the Xref
> header. (Because it thinks it is left over from some upstream host and
> therefor has the wrong numbers.)
Given this, I decided that Nutscrape could be at fault as the reader,
so I decided to look at some items I knew would be crossposted, using
an old-fashioned grep in the filesystem.
Oddly enough, I noticed a that a message crossposted to the two guitar
tablature groups (rec.music.makers.guitar.tab and alt.guitar.tab) read
in one
group was correctly dropped from the other in my reader! A clance at
the
header shows this:
> Xref: brainiac.com rec.music.makers.guitar.tablature:1166 alt.guitar.tab:2631
This is the same Xref: format as my posts to the local groups, which
did *not* get recognized by my reader:
> Xref: brainiac.com brainiac.help:39 brainiac.announce:22
The only differences I can see is that I posted the message as opposed
to someone else, and that I accessed the new messages almost
immediately.
Maybe I didn't give it time to get into the overview database.
Thanks for the tutorial; it's greatly appreciated, and it appears that
INN is running just fine.
--
========================================================================
Joe Hartley - jh@brainiac.com - brainiac services, inc
PO Box 5069 : Greene, RI : 02827 - vox 401.539.9050 : fax 401.539.2070
Without deviation from the norm, "progress" is not possible. - FZappa
Re: INN1.5.1 - how is crosspost supposed to work??
Author: Jerry Aguirre
Date: Thu, 27 Feb 1997 00:00
Date: Thu, 27 Feb 1997 00:00
62 lines
3329 bytes
3329 bytes
In article <33124C95.794BDF32@brainiac.com>, Joe Hartley <jh@brainiac.com> wrote: >I have the crosspost line in newsfeeds, like so: > crosspost:*:Tc,Ap,WR:/usr/local/news/bin/crosspost >and I start innd with the -L flag in rc.news (boy, does the error >log get filled if you don't! crosspost tries to do the crosspost, >only to find that innd's already done it!). ... >When I looked at the groups a few minutes later, both groups had >the post, and I read the article in local.announce. I then went Congradulations! It sounds like crosspost is doing exactly what it is supposed to. >into local.help, and there was the article, all ready to be read >a second time! Under 1.4, a crossposting like that would be >read once, and my reader would realize that it's a crossposting, and >that if I read it in group 1, I've read it in group 2. (I'm >reading news with Nutscrape 2.02 on a Sun, if you must know!) Your confused. Crosspost is doing exactly what innd would have done if you didn't use the -L flag. The reason for using crosspost is to move some of the workload out of innd, This allows you to process articles more quickly. >According to the manpage for crosspost, it tries to make a hard >first, and failing that, makes a symbolic link. Is the fact that >crosspost has made a hard link here responsible for the reader >not realizing it's already seen the article? No, hard links and symbolic links are to handle the case where you have the spool on one file system vs. split across multiple file systems. Readers do not look at whether a file is a hard vs. symbolic link. When a reader sees an article it (can) take note of a header line called the "Xref:". This line lists the article numbers in the other groups that it is posted to. A smart reader will note these gruoup/number entries and mark the article as already read in those groups. Where this usually fails is in the identification of the news server name. When innd files the article it puts its "news" name in the Xref header. The reader checks this name against what it thinks the news server's name is. If they don't match then the reader ignores the Xref header and you see articles multiple times. So your news server might be putting: Xref: brainiac.com news.software.nntp/1234 comp.dcom.nntp/5678 But your reader might be configured to use "news1.brainiac.com" as its server. These strings do not agree so the reader ignores the Xref header. (Because it thinks it is left over from some upstream host and therefor has the wrong numbers.) You may be able to configure your news reader to have the correct name or to be more accepting in matching the names. It depends on the news reader.
Re: INN1.5.1 - how is crosspost supposed to work??
Author: Per Hedeland
Date: Fri, 28 Feb 1997 00:00
Date: Fri, 28 Feb 1997 00:00
31 lines
1885 bytes
1885 bytes
In article <5f3bgm$1v2$1@fes.whowhere.com> jerry@rigel.whowhere.com (Jerry Aguirre) writes: >So your news server might be putting: > > Xref: brainiac.com news.software.nntp/1234 comp.dcom.nntp/5678 > >But your reader might be configured to use "news1.brainiac.com" as its >server. These strings do not agree so the reader ignores the Xref >header. (Because it thinks it is left over from some upstream host and >therefor has the wrong numbers.) Do any modern readers really do this? I know rn did originally - it had to, as it *introduced* the Xref header (as a patch to *B* news:-), and thus obviously couldn't rely on all servers implementing it. But even trn 3.6, which isn't exactly brand-new, has #undef VALIDATE_XREF_SITE /* are xrefs possibly invalid? */ ^^^^^^ in common.h (dated 1992/02/23), and doesn't care at all about the Xref hostname (mine is quite different from the server's hostname) - which makes perfect sense as Xref can now be considered ubiquitous. The authors of the recent slew of Windoze etc readers typically seem to have problems understanding the purpose of Xref in the first place, let alone figuring out why there's a hostname in there...:-) --Per Hedeland per@erix.ericsson.se
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