INN Stat command can not get article number

Zhenyu Xia zhenyu.xia at oracle.com
Thu Oct 29 02:14:51 UTC 2009


Hi Julien,

We found a problem about INN 2.5.0 Stat command.
This command can't show article number when using message id to get 
article number.
==============================
group trash
211 69 46 114 trash
stat 69
223 69 <hbrdfo$be1$1 at l360cn01.cn.oracle.com> status
stat <hbrdfo$be1$1 at l360cn01.cn.oracle.com>
223 0 <hbrdfo$be1$1 at l360cn01.cn.oracle.com> status
=================================
Here article number is zero.

It's not compliance with RFC
===========================================================
Responses should be
   220 n <a> article retrieved - head and body follow
           (n = article number, <a> = message-id)
   221 n <a> article retrieved - head follows
   222 n <a> article retrieved - body follows
   223 n <a> article retrieved - request text separately
===========================================================


Is there any command get article number from specific message id?

Reproduce Steps
1. login news
2. select group
3. stat first index number of article
   it's ok
4. stat message id, but it can't show article id

Sample as following.
===================================================
telnet localhost 7500
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
200 l360cn01.cn.oracle.com InterNetNews NNRP server INN 2.5.0 ready (no 
posting)
authinfo user xxxxxxx at nec-as.nec.com.cn
381 Enter password
authinfo pass xxxxxx
281 Authentication succeeded
group trash
211 69 46 114 trash
stat 69
223 69 <hbrdfo$be1$1 at l360cn01.cn.oracle.com> status
stat <hbrdfo$be1$1 at l360cn01.cn.oracle.com>
223 0 <hbrdfo$be1$1 at l360cn01.cn.oracle.com> status
=========================================================

Thanks in advance

Zhenyu



More information about the inn-workers mailing list