[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Piping news to a program in inn
- From: rborland <rborland healthnet zw>
- To: enigma-list redhat com
- Subject: Piping news to a program in inn
- Date: Sun, 27 Oct 2002 18:05:02 +0200
I'm using Red Hat 7.2, inn-2.3.2-5 and inews-2.3.2-5.
I can't get inn to pipe news to a program. 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 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.
I must be missing something obvious here.
Regards,
Rob
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]