🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51169

[long] slrn and XPAT command

#51169
From: Renaud Colinet
Date: Tue, 13 Mar 2001 18:40
276 lines
9524 bytes
[Xpost ns.readers/ns.nntp, fu2 ns.nntp]

Hi

To find the children of a post, slrn uses an XPAT command. However, on
the server I usually use, this command returns more articles than it
should (i.e articles that don't have the original Msg-ID in their
References: field).
If I try it on another server, only the right articles are retrieved.

At this point my conclusion is: either slrn uses an incorrect XPAT
syntax that some servers may interpret wrongly, or XPAT is wrongly
implemented on my favourite server.

Reading RFC2980 didn't help much, since I don't know what a correct
search pattern should look like in an XPAT.
AFAI can see, slrn uses the command:
XPAT References <header-range> *<original-MsgId>* 

Following are the logs of 2 slrn sessions, the first one giving correct
results, the second incorrect results: (unnecessary data expunged)

-------------------------------------------------------------

<201 univ-angers.fr InterNetNews NNRP server INN 2.2 21-Jan-1999 ready (no posting).
>MODE READER
>
[...]
>GROUP comp.mail.mutt
>

<211 65 48 6944 comp.mail.mutt
>XOVER 6916-6916
>

<224 data follows
<6916	Changing Mailbox without 'c'	Michael Velten <xxxxxx@xxxxxxx.xx>	Sat, 10 Mar 2001 15:56:51 +0100	<D01-03-10.T15-56-51@blowfish.michnet.de>		1164	16	Xref: univ-angers.fr comp.mail.mutt:6916
<.
>XPAT
>

<501 header range|MessageID pat [morepat...]
>XPAT References 48-6944 *<D01-03-10.T15-56-51@blowfish.michnet.de>*
>

<221 References matches follow.
<6917 <D01-03-10.T15-56-51@blowfish.michnet.de>
<6919 <D01-03-10.T15-56-51@blowfish.michnet.de> <984282918SVW.fvw@var.cx>
<6920 <D01-03-10.T15-56-51@blowfish.michnet.de>
<.
>XOVER 6917-6917
>

<224 data follows
<6917	Re: Changing Mailbox without 'c'	xxxxxxxxxx@xxx.xx (fvw)	Sun, 11 Mar 2001 03:56:22 GMT	<984282918SVW.fvw@var.cx>	<D01-03-10.T15-56-51@blowfish.michnet.de>	1505	16	Xref: univ-angers.fr comp.mail.mutt:6917
<.
>XOVER 6919-6919
>

<224 data follows
<6919	Re: Changing Mailbox without 'c'	Michael Velten <xxxxxx@xxxxxxx.xx>	Sun, 11 Mar 2001 13:20:13 +0100	<D01-03-11.T13-20-13@blowfish.michnet.de>	<D01-03-10.T15-56-51@blowfish.michnet.de> <984282918SVW.fvw@var.cx>	1364	17	Xref: univ-angers.fr comp.mail.mutt:6919
<.
>XOVER 6920-6920
>

<224 data follows
<6920	Re: Changing Mailbox without 'c'	xxxxx.xxxx@xxxxx.xxx (Dave Pearson)	11 Mar 2001 14:43:10 GMT	<slrn9an3nu.56l.davep.news@hagbard.davep.org>	<D01-03-10.T15-56-51@blowfish.michnet.de>	1911	23	Xref: univ-angers.fr comp.mail.mutt:6920
<.
>XPAT References 48-6944 *<984282918SVW.fvw@var.cx>*
>

<221 References matches follow.
<6919 <D01-03-10.T15-56-51@blowfish.michnet.de> <984282918SVW.fvw@var.cx>
<.
>XPAT References 48-6944 *<D01-03-11.T13-20-13@blowfish.michnet.de>*
>

<221 References matches follow.
<.
>XPAT References 48-6944 *<slrn9an3nu.56l.davep.news@hagbard.davep.org>*
>

<221 References matches follow.
<.
>QUIT
>

----------------------------------------------------
<200 Bonjour les Freenautes qui viennent de chez les autres!! (Typhoon v1.2.2-pre1)
>MODE READER
>
[...]
<281 Authentication Accepted
>XOVER
[...]
>GROUP comp.mail.mutt
>

<211 42 6323 6365 comp.mail.mutt
>XOVER 6338-6338
>

<224 Overview Information Follows
<6338	Changing Mailbox without 'c'	Michael Velten <xxxxxx@xxxxxxx.xx>	Sat, 10 Mar 2001 15:56:51 +0100	<D01-03-10.T15-56-51@blowfish.michnet.de>		1272	16	Xref: feeder2.proxad.net comp.mail.mutt:6338
<.
>XPAT
>

