Thread View: news.software.nntp
5 messages
5 total messages
Started by Raqueeb Hassan
Wed, 09 Oct 2002 07:36
Where to put the newsx.conf?
Author: Raqueeb Hassan
Date: Wed, 09 Oct 2002 07:36
Date: Wed, 09 Oct 2002 07:36
14 lines
1252 bytes
1252 bytes
Hello, I'm dead with newsx configuration and you know what .... how can I call newsx.conf or any batchfile using newsx? Do I have to create a bathfile for newsx to feed INN? can someone please post a sample newsx.conf and a newsx command line for fetching messages? I need a "fetch only" configuration. thanks in advance. raqueeb hassan bangladesh
Re: Where to put the newsx.conf?
Author: wbe Winston
Date: Wed, 09 Oct 2002 14:20
Date: Wed, 09 Oct 2002 14:20
40 lines
2354 bytes
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
Re: Where to put the newsx.conf?
Author: Raqueeb Hassan
Date: Sat, 12 Oct 2002 11:40
Date: Sat, 12 Oct 2002 11:40
50 lines
2115 bytes
2115 bytes
Sorry for the delay. Thanks a lot for that. Its working :-) > ::in.hosts/spoolname-of-your-news-server:: > # groups to fetch to the local spool > news.software.nntp 1 > comp.os.linux.networking 1 Now, here I'm little confused. I've created a in.hosts dir where I created a spool for newsx hosts active file, but INN doesn't know anything about that. Cause, inn.conf has a seperate spool path. > /your/path/to/newsx spoolname-of-your-news-server dns.name.of.your.news.server here, i'm running .... $newsx news.server.net <--- the same name for spool and real news server. the content of my newsx.conf ..... $ cat /etc/news --rnews --inn --locks /var/lock/news --config --verify -W 40 -u -dddd --inhosts /var/spool/news/in.hosts #--batch /var/spool/news/articles --spool /var/spool/news #--incoming /var/spool/news/incoming #--history /var/lib/news/history #--active /var/lib/news/active --forget-inactive > /usr/lib/newsbin/input/newsrun is that a custom file? cause, i don't have that. could you please paste that for me? Thanks again. raqueeb hassan bangladesh
Re: Where to put the newsx.conf?
Author: wbe Winston
Date: Sat, 12 Oct 2002 15:36
Date: Sat, 12 Oct 2002 15:36
22 lines
1854 bytes
1854 bytes
raqueebh@yahoo.com (Raqueeb Hassan) writes: > Thanks a lot for that. Its working :-) Congrats! >> ::in.hosts/spoolname-of-your-news-server:: > I've created a in.hosts dir where I created a spool for newsx hosts > active file, but INN doesn't know anything about that. The contents of that directory are just so newsx can keep track of what articles it's read from each server. It's not anything INN would care about. >> /usr/lib/newsbin/input/newsrun > is that a custom file? No, it's a C-News script. You would run whatever program INN uses to process recently received news batch files. -WBE
Re: Where to put the newsx.conf?
Author: Jeffrey M. Vinocur
Date: Sat, 12 Oct 2002 15:50
Date: Sat, 12 Oct 2002 15:50
13 lines
1405 bytes
1405 bytes
In article <ydwuon8y9h.fsf@UBEblock.psr.com>, Winston <wbe @ubeblock.psr.com.invalid> wrote: > >You would run whatever program INN uses to >process recently received news batch files. rnews, I think -- Jeffrey M. Vinocur jeff@litech.org
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads