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 >
Text File  |  1990-08-31  |  3KB  |  75 lines

  1. # Define a series of service classes for sending news to other sites:
  2. #     nlink     NNTPlink Transmits (Continuous NNTPXMITs)
  3. #     high      High Priority Transmits (Top-40)
  4. #     med       Medium Prio Transmits (Non Top-40)
  5. #     low       Low Priority Transmits (Endnodes)
  6. #     batch     Batched (with sendbatch) newsfeeds
  7.  
  8. class   nlink   maxxmits=20 interval=60    maxload=10  noworkfile
  9. xmit    nlink   /usr/local/lib/news/nntplink nntplink %h:%b
  10.  
  11. class   high    maxxmits=99 interval=60/20 maxload=8   ttl=1800
  12.  
  13. class   med     maxxmits=5  interval=300   maxload=6   ttl=1800/60
  14.  
  15. class   low     maxxmits=3  interval=1200  maxload=5   ttl=1100/60   nice=10
  16.  
  17. class   batch   maxxmits=1  interval=3600  maxload=5   ttl=1800/1800
  18. xmit    batch   /usr/local/lib/news/sendbatch sendbatch %f %h
  19.  
  20. # Define the default news transmitter
  21. xmit    DEFAULT /usr/local/lib/news/nntpxmit nntpxmit %h:%w
  22.  
  23. # Check the transmit queue every <n> seconds (this should be at least as
  24. # low as the smallest "interval" in all of the transmission classes).
  25. queueinterval    20
  26.  
  27. # In all of the following options, %s is replaced by the host name of the
  28. # system being sent to.
  29.  
  30. # File news places articles paths/ids in
  31. batchfile   /usr/spool/batch/%s
  32.  
  33. # File a news transmitter wants articles paths/ids in
  34. workfile    /usr/spool/batch/%s.work
  35.  
  36. # Where to log the output of a news transmitter (default is /dev/null)
  37. # [leave it as the default of /dev/null for now]
  38. # nntplogs   /usr/spool/batch/%s.log
  39.  
  40. # Hosts to send news to.  Each line is of the format:
  41. #                            CLASS   VALID START
  42. # host HOSTNAME              NAME       TIMES          OPTIONS
  43.  
  44. host dorothy                 low     Any
  45. host toto                    low     Any
  46. host wizard                  low     Any
  47. host witch                   low     Any
  48. host tinman                  low     Any
  49. host lion                    low     Any
  50. host cactus.biz.com          low     Any
  51. host endnode.foobar.edu      low     Any2000-0500
  52. host biggernode.foobar.edu   med     SaSu|Wk1730-0730
  53. host bignode.company.com     med     Any
  54. host midsize.company.com     med     Any
  55. host university.podunk.edu   med     Any
  56. host mrbackbone.bigu.edu     high    Any
  57. host gateway.bizness.com     high    Any
  58. host supernews.hellou.edu    high    Any
  59. host mrnntp.aloha.edu        high    Any
  60. host hello.world.edu         high    Any
  61. host supernews.foou.edu      nlink   Any
  62. host backbone.newssite.edu   nlink   Any
  63. host fred                    batch   Any nice=20 flags=-s500000 interval=86400
  64. host barney                  batch   Any nice=20 flags=-s250000 interval=86400
  65. host wilma                   batch   Any nice=20 flags=-s500000
  66. host betty                   batch   Any nice=20 flags=-s500000|-m500000
  67. host kitty                   batch   SaSu|Wk1730-730 flags=-c|-s250000
  68. host dino                    batch   SaSu|Wk1730-730 flags=-c|-s250000
  69. host bambam                  batch   Sa interval=86400
  70.  
  71. # Notes: Only send news to biggernode.foobar.edu during non-business hours
  72. #        endnode.foobar.edu only wants news transmitted from 8PM to 5AM.
  73. #        Only send news to fred and barney once per day (every 24 hours).
  74. #        Do one batching run for bambam each Saturday.
  75.