Thread View: news.software.nntp
5 messages
5 total messages
Started by Vladimir A. Pertzel
Tue, 30 Oct 2001 09:28
grephistory -e ???
Author: Vladimir A. Pertzel
Date: Tue, 30 Oct 2001 09:28
Date: Tue, 30 Oct 2001 09:28
29 lines
2098 bytes
2098 bytes
I am running inn-2.3.1 on a small site.
The storage method is tradspool (every
article is kept in a separate file).
I used to have a www interface for those,
who can not connect to the 119 port.
In order to make cross-reference links,
I need to know the correspondence between
the Message-ID and the file name (article
numbeer). I used to get it in inn-2.2 as
grephistory -e 'Message-Id'
in 2.3.1 it has stopped working -- I receive
a hash value only.
Who, please, can explain, how can I make the
grephistory working, or how can I use that
hash value, or any alternative way to obtain
the group name and article number by Message-Id ?
/\ /\ From the Holy Land, with respect
((ovo)) Vladimir A. Pertsel
():::() news://relhum.org
--PVA-------------------------------------------------
An ancestor of mine, by the name of Noah, was once the
commanding admiral of the combined fleets of my planet
Re: grephistory -e ???
Author: Jeffrey M. Vinocur
Date: Tue, 30 Oct 2001 21:45
Date: Tue, 30 Oct 2001 21:45
19 lines
1428 bytes
1428 bytes
In article <9rlrr8$32h$1@news.netvision.net.il>, Vladimir A. Pertzel <voldemar@relhum.org> wrote: > >Who, please, can explain, how can I make the >grephistory working, You cannot get a filesystem path any longer with the storage API. >or how can I use that hash value Pass it to ~news/bin/sm and you will get full text of the article. -- Jeffrey M. Vinocur jeff@litech.org
Re: grephistory -e ???
Author: Vladimir A. Pertzel
Date: Wed, 31 Oct 2001 12:34
Date: Wed, 31 Oct 2001 12:34
36 lines
2388 bytes
2388 bytes
"Jeffrey M. Vinocur" wrote in message news:9rn71n$rb9$2@marduk.litech.org ... > In article Vladimir A. Pertzel wrote in message news:9rlrr8$32h$1@news.netvision.net.il : VP: Who, please, can explain, how can I make the VP: grephistory working, > You cannot get a filesystem path any longer with the storage API. That is the exact reason why I use the *tradspool* method. VP: or how can I use that hash value > Pass it to ~news/bin/sm and you will get full text of the > article. Well, but I am looking for the file name, not for its contents! sm -o 'hash-value' does not work either! The message by itself is not interesting for me: I do not want to rewrite the news<=>interface, thus I need to keep articles in separate files. All I want to know is how to find that file by Message-Id. Inn knows, because it allows to retreive the messages by Message-Id. Try the link news:9rlrr8$32h$1@news.netvision.net.il news://your.news.server/9rlrr8$32h$1@news.netvision.net.il in internet browser -- that works (it is a part of protocol), even if the newsserver uses the old tradspool method. Thus, there should be a way to find the file name.
Re: grephistory -e ???
Author: Russ Allbery
Date: Wed, 31 Oct 2001 20:21
Date: Wed, 31 Oct 2001 20:21
17 lines
1605 bytes
1605 bytes
Vladimir A Pertzel <voldemar@relhum.org> writes:
> "Jeffrey M. Vinocur" wrote:
>> You cannot get a filesystem path any longer with the storage API.
> That is the exact reason why I use the *tradspool* method.
You cannot get a file system path, even with the tradspool method. I'm
sorry. It's one of the drawbacks of the internal architecture that INN is
now using. You have to retrieve articles with sm.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: grephistory -e ???
Author: Jeffrey M. Vinocur
Date: Wed, 31 Oct 2001 20:41
Date: Wed, 31 Oct 2001 20:41
23 lines
1753 bytes
1753 bytes
In article <ylg07zftlw.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: > >You cannot get a file system path, even with the tradspool method. I'm >sorry. It's one of the drawbacks of the internal architecture that INN is >now using. You have to retrieve articles with sm. Well. I mean. If you really really want it, you can get the article number and group name (e.g. out of the Xref: header, or via various commands if you have an NNTP connection open) and hardcode the base filesystem path to your spool. But I wouldn't... -- Jeffrey M. Vinocur jeff@litech.org
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