[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] only_groups_pcre and crossposting



* Matthias Andree <matthias.andree@xxxxxx> [2004-03-16 04:04 +0100]:
> Joshua Crawford schrieb am 2004-03-13:
> 
> > So, as I understand it (and wish it to be), any posts that aren't to a
> > binaries group or to alt.cmm will be posted through Individual and those
> > that are, through my ISP. But, just now, I tried sending a crosspost, with a
> > binaries group listed second
> > (alt.fan.robert-jordan,alt.binaries.fan.robert-jordan) and found the post in
> > failed.postings:
> > 
> >   Mar 13 12:43:20 bruce fetchnews[26997]: postarticles: Article file 26713-1079141744-2 Message-ID <g45ai1-p2q.ln1@xxxxxxxxxxxxxxxxxxxxxxxxxxx> was rejected: "441 437 Poison newsgroup"
> 
> Strange. I know there is such a kind of newsgroup in some servers that
> refuses your post as you try to crosspost into that "poison" newsgroup.
> 
> What makes me wonder is that the order determines whether you can post.
> 
> Here's how it works: for all newsgroups listed in the Newsgroups:
> header, leafnode will first check if it matches only_groups_pcre.  If it
> does, it will try to issue a GROUP group.name command. If the server
> replies with a 211 status code, the search is aborted and the article is
> posted.

So, just checking I understand what you said, with the first article,
alt.fan.robert-jordan exists on Individual, so fetchnews attempts to post it
and it gets rejected because of the crosspost, whereas with the other, with
the binaries group first, it isn't even attempted because of the pcre?

Shouldn't the pcre be applied to all groups in the Newsgroups: header,
before attempting to post? That is the problem here, it seems. I'd have
thought that, with the pcre I use, any article with a binaries group would
not be tried on Individual.

