Thread View: news.software.nntp
2 messages
2 total messages
Started by Matthias Watermann
Wed, 01 Aug 2001 10:59
newsfeed-setup (INN 2.3.2)
Author: Matthias Watermann
Date: Wed, 01 Aug 2001 10:59
Date: Wed, 01 Aug 2001 10:59
19 lines
1590 bytes
1590 bytes
May be, it's a FAQ? Using "tradspool": How do I setup a newsfeed to have/get a file in /var/spool/news/outgoing containing the complete path/name of every news-message to process? e.g. /var/spool/news/articles/news/software/nntp/123 I've done this with INN 1.x using "Tf,Wfb", but INN 2.3.2 produces lines like @050000000052000004040000000000000000@ 1234 And I (that is: the script that's supposed to handles this, which is expecting filesnames) don't know how to handle this. TIA Matthias
Re: newsfeed-setup (INN 2.3.2)
Author: Russ Allbery
Date: Fri, 03 Aug 2001 01:24
Date: Fri, 03 Aug 2001 01:24
36 lines
2459 bytes
2459 bytes
Matthias Watermann <matthias@oln.comlink.apc.org> writes:
> May be, it's a FAQ?
Yeah, it probably is. I'll try to remember to put something about this
into the INN 2.x FAQ.
> Using "tradspool": How do I setup a newsfeed to have/get a file in
> /var/spool/news/outgoing containing the complete path/name of every
> news-message to process?
> e.g.
> /var/spool/news/articles/news/software/nntp/123
> I've done this with INN 1.x using "Tf,Wfb", but INN 2.3.2 produces lines
> like @050000000052000004040000000000000000@ 1234
> And I (that is: the script that's supposed to handles this, which is
> expecting filesnames) don't know how to handle this.
There isn't any way to convince INN to kick out paths internally since the
guts of INN no longer know anything about paths (intentionally, due to the
abstraction of the storage API interface). There isn't even a way to fake
it up so far as I can see because you can't get the article number out of
newsfeeds. Hm. That's an obvious deficiency that could be fixed.
The right fix from the storage API standpoint is to modify your script to
use sm to open the article rather than opening the file directly; this
will then continue to work even if you switch to CNFS or timecaf or some
other backend that no longer uses a one-article-per-file storage model.
--
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.
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