<501 Bad Command Usage
>XPAT References 6323-6365 *<D01-03-10.T15-56-51@blowfish.michnet.de>*
>

<221 references fields follow
<6325 
<6333 
<6338 
<6339 <D01-03-10.T15-56-51@blowfish.michnet.de>
<6341 <D01-03-10.T15-56-51@blowfish.michnet.de> <984282918SVW.fvw@var.cx>
<6342 <D01-03-10.T15-56-51@blowfish.michnet.de>
<6344 
<6345 
<6346 
<6347 
<6348 
<6351 
<6354 
<6359 
<6365 
<.
>XOVER 6325-6325
>

<224 Overview Information Follows
<6325	Raw headers	xxx@xxx.xxx.xxx (raf)	Thu, 08 Mar 2001 21:55:28 GMT	<slrn9afvuo.qj.raf@a24b94n88client20.hawaii.rr.com>		850	2	Xref: feeder2.proxad.net comp.mail.mutt:6325
<.
>XOVER 6333-6333
>

<224 Overview Information Follows
<6333	Mutt and apop errors	"Sean Rima" <xxxx.xxxxxxxxx.xxxx.xx.xx@xxxx.xxxxx.xxx>	Fri, 09 Mar 2001 00:16:54 GMT	<MSGID_2=3a263=2f950_3aa81f6c@fidonet.org>		1708	28	Xref: feeder2.proxad.net comp.mail.mutt:6333
<.
>XOVER 6339-6339
>

<224 Overview Information Follows
<6339	Re: Changing Mailbox without 'c'	xxx+xxxxxx@xxx.xx (fvw)	Sun, 11 Mar 2001 03:56:22 GMT	<984282918SVW.fvw@var.cx>	<D01-03-10.T15-56-51@blowfish.michnet.de>	1541	16	Xref: feeder2.proxad.net comp.mail.mutt:6339
<.
>XOVER 6341-6341
>

<224 Overview Information Follows
<6341	Re: Changing Mailbox without 'c'	Michael Velten <xxxxxx@xxxxxxx.xx>	Sun, 11 Mar 2001 13:20:13 +0100	<D01-03-11.T13-20-13@blowfish.michnet.de>	<D01-03-10.T15-56-51@blowfish.michnet.de> <984282918SVW.fvw@var.cx>	1441	17	Xref: feeder2.proxad.net comp.mail.mutt:6341
<.
>XOVER 6342-6342
>

<224 Overview Information Follows
<6342	Re: Changing Mailbox without 'c'	xxxxx.xxxx@xxxxx.xxx (Dave Pearson)	11 Mar 2001 14:43:10 GMT	<slrn9an3nu.56l.davep.news@hagbard.davep.org>	<D01-03-10.T15-56-51@blowfish.michnet.de>	1945	23	Xref: feeder2.proxad.net comp.mail.mutt:6342
<.
>XOVER 6344-6344
>

<224 Overview Information Follows
<6344	imap speed	Christoph <xxxxxxx@xxxxx.xxx>	Sun, 11 Mar 2001 19:46:00 +0100	<ssonnic-F3DAC2.19460011032001@nathan.rz.tu-harburg.de>		1047	10	Xref: feeder2.proxad.net comp.mail.mutt:6344
<.
>XOVER 6345-6345
>

<224 Overview Information Follows
<6345	functionality of 'group reply'	xxxxxxxxx@xxxx.xxxxxxxx.xx (Tim Schlotfeldt)	11 Mar 2001 19:15:58 GMT	<slrn9anjne.plf.SpamExp12@tfly.toppoint.de>		1545	26	Xref: feeder2.proxad.net comp.mail.mutt:6345
<.
>XOVER 6346-6346
>

<224 Overview Information Follows
<6346	move messages to mbox before reading	"Dr. Thomas Bengs" <xxxx@xxxxxx.xx-xxxxxxxx.xx>	11 Mar 2001 20:20:02 +0100	<98gj52$5pq$1@virago.in-chemnitz.de>		1304	14	Xref: feeder2.proxad.net comp.mail.mutt:6346
<.
>XOVER 6347-6347
>

<224 Overview Information Follows
<6347	Template with mutt	xxxxxxx@xxxxxx.xx (Laurent Rathle)	Mon, 12 Mar 2001 07:28:03 +0000 (UTC)	<Xns906256344B328lrathleteaserfr@213.91.2.138>		913	12	Xref: feeder2.proxad.net comp.mail.mutt:6347
<.
>XOVER 6348-6348
>