> > I switched the order of the groups around and it posted fine through my ISP:
> > 
> >   Mar 13 12:46:56 bruce fetchnews[27039]: leafnode 1.9.51.rel: verbosity level is 2, debugmode is 0
> >   Mar 13 12:46:59 bruce fetchnews[27039]: connected to 130.133.1.4:119, reply: 200
> >   Mar 13 12:47:03 bruce fetchnews[27039]: postarticles: file 26713-1079141744-2: server does not carry Newsgroups: alt.binaries.fan.robert-jordan
> >   Mar 13 12:47:03 bruce fetchnews[27039]: news.individual.net: 0 articles posted
> 
> > Is this a leafnode bug, or am I misunderstanding how PCRE's work?
> 
> I have fixed  one bug in the logging - the copy of the Newsgroups:
> header is parsed destructively and after that (when it's broken) used
> for logging. That cannot result in proper logging - only the first Newsgroup
> is listed in the log line (3rd from the top).
> 
> The ordering of the groups should not matter. I wonder if there is more
> than a logging bug. If you should have mistyped the alt.fan... group
> when you swapped the groups, you would not have seen this in the log and
> your 2nd server may still have accepted the alt.binaries* post.

No typoes. If you wish to see that article for yourself, its message ID is
in the log above.

> Please retry with 1.9.52.rc4.

Ok. Unedited logs below. Article 22353-1079421056-1 had 'Newsgroups:
alt.binaries.test,alt.test' and 22356-1079421058-1 had 'Newsgroups:
alt.test,alt.binaries.test'.

Output of fetchnews -Pvvv:
leafnode 1.9.52.rc4: verbosity level is 4, debugmode is 1
news.individual.net: connecting to port nntp... connected.
news.individual.net: using STAT <message-ID> command.
news.individual.net: 0 articles posted.
news.individual.net: disconnected.
news.mel.connect.com.au: connecting to port nntp... connected.
news.mel.connect.com.au: using STAT <message-ID> command.
postarticles: POST of article 22353-1079421056-1 OK
news.mel.connect.com.au: 1 articles posted.
news.mel.connect.com.au: disconnected.
freenews.netfront.net: connecting to port nntp... connected.
freenews.netfront.net: using STAT <message-ID> command.
Not posting to freenews.netfront.net: nopost-set 
freenews.netfront.net: disconnected.
allnews.readfreenews.net: connecting to port 120... connected.
allnews.readfreenews.net: using STAT <message-ID> command.
Not posting to allnews.readfreenews.net: non-permission nopost-set 
allnews.readfreenews.net: disconnected.

and the log:
Mar 16 18:11:50 bruce fetchnews[22364]: config: debugmode is 1
Mar 16 18:11:50 bruce fetchnews[22364]: config: link articles in all groups
Mar 16 18:11:50 bruce fetchnews[22364]: config: expire is 30 days
Mar 16 18:11:50 bruce fetchnews[22364]: config: hostname is ID-92747.user.uni-berlin.de
Mar 16 18:11:50 bruce fetchnews[22364]: config: server is news.individual.net
Mar 16 18:11:50 bruce fetchnews[22364]: config: found username for news.individual.net
Mar 16 18:11:50 bruce fetchnews[22364]: config: found password for news.individual.net
Mar 16 18:11:50 bruce fetchnews[22364]: config: only_groups_pcre for news.individual.net is (?!(alt\.binaries|alt\.cmm))
Mar 16 18:11:50 bruce fetchnews[22364]: config: server is news.mel.connect.com.au
Mar 16 18:11:50 bruce fetchnews[22364]: config: server is freenews.netfront.net
Mar 16 18:11:50 bruce fetchnews[22364]: config: nopost for freenews.netfront.net is 1
Mar 16 18:11:50 bruce fetchnews[22364]: config: server is allnews.readfreenews.net
Mar 16 18:11:50 bruce fetchnews[22364]: config: nopost for allnews.readfreenews.net is 1
Mar 16 18:11:50 bruce fetchnews[22364]: config: nntpport is 120
Mar 16 18:11:50 bruce fetchnews[22364]: config: no active file updates for allnews.readfreenews.net
Mar 16 18:11:50 bruce fetchnews[22364]: leafnode 1.9.52.rc4: verbosity level is 4, debugmode is 1
Mar 16 18:11:50 bruce fetchnews[22364]: try_lock(timeout=5), fqdn="ID-92747.user.uni-berlin.de"
Mar 16 18:11:52 bruce fetchnews[22364]: <200 The server welcomes acc1-ppp1.mrn.dialup.connect.net.au (210.10.236.1). Authorization required for reading and posting.
Mar 16 18:11:52 bruce fetchnews[22364]: connected to 130.133.1.4:119, reply: 200
Mar 16 18:11:52 bruce fetchnews[22364]: <381 PASS required
Mar 16 18:11:53 bruce fetchnews[22364]: <281 Authentication accepted. (UID=92747)
Mar 16 18:11:53 bruce fetchnews[22364]: <200 You are already in this mode. Ignored.
Mar 16 18:11:53 bruce fetchnews[22364]: postarticles: file 22353-1079421056-1: server does not carry Newsgroups: alt.binaries.test,alt.test
Mar 16 18:11:54 bruce fetchnews[22364]: <211 32400 2629046 2814549 alt.test
Mar 16 18:11:54 bruce fetchnews[22364]: <430 No such article
Mar 16 18:11:54 bruce fetchnews[22364]: postarticles: trying to post file 22356-1079421058-1 Message-ID <2tlii1-kql.ln1@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Mar 16 18:11:55 bruce fetchnews[22364]: <340 Ok, recommended ID <c369bq$230ce0$1@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Mar 16 18:11:59 bruce fetchnews[22364]: <430 No such article
Mar 16 18:11:59 bruce fetchnews[22364]: postarticles: Article file 22356-1079421058-1 Message-ID <2tlii1-kql.ln1@xxxxxxxxxxxxxxxxxxxxxxxxxxx> was rejected: "441 437 Poison newsgroup"
Mar 16 18:11:59 bruce fetchnews[22364]: moving file 22356-1079421058-1 to failed.postings
Mar 16 18:11:59 bruce fetchnews[22364]: news.individual.net: 0 articles posted.
Mar 16 18:11:59 bruce fetchnews[22364]: <111 20040316071159
Mar 16 18:11:59 bruce fetchnews[22364]: check_date: news.individual.net: server time 1079421119, our time 1079421119
Mar 16 18:12:00 bruce fetchnews[22364]: <200 news.mel.connect.com.au InterNetNews NNRP server INN 2.2 21-Jan-1999 ready (posting ok).
Mar 16 18:12:00 bruce fetchnews[22364]: connected to 192.189.54.5:119, reply: 200
Mar 16 18:12:01 bruce fetchnews[22364]: <200 news.mel.connect.com.au InterNetNews NNRP server INN 2.2 21-Jan-1999 ready (posting ok).
Mar 16 18:12:02 bruce fetchnews[22364]: <211 104939 4176123 4658195 alt.binaries.test
Mar 16 18:12:02 bruce fetchnews[22364]: <430 No such article
Mar 16 18:12:02 bruce fetchnews[22364]: postarticles: trying to post file 22353-1079421056-1 Message-ID <0tlii1-hql.ln1@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Mar 16 18:12:02 bruce fetchnews[22364]: <340 Ok
Mar 16 18:12:03 bruce fetchnews[22364]: news.mel.connect.com.au: 1 articles posted.
Mar 16 18:12:04 bruce fetchnews[22364]: <111 20040316071203
Mar 16 18:12:04 bruce fetchnews[22364]: check_date: news.mel.connect.com.au: server time 1079421123, our time 1079421124
Mar 16 18:12:06 bruce fetchnews[22364]: <200 news.netfront.net InterNetNews NNRP server INN 2.3.5 ready (posting ok).
Mar 16 18:12:06 bruce fetchnews[22364]: connected to 202.177.16.121:119, reply: 200
Mar 16 18:12:06 bruce fetchnews[22364]: <200 news.netfront.net InterNetNews NNRP server INN 2.3.5 ready (posting ok).
Mar 16 18:12:07 bruce fetchnews[22364]: <111 20040316071207
Mar 16 18:12:07 bruce fetchnews[22364]: check_date: freenews.netfront.net: server time 1079421127, our time 1079421127
Mar 16 18:12:08 bruce fetchnews[22364]: <201 puce.readfreenews.net NNRP Service Ready - news@xxxxxxxxxxxxxxxx (no posting).
Mar 16 18:12:08 bruce fetchnews[22364]: connected to 209.98.50.129:120, reply: 201
Mar 16 18:12:09 bruce fetchnews[22364]: <201 puce.readfreenews.net NNRP Service Ready - news@xxxxxxxxxxxxxxxx (no posting).
Mar 16 18:12:09 bruce fetchnews[22364]: <111 20040316071209
Mar 16 18:12:09 bruce fetchnews[22364]: check_date: allnews.readfreenews.net: server time 1079421129, our time 1079421129
-- 
Joshua 'bruce' Crawford ... http://www.geocities.com/mortarn

"Great thinkers have always encountered violent opposition from mediocre
minds." -Albert Einstein

Attachment: pgp00002.pgp
Description: PGP signature

-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
http://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/