Thread View: news.software.nntp
5 messages
5 total messages
Started by Allaoua BOUABDALLAH
Wed, 16 Jul 1997 00:00
How to stop incoming news and let users read existing local ones ?
Author: Allaoua BOUABDALLAH
Date: Wed, 16 Jul 1997 00:00
Date: Wed, 16 Jul 1997 00:00
17 lines
1028 bytes
1028 bytes
We have a 128KB link and wish to stop gathering news during de day but let users read existing local ones and post. I found nothing in ~news/bin (inn-1.5.1) permitting this. Any idea ? ______________________________________________________________________ Allaoua BOUABDALLAH Email: alawa@concept.fr CONCEPT SA - 52, rue Marcel Dassault - 92514 Boulogne Billancourt TEL: 01 46 09 33 98 FAX: 01 46 09 32 74 http://www.concept.fr
Re: How to stop incoming news and let users read existing local ones ?
Author: John Payne
Date: Wed, 16 Jul 1997 00:00
Date: Wed, 16 Jul 1997 00:00
10 lines
941 bytes
941 bytes
Ask your peers to send you batches overnight instead of streaming
feeds.
--
John Payne | VM: JOHN at RTP
IBM Global Services NS | email: john@raleigh.ibm.com
OpenNet Services (EMEA) | Intranet http://w3.irc.ibm.com/jpayne
Re: How to stop incoming news and let users read existing local ones ?
Author: Karl Kleinpaste
Date: Wed, 16 Jul 1997 00:00
Date: Wed, 16 Jul 1997 00:00
32 lines
1333 bytes
1333 bytes
Allaoua BOUABDALLAH <alawa@bandol.concept.fr> writes:
> We have a 128KB link and wish to stop gathering news during de
> day but let users read existing local ones and post.
"news" crontab entries:
0 8 * * 1-5 allow-news-xfer off
0 17 * * 1-5 allow-news-xfer on
allow-news-xfer:
#!/bin/sh
cd /etc/news # or wherever your config files live
rm -f hosts.nntp
case "$1" in
on)
ln -s hosts.nntp.all hosts.nntp
;;
off)
ln -s hosts.nntp.none hosts.nntp
;;
*)
echo Yo, bozo, use on or off.
exit 1
;;
esac
ctlinnd reload hosts.nntp "xfer perm $1"
exit 0
Then create two files, hosts.nntp.{all,none} which allow/disallow
your xfer partners' access.
Re: How to stop incoming news and let users read existing local ones ?
Author: Chris Bellomy
Date: Wed, 16 Jul 1997 00:00
Date: Wed, 16 Jul 1997 00:00
26 lines
1487 bytes
1487 bytes
Allaoua BOUABDALLAH (alawa@bandol.concept.fr) wrote: : : : We have a 128KB link and wish to stop gathering news during de : day but let users read existing local ones and post. : : I found nothing in ~news/bin (inn-1.5.1) permitting this. : : Any idea ? You could run cron jobs which throttle the server at the beginning of the day and send it a 'go' at the end of the day, but your users wouldn't see their own articles until the following day. Another alternative would be to rotate an essentially empty (except for your own server) hosts.nntp with the one you have in the same fashion suggested above. Either way, your news peers may have a problem with you shutting down every day. I'd check with them first. -- Chris Bellomy FlashNet Communications Manager of Server Operations Fort Worth, Texas cbellomy@flash.net (817)332-8883
Re: How to stop incoming news and let users read existing local ones ?
Author: Allaoua BOUABDALLAH
Date: Fri, 18 Jul 1997 00:00
Date: Fri, 18 Jul 1997 00:00
13 lines
974 bytes
974 bytes
Thank's for responding. I'll try Karl's script. ______________________________________________________________________ Allaoua BOUABDALLAH Email: alawa@concept.fr CONCEPT SA - 52, rue Marcel Dassault - 92514 Boulogne Billancourt TEL: 01 46 09 33 98 FAX: 01 46 09 32 74 http://www.concept.fr
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