🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61211

Re: Where to put the newsx.conf?

#61211
From: wbe Winston
Date: Wed, 09 Oct 2002 14:20
40 lines
2354 bytes
   newsx.conf can reside in the same directory as your 'active' file.

raqueebh@yahoo.com (Raqueeb Hassan) writes:
> can someone please post a sample newsx.conf and a newsx command line
> for fetching messages? I need a "fetch only" configuration.

::newsx.conf::
 -c -k --stat /path/to/newsx/stats/file --max-path 3 --size 600000

(but you probably want "-i" instead of "-c".  See the newsx man page.)

::in.hosts/spoolname-of-your-news-server::
# groups to fetch to the local spool
news.software.nntp 1
comp.os.linux.networking 1

Write a shell script to call newsx and your news server's batch processor,
and use cron to call it periodically.  E.g.,

::sample shell script::
#! /bin/sh

#set and export PATH if needed

# run newsx to pick up new articles
/your/path/to/newsx spoolname-of-your-news-server dns.name.of.your.news.server
sleep 5
# process the articles
/usr/lib/newsbin/input/newsrun

exit 0

------------------------------

If you're running INN 2.3 or later, and if you ever want to use newsx to
post articles, you'll need a version later than the easy-to-find newsx-1.4.
Check news.software.nntp via Google for a newsx patch by Thomas Thiery for
INN 2.3.
 -WBE
Technical Details
Message-ID: <ydzntn8zi7.fsf@UBEblock.psr.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.networking.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.tampabay.rr.com!news-post.tampabay.rr.com!twister.southeast.rr.com.POSTED!53ab2750!not-for-mail
References: <2545b34c.0210082336.69cb8412@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <ydzntn8zi7.fsf@UBEblock.psr.com>
Subject: Re: Where to put the newsx.conf?
Date: Wed, 09 Oct 2002 14:20:49 GMT
From: wbe @ubeblock.psr.com.invalid (Winston)
References: <2545b34c.0210082336.69cb8412@posting.google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.networking.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.tampabay.rr.com!news-post.tampabay.rr.com!twister.southeast.rr.com.POSTED!53ab2750!not-for-mail
Sender: wbe@UBEblock.psr.com
Newsgroups: news.software.nntp,comp.os.linux.networking
Mail-Copies-To: never
Lines: 39
X-Newsreader: Gnus v5.3/Emacs 19.34
NNTP-Posting-Host: 24.31.196.14
X-Complaints-To: abuse@rr.com
X-Trace: twister.southeast.rr.com 1034173249 24.31.196.14 (Wed, 09 Oct 2002 10:20:49 EDT)
NNTP-Posting-Date: Wed, 09 Oct 2002 10:20:49 EDT
Organization: Road Runner - Columbia