Article View: news.software.nntp
Article #61684Path to filename passed in %s
From: Rob Borland
Date: Mon, 28 Oct 2002 06:02
Date: Mon, 28 Oct 2002 06:02
34 lines
1910 bytes
1910 bytes
I'm using Red Hat 7.2 with inn-2.3.2-5 and inews-2.3.2-5 rpms installed. I can't access files piped to a program in %s. Following the sample code I have the following test newsfeeds file: ME:*:: capture:*:Tp,Wf:/usr/local/bin/capture %s capture is a test script to cat the file passed in the %s argument. I post a message to a test newsgroup using Pine. The message is correctly posted to the newsgroup and appears in the news spool directory. capture shows that %s passes file names like: @050000000007000000140000000000000000@ but capture reports that the file can't be found. I can't see any options for obtaining the absolute path. I've tried prefixing %s with the news spool directory /var/spool/news, the news temporary directory /var/lib/news/tmp and so forth without success. Earlier versions of inn passed the absolute path to the article file itself in %s, like /var/spool/news/articles/testlocal/123, and this worked very well. How does this version do it? I must be missing something obvious here. Regards, Rob
Technical Details
Message-ID:
<41a5db0c.0210272202.2b0570db@posting.google.com>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!archiver1.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <41a5db0c.0210272202.2b0570db@posting.google.com> Subject: Path to filename passed in %s Date: Mon, 28 Oct 2002 06:02:15 +0000 From: rborland@healthnet.zw (Rob Borland) 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!archiver1.google.com!postnews1.google.com!not-for-mail Newsgroups: news.software.nntp Organization: http://groups.google.com/ Lines: 33 NNTP-Posting-Host: 196.4.80.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1035784935 3885 127.0.0.1 (28 Oct 2002 06:02:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 28 Oct 2002 06:02:15 GMT