🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88280

Wrong output for XPAT command

#88280
From: Aioe
Date: Sun, 29 Mar 2020 12:53
73 lines
2997 bytes
After tree days spent trying to understand why some of my scripts run into 
some strange errors i've probably found an INN bug.
With INN 2.5.4 *and* 2.6 INN, when a message is posted, XPAT database is 
*not* updated with data about new messages sent by the client until it 
doesn't close the connection used to post articles

-----
$ telnet localhost 119
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 control.aioe.org InterNetNews NNRP server INN 2.5.4 ready (posting ok)
group local.test
211 25 1064 1088 local.test
post
340 Ok, recommended message-ID <r5q4sg$has$1@control.aioe.org>
Newsgroups: local.test
From: a@b.c
Subject: TEST 12

amma
.
240 Article received <r5q4sg$has$1@control.aioe.org>
post
340 Ok, recommended message-ID <r5q4t4$has$2@control.aioe.org>
References: <r5q4sg$has$1@control.aioe.org>
Newsgroups: local.test
From: a@b.c
Subject: Re: test

nann
.
240 Article received <r5q4t4$has$2@control.aioe.org>
xpat References 1- <r5q4sg$has$1@control.aioe.org>
221 Header or metadata information for References follows (from overview)
.
head 1090
221 1090 <r5q4t4$has$2@control.aioe.org> head
Path: control.aioe.org!.POSTED!not-for-mail
From: a@b.c
Newsgroups: local.test
Subject: Re: test
Date: Sun, 29 Mar 2020 12:39:32 +0000 (UTC)
Organization: Aioe.org NNTP Server
Lines: 1
Message-ID: <r5q4t4$has$2@control.aioe.org>
References: <r5q4sg$has$1@control.aioe.org>
X-Trace: control.aioe.org 1585485572 17756 127.0.0.1 (29 Mar 2020 
12:39:32 GMT)
X-Complaints-To: abuse@aioe.org
Xref: control.aioe.org local.test:1090
.
xpat References 1- <r5q4sg$has$1@control.aioe.org>
221 Header or metadata information for References follows (from overview)
.
quit
205 Bye!
Connection closed by foreign host.
aioe@gioia:~$ telnet localhost 119
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 control.aioe.org InterNetNews NNRP server INN 2.5.4 ready (posting ok)
group local.test
211 27 1064 1090 local.test
xpat References 1- <r5q4sg$has$1@control.aioe.org>
221 Header or metadata information for References follows (from overview)
1090 <r5q4sg$has$1@control.aioe.org>
.
quit
205 Bye!
Technical Details
Message-ID: <r5q5on$5ej$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <r5q5on$5ej$1@gioia.aioe.org>
Subject: Wrong output for XPAT command
Date: Sun, 29 Mar 2020 12:53:43 +0000
From: Aioe <estasi@aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: Aioe.org NNTP Server
Lines: 73
Nntp-Posting-Host: WyJedRQiIBtK9vDMTZ+U4g.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
X-Notice: Filtered by postfilter v. 0.9.2