🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53621

Proper channel newsfeeds usage.

#53621
From: gr
Date: Thu, 02 Aug 2001 19:42
28 lines
1766 bytes
I'm trying to get a channel newsfeed to receive some piece of
information that I can use to get the actual body of the posted
message. I *seemed* that adding the Wn flag to the newsfeed
definition would get me what I wanted, presuming I was using
tradspool for my storage method (I am). In fact, newsfeeds(5) even
goes so far as to show an example:

  nntpfunnel1:!*\
    :Tc,Wmn*:<PREFIX specified with --prefix at configure>/bin/nntpfanout

Which it claims will get something like this on stdin:

  <124@litchi.foo.com> ne/general/1003 nic.near.net

I have a newsfeed declared like this:

  foobar!:foo.*:Tc,Ac,Wn:/path/to/foobar.pl

My script, which is just dumping what it receives on stdin to a log
file, is instead receiving something more like this:

  @0500000000080000000C0000000000000000@

What gives? What is that token meant to express?

--
       ~ g r @ eclipsed.net
Technical Details
Message-ID: <9kcaeq$ce5$1@news.panix.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!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!sunqbc.risq.qc.ca!howland.erols.net!panix!news.panix.com!gr

Show Full Headers
Complete Article Headers
Message-ID: <9kcaeq$ce5$1@news.panix.com>
Subject: Proper channel newsfeeds usage.
Date: Thu, 02 Aug 2001 19:42:18 +0000
From: gr@eclipsed.net
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!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!sunqbc.risq.qc.ca!howland.erols.net!panix!news.panix.com!gr
Newsgroups: news.software.nntp
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 27
Distribution: inet
NNTP-Posting-Host: 166.84.148.140
X-Trace: news.panix.com 996781338 12741 166.84.148.140 (2 Aug 2001 19:42:18 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: 2 Aug 2001 19:42:18 GMT
User-Agent: slrn/0.9.7.0 (NetBSD)