<224 Overview Information Follows
<6348	Error sending message	"Adrian Davis" <xxxxxx.xxxxx@xxxxxxxx.xxx.xx>	Mon, 12 Mar 2001 10:06:37 -0000	<98i71p$5oj$1@reader-00.news.insnet.cw.net>		1230	14	Xref: feeder2.proxad.net comp.mail.mutt:6348
<.
>XOVER 6351-6351
>

<224 Overview Information Follows
<6351	Question about index and Bcc	xxxxx.xxxx@xxxxxxxx.xxx (Georg Denk)	Mon, 12 Mar 2001 12:14:26 MET	<2001Mar12.121426@ultra>		1100	22	Xref: feeder2.proxad.net comp.mail.mutt:6351
<.
>XOVER 6354-6354
>

<224 Overview Information Follows
<6354	Folders over NFS	xxxxxxxx@xxxxx.xx.xxx.xx (=?iso-8859-1?Q?M=E5ns?= Nilsson)	12 Mar 2001 12:49:38 GMT	<slrn9aphf0.ikt.mansaxel@igloo.df.lth.se>		1139	12	Xref: feeder2.proxad.net comp.mail.mutt:6354
<.
>XOVER 6359-6359
>

<224 Overview Information Follows
<6359	saving messages to receiver ?	Georg Umgiesser <xxxxx@xxxxx.xx.xxx.xx>	Mon, 12 Mar 2001 13:50:11 +0100	<3AACC603.5685FB24@isdgm.ve.cnr.it>		1764	26	Xref: feeder2.proxad.net comp.mail.mutt:6359
<.
>XOVER 6365-6365
>

<224 Overview Information Follows
<6365	not-quoting empty lines, howto?	Robert Fuhrberg <xxxxxxxxx@xxx.xxx>	Tue, 13 Mar 2001 01:43:11 +0100	<veqj89.1o1.ln@ID-10163.user.dfncis.de>		1145	13	Xref: feeder2.proxad.net comp.mail.mutt:6365
<.
>XPAT References 6323-6365 *<984282918SVW.fvw@var.cx>*
>

<221 references fields follow
<6325 
<6333 
<6338 
<6341 <D01-03-10.T15-56-51@blowfish.michnet.de> <984282918SVW.fvw@var.cx>
<6344 
<6345 
<6346 
<6347 
<6348 
<6351 
<6354 
<6359 
<6365 
<.
>XPAT References 6323-6365 *<D01-03-11.T13-20-13@blowfish.michnet.de>*
>

<221 references fields follow
<6325 
<6333 
<6338 
<6344 
<6345 
<6346 
<6347 
<6348 
<6351 
<6354 
<6359 
<6365 
<.
>XPAT References 6323-6365 *<slrn9an3nu.56l.davep.news@hagbard.davep.org>*
>

<221 references fields follow
<6325 
<6333 
<6338 
<6344 
<6345 
<6346 
<6347 
<6348 
<6351 
<6354 
<6359 
<6365 
<.
>QUIT
>

-----------------------------------------------------

So, should I turn to Thomas Schultz or to my newsadmin? ;-)

TIA,
-- 
Renaud
Technical Details
Message-ID: <RQtr6.140$KH2.554160@nnrp1.proxad.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!freenix!fr.usenet-edu.net!usenet-edu.net!proxad.net!feeder2.proxad.net!nnrp1.proxad.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <RQtr6.140$KH2.554160@nnrp1.proxad.net>
Subject: [long] slrn and XPAT command
Date: Tue, 13 Mar 2001 18:40:49 GMT
From: rcolinet@free.invalid (Renaud Colinet)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!freenix!fr.usenet-edu.net!usenet-edu.net!proxad.net!feeder2.proxad.net!nnrp1.proxad.net.POSTED!not-for-mail
Newsgroups: news.software.nntp,news.software.readers
Reply-To: rcolinet@free.fr
Followup-To: news.software.nntp
Mail-Copies-To: never
User-Agent: slrn/0.9.6.4pl3 (Win32)
Lines: 275
NNTP-Posting-Host: 57.67.14.37
X-Complaints-To: abuse@proxad.net
X-Trace: nnrp1.proxad.net 984508849 57.67.14.37 (Tue, 13 Mar 2001 19:40:49 MET)
NNTP-Posting-Date: Tue, 13 Mar 2001 19:40:49 MET
Organization: Guest of ProXad - France