Channel Feed Doesn't Work

Russ Allbery rra at stanford.edu
Sun Feb 20 19:16:35 UTC 2005


Felix E Klee <felix.klee at inka.de> writes:

> I've the following line in my "/etc/new/newsfeeds" (INN 2.4.2):

>     echo!:*:Tc,Ac,WmN:/usr/bin/echo "'$1' '$2'" >/tmp/qqq.echo

> After I post a message to a news group, then I expect the file
> "qqq.echo" to contain output such as

>     '<87mztz16q7.wl%felix.klee at inka.de>' 'some.group, another.group'

> However, all I get is

>     '' ''

> Any idea what may be the problem?

Yes, $1 and $2 are replaced by command-line parameters, and INN feeds data
to a channel feed on stdin.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list