home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
unix_c
/
usenet
/
newsxd.tar
/
newsxd
/
complex.conf
next >
Wrap
Text File
|
1990-08-31
|
3KB
|
75 lines
# Define a series of service classes for sending news to other sites:
# nlink NNTPlink Transmits (Continuous NNTPXMITs)
# high High Priority Transmits (Top-40)
# med Medium Prio Transmits (Non Top-40)
# low Low Priority Transmits (Endnodes)
# batch Batched (with sendbatch) newsfeeds
class nlink maxxmits=20 interval=60 maxload=10 noworkfile
xmit nlink /usr/local/lib/news/nntplink nntplink %h:%b
class high maxxmits=99 interval=60/20 maxload=8 ttl=1800
class med maxxmits=5 interval=300 maxload=6 ttl=1800/60
class low maxxmits=3 interval=1200 maxload=5 ttl=1100/60 nice=10
class batch maxxmits=1 interval=3600 maxload=5 ttl=1800/1800
xmit batch /usr/local/lib/news/sendbatch sendbatch %f %h
# Define the default news transmitter
xmit DEFAULT /usr/local/lib/news/nntpxmit nntpxmit %h:%w
# Check the transmit queue every <n> seconds (this should be at least as
# low as the smallest "interval" in all of the transmission classes).
queueinterval 20
# In all of the following options, %s is replaced by the host name of the
# system being sent to.
# File news places articles paths/ids in
batchfile /usr/spool/batch/%s
# File a news transmitter wants articles paths/ids in
workfile /usr/spool/batch/%s.work
# Where to log the output of a news transmitter (default is /dev/null)
# [leave it as the default of /dev/null for now]
# nntplogs /usr/spool/batch/%s.log
# Hosts to send news to. Each line is of the format:
# CLASS VALID START
# host HOSTNAME NAME TIMES OPTIONS
host dorothy low Any
host toto low Any
host wizard low Any
host witch low Any
host tinman low Any
host lion low Any
host cactus.biz.com low Any
host endnode.foobar.edu low Any2000-0500
host biggernode.foobar.edu med SaSu|Wk1730-0730
host bignode.company.com med Any
host midsize.company.com med Any
host university.podunk.edu med Any
host mrbackbone.bigu.edu high Any
host gateway.bizness.com high Any
host supernews.hellou.edu high Any
host mrnntp.aloha.edu high Any
host hello.world.edu high Any
host supernews.foou.edu nlink Any
host backbone.newssite.edu nlink Any
host fred batch Any nice=20 flags=-s500000 interval=86400
host barney batch Any nice=20 flags=-s250000 interval=86400
host wilma batch Any nice=20 flags=-s500000
host betty batch Any nice=20 flags=-s500000|-m500000
host kitty batch SaSu|Wk1730-730 flags=-c|-s250000
host dino batch SaSu|Wk1730-730 flags=-c|-s250000
host bambam batch Sa interval=86400
# Notes: Only send news to biggernode.foobar.edu during non-business hours
# endnode.foobar.edu only wants news transmitted from 8PM to 5AM.
# Only send news to fred and barney once per day (every 24 hours).
# Do one batching run for bambam each Saturday.