home *** CD-ROM | disk | FTP | other *** search
/ ftp.mayn.de / ftp.mayn.de-pub.zip / ftp.mayn.de-pub / apple / apple_unix / Daemons / INN.config.data.2 < prev    next >
Internet Message Format  |  2017-03-06  |  29KB

  1. From services.cambridge.apple.com!cnorth Tue Jun 28 09:38:42 1994
  2. Return-Path: <cnorth@services.cambridge.apple.com>
  3. Received: from services.cambridge.apple.com by jagubox.gsfc.nasa.gov with smtp
  4.     (Smail3.1.28.1 #3) id m0qIdMz-0005rzC; Tue, 28 Jun 94 09:38 EDT
  5. Received: from localhost by services.cambridge.apple.com (8.6.4/A/UX-3.00)
  6.     id JAA02494; Tue, 28 Jun 1994 09:38:31 -0400
  7. Date: Tue, 28 Jun 1994 09:38:31 -0400
  8. From: cnorth@services.cambridge.apple.com (Chris North)
  9. Message-Id: <199406281338.JAA02494@services.cambridge.apple.com>
  10. To: jim@jagubox.gsfc.nasa.gov
  11. Status: RO
  12.  
  13. ##  $Revision: 1.40 $
  14. ##
  15. ##  InterNetNews configuration file.
  16. ##  Note that if you leave a field blank, you must have the trailing tab!
  17. ##
  18.  
  19.  
  20. ##
  21. ##  1.  MAKE CONFIG PARAMETERS
  22. ##  Where the DBZ sources are, from C News.  INN has a (maybe old) copy.
  23. #### =()<DBZDIR            @<DBZDIR>@>()=
  24. DBZDIR            ../dbz
  25. ##  If you have a parallel make, set this to "&"
  26. #### =()<P            @<P>@>()=
  27. P            
  28. ##  C pre-processor flags
  29. #### =()<DEFS            @<DEFS>@>()=
  30. DEFS            -I../include
  31. ##  C compiler
  32. #### =()<CC            @<CC>@>()=
  33. CC            gcc
  34. ##  Does your compiler properly do "char const *"? Pick DO DONT or DUNNO
  35. #### =()<USE_CHAR_CONST        @<USE_CHAR_CONST>@>()=
  36. USE_CHAR_CONST        DO
  37. ##  C compiler flags
  38. #### =()<CFLAGS            @<CFLAGS>@>()=
  39. CFLAGS            $(DEFS) -g -O2 -fpcc-struct-return 
  40. ##  C compiler flags to use when compiling dbz
  41. #### =()<DBZCFLAGS            @<DBZCFLAGS>@>()=
  42. DBZCFLAGS            $(CFLAGS)
  43. ##  What flags to use if profiling; -p or -pg, e.g.
  44. #### =()<PROF            @<PROF>@>()=
  45. PROF            -pg
  46. ##  Flags for the "cc -o" line; e.g., -Bstatic on SunOS4.x while debugging.
  47. #### =()<LDFLAGS            @<LDFLAGS>@>()=
  48. LDFLAGS            -g -static
  49. ##  If you use the standard NNTP way of connecting, where is the library?
  50. #### =()<NNTPLIB        @<NNTPLIB>@>()=
  51. NNTPLIB        
  52. ##  If you need to link in other libraries, add them here
  53. #### =()<LIBS        @<LIBS>@>()=
  54. LIBS            -lbsd
  55. ##  How to make a lint library; pick BSD, SYSV, or NONE.
  56. #### =()<LINTLIBSTYLE        @<LINTLIBSTYLE>@>()=
  57. LINTLIBSTYLE        SYSV
  58. ##  Flags for lint.  AIX wants "-wkD"; it and others don't want "-z".
  59. #### =()<LINTFLAGS        @<LINTFLAGS>@>()=
  60. LINTFLAGS        -b -h $(DEFS)
  61. ##  Some lints insist on putting out the filename and other crap.
  62. ##  Possible values:
  63. ##    LINTFILTER              | sed -n -f ../sedf.aix
  64. ##    LINTFILTER              | sed -n -f ../sedf.osx
  65. ##    LINTFILTER              | sed -n -f ../sedf.sun
  66. ##    LINTFILTER              | sed -n -f ../sedf.sysv
  67. ##    LINTFILTER              
  68. ####  =()<LINTFILTER        @<LINTFILTER>@>()=
  69. LINTFILTER        | sed -n -f ../sedf.sun
  70. ##  How to install manpages; pick SOURCE, NROFF-PACK, NROFF-PACK-SCO, or NONE.
  71. #### =()<MANPAGESTYLE        @<MANPAGESTYLE>@>()=
  72. MANPAGESTYLE        NROFF-PACK
  73. ##  Where various manpages should go
  74. #### =()<MAN1            @<MAN1>@>()=
  75. MAN1            /usr/catman/l_man/man1
  76. #### =()<MAN3            @<MAN3>@>()=
  77. MAN3            /usr/catman/l_man/man3
  78. #### =()<MAN5            @<MAN5>@>()=
  79. MAN5            /usr/catman/l_man/man5
  80. #### =()<MAN8            @<MAN8>@>()=
  81. MAN8            /usr/catman/l_man/man8
  82. ##  Ranlib command.  Use echo if you don't need ranlib.
  83. #### =()<RANLIB            @<RANLIB>@>()=
  84. RANLIB            echo
  85. ##  YACC (yet another config control?)
  86. #### =()<YACC            @<YACC>@>()=
  87. YACC            yacc
  88. ##  Ctags command.  Use echo if you don't have ctags.
  89. #### =()<CTAGS            @<CTAGS>@>()=
  90. CTAGS            ctags -t -w
  91.  
  92.  
  93. ##
  94. ##  2.  LOGGING LEVELS
  95. ##  Facility innd should log under.
  96. #### =()<LOG_INN_SERVER        @<LOG_INN_SERVER>@>()=
  97. LOG_INN_SERVER        LOG_LOCAL1
  98. ##  Facility all other programs should log under.
  99. #### =()<LOG_INN_PROG        @<LOG_INN_PROG>@>()=
  100. LOG_INN_PROG        LOG_LOCAL1
  101. ##  Flags to use in opening the logs; some programs add LOG_PID.
  102. #### =()<L_OPENLOG_FLAGS        @<L_OPENLOG_FLAGS>@>()=
  103. L_OPENLOG_FLAGS        (LOG_CONS | LOG_NDELAY)
  104. ##  Log a fatal error; program is about to exit.
  105. #### =()<L_FATAL            @<L_FATAL>@>()=
  106. L_FATAL            LOG_CRIT
  107. ##  Log an error that might mean one or more articles get lost.
  108. #### =()<L_ERROR            @<L_ERROR>@>()=
  109. L_ERROR            LOG_ERR
  110. ##  Informational notice, usually not worth caring about.
  111. #### =()<L_NOTICE        @<L_NOTICE>@>()=
  112. L_NOTICE        LOG_WARNING
  113. ##  A protocol trace.
  114. #### =()<L_TRACE            @<L_TRACE>@>()=
  115. L_TRACE            LOG_DEBUG
  116. ##  All incoming control commands (ctlinnd, etc).
  117. #### =()<L_CC_CMD        @<L_CC_CMD>@>()=
  118. L_CC_CMD        LOG_INFO
  119.  
  120.  
  121. ##
  122. ##  3.  OWNERSHIPS AND FILE MODES
  123. ##  Owner of articles and directories and _PATH_INNDDIR
  124. #### =()<NEWSUSER            @<NEWSUSER>@>()=
  125. NEWSUSER            news
  126. ##  Group, for same purpose
  127. #### =()<NEWSGROUP        @<NEWSGROUP>@>()=
  128. NEWSGROUP        news
  129. ##  Who gets email about control messages? (Usually same as NEWSUSER)
  130. #### =()<NEWSMASTER        @<NEWSMASTER>@>()=
  131. NEWSMASTER        news
  132. ##  Who gets email on the Path line?
  133. #### =()<PATHMASTER        @<PATHMASTER>@>()=
  134. PATHMASTER        not-for-mail
  135. ##  Umask to set.
  136. #### =()<NEWSUMASK        @<NEWSUMASK>@>()=
  137. NEWSUMASK        022
  138. ##  Mode that incoming articles are created under.
  139. #### =()<ARTFILE_MODE        @<ARTFILE_MODE>@>()=
  140. ARTFILE_MODE        0644
  141. ##  Mode that batch files are created under.
  142. #### =()<BATCHFILE_MODE        @<BATCHFILE_MODE>@>()=
  143. BATCHFILE_MODE        0644
  144. ##  Mode that directories are created under.
  145. #### =()<GROUPDIR_MODE        @<GROUPDIR_MODE>@>()=
  146. GROUPDIR_MODE        0755
  147.  
  148.  
  149. ##
  150. ##  4.  C LIBRARY DIFFERENCES
  151. ##  Use stdargs, varargs, or neither?  Pick VARARGS STDARGS or NONE.
  152. ##  You need vfprintf and vfsprintf if not NONE.
  153. #### =()<VAR_STYLE        @<VAR_STYLE>@>()=
  154. VAR_STYLE        VARARGS
  155. ##  If you don't have <string.h>, set this to "mystring.h"
  156. #### =()<STR_HEADER        @<STR_HEADER>@>()=
  157. STR_HEADER        <string.h>
  158. ##  If you don't have <memory.h>, set this to "mymemory.h"
  159. #### =()<MEM_HEADER        @<MEM_HEADER>@>()=
  160. MEM_HEADER        <memory.h>
  161. ##  What is a file offset?  Usually long or off_t.  *Must be long for now!*
  162. #### =()<OFFSET_T            @<OFFSET_T>@>()=
  163. OFFSET_T            long
  164. ##  What is the type of an object size? Usually size_t or unsigned int.
  165. #### =()<SIZE_T            @<SIZE_T>@>()=
  166. SIZE_T            int
  167. ##  What is the type of a passwd uid and gid, for use in chown(2)?
  168. #### =()<UID_T            @<UID_T>@>()=
  169. UID_T            int
  170. #### =()<GID_T            @<GID_T>@>()=
  171. GID_T            int
  172. ##  Type of a pid, for use in kill(2).
  173. #### =()<PID_T            @<PID_T>@>()=
  174. PID_T            int
  175. ##  Generic pointer, used by memcpy, malloc, etc.  Usually char or void.
  176. #### =()<POINTER            @<POINTER>@>()=
  177. POINTER            char
  178. ##  Worst-case alignment, in order to shut lint up
  179. #### =()<ALIGNPTR        @<ALIGNPTR>@>()=
  180. ALIGNPTR        int
  181. ##  What should a signal handler return?  Usually int or void.
  182. #### =()<SIGHANDLER        @<SIGHANDLER>@>()=
  183. SIGHANDLER        void
  184. ##  Type of variables can be modified in a signal handler? sig_atomic_t
  185. #### =()<SIGVAR        @<SIGVAR>@>()=
  186. SIGVAR        int
  187. ##  Function that returns no value, and a pointer to it.  Pick int or void
  188. #### =()<FUNCTYPE        @<FUNCTYPE>@>()=
  189. FUNCTYPE        void
  190. ##  Use BSD4.2 or Posix directory names?  Pick DIRENT or DIRECT.
  191. #### =()<DIR_STYLE        @<DIR_STYLE>@>()=
  192. DIR_STYLE        DIRENT
  193. ##  Use flock, lockf, or nothing to lock files?
  194. ##  Pick FLOCK, LOCKF, FCNTL, or NONE
  195. #### =()<LOCK_STYLE        @<LOCK_STYLE>@>()=
  196. LOCK_STYLE        FLOCK
  197. ##  Do you have <unistd.h>?  Pick DO or DONT
  198. #### =()<HAVE_UNISTD    @<HAVE_UNISTD>@>()=
  199. HAVE_UNISTD    DO
  200. ##  Do you have setbuffer?  Pick DO or DONT.
  201. #### =()<HAVE_SETBUFFER        @<HAVE_SETBUFFER>@>()=
  202. HAVE_SETBUFFER        DO
  203. ##  Do you have gettimeofday?  Pick DO or DONT.
  204. #### =()<HAVE_GETTIMEOFDAY    @<HAVE_GETTIMEOFDAY>@>()=
  205. HAVE_GETTIMEOFDAY    DO
  206. ##  Do you have fchmod?  Pick DO or DONT.
  207. #### =()<HAVE_FCHMOD        @<HAVE_FCHMOD>@>()=
  208. HAVE_FCHMOD        DO
  209. ##  Do you have setsid()?  Pick DO or DONT.
  210. #### =()<HAVE_SETSID        @<HAVE_SETSID>@>()=
  211. HAVE_SETSID        DO
  212. ##  Does your (struct tm) have a tm_gmtoff field?  Pick DO or DONT.
  213. #### =()<HAVE_TM_GMTOFF        @<HAVE_TM_GMTOFF>@>()=
  214. HAVE_TM_GMTOFF        DONT
  215. ##  Does your (struct stat) have a st_blksize field?  Pick DO or DONT.
  216. #### =()<HAVE_ST_BLKSIZE        @<HAVE_ST_BLKSIZE>@>()=
  217. HAVE_ST_BLKSIZE        DO
  218. ##  Use waitpid instead of wait3?  Pick DO or DONT.
  219. #### =()<HAVE_WAITPID        @<HAVE_WAITPID>@>()=
  220. HAVE_WAITPID        DONT
  221. ##  Use "union wait" instead of int?  Pick DO or DONT.
  222. #### =()<USE_UNION_WAIT        @<USE_UNION_WAIT>@>()=
  223. USE_UNION_WAIT        DO
  224. ##  How to fork?  Pick fork or vfork.
  225. #### =()<FORK            @<FORK>@>()=
  226. FORK            fork
  227. ##  Do you have <vfork.h>?  Pick DO or DONT.
  228. #### =()<HAVE_VFORK        @<HAVE_VFORK>@>()=
  229. HAVE_VFORK        DONT
  230. ##  Do you have symbolic links?  Pick DO or DONT.
  231. #### =()<HAVE_SYMLINK        @<HAVE_SYMLINK>@>()=
  232. HAVE_SYMLINK        DO
  233. ##  Do you have Unix-domain sockets?  Pick DO or DONT.
  234. #### =()<HAVE_UNIX_DOMAIN    @<HAVE_UNIX_DOMAIN>@>()=
  235. HAVE_UNIX_DOMAIN    DO
  236. ##  Does your AF_UNIX bind use sizeof for the socket size?  Pick DO or DONT.
  237. #### =()<BIND_USE_SIZEOF        @<BIND_USE_SIZEOF>@>()=
  238. BIND_USE_SIZEOF        DO
  239. ##  How should close-on-exec be done?  Pick IOCTL or FCNTL.
  240. #### =()<CLX_STYLE        @<CLX_STYLE>@>()=
  241. CLX_STYLE        FCNTL
  242. ##  How should non-blocking I/O be done?  Pick IOCTL or FCNTL.
  243. #### =()<NBIO_STYLE        @<NBIO_STYLE>@>()=
  244. NBIO_STYLE        FCNTL
  245. ##  How should resource-totalling be done?  Pick RUSAGE or TIMES
  246. #### =()<RES_STYLE        @<RES_STYLE>@>()=
  247. RES_STYLE        TIMES
  248. ##  How to get number of available descriptors?
  249. ##  Pick GETDTAB, GETRLIMIT, SYSCONF, ULIMIT, or CONSTANT.
  250. ####  =()<FDCOUNT_STYLE        @<FDCOUNT_STYLE>@>()=
  251. FDCOUNT_STYLE        GETDTAB
  252. ##  If greater than -1, then use [gs]etrlimit to set that many descriptors.
  253. ##  If -1, then no [gs]etrlimit calls are done.
  254. #### =()<NOFILE_LIMIT        @<NOFILE_LIMIT>@>()=
  255. NOFILE_LIMIT        -1
  256. ##  Do you need <time.h> as well as <sys/time.h>?  Pick DO or DONT.
  257. #### =()<NEED_TIME        @<NEED_TIME>@>()=
  258. NEED_TIME        DO
  259. ##  What predicate, if any, the <ctype.h> macros need
  260. #### =()<CTYPE            @<CTYPE>@>()=
  261. CTYPE            (isascii((c)) && isXXXXX((c)))
  262. #CTYPE            ((c) > 0 && isXXXXX((c)))
  263. #CTYPE            isXXXXX((c))
  264. ##  What's the return type of abort?  Usually int or void.
  265. #### =()<ABORTVAL        @<ABORTVAL>@>()=
  266. ABORTVAL        int
  267. ##  What's the return type of alarm?  Usually int or unsigned int.
  268. #### =()<ALARMVAL        @<ALARMVAL>@>()=
  269. ALARMVAL        int
  270. ##  What's the return type of getpid?  Usually int or unsigned int.
  271. #### =()<GETPIDVAL        @<GETPIDVAL>@>()=
  272. GETPIDVAL        int
  273. ##  What's the return type of sleep?  Usually int or unsigned int.
  274. #### =()<SLEEPVAL        @<SLEEPVAL>@>()=
  275. SLEEPVAL        int
  276. ##  What's the return type of  qsort?  Usually int or void.
  277. #### =()<QSORTVAL        @<QSORTVAL>@>()=
  278. QSORTVAL        int
  279. ##  What's the return type of lseek?  Usually long or off_t.
  280. #### =()<LSEEKVAL        @<LSEEKVAL>@>()=
  281. LSEEKVAL        long
  282. ##  What's the return type of free?  Usually int or void.
  283. #### =()<FREEVAL            @<FREEVAL>@>()=
  284. FREEVAL            int
  285. ##  What's the return type of exit?  Usually int or void.
  286. ##  (For gcc (not pedantic ANSI) use "volatile void" in EXITVAL and _EXITVAL.)
  287. #### =()<EXITVAL            @<EXITVAL>@>()=
  288. EXITVAL            volatile void
  289. ##  What's the return type of _exit?  Usually int or void.
  290. #### =()<_EXITVAL        @<_EXITVAL>@>()=
  291. _EXITVAL        volatile void
  292.  
  293.  
  294. ##
  295. ##  5.  C LIBRARY OMISSIONS
  296. ##  Possible values:
  297. ##    MISSING_MAN        strcasecmp.3 syslog.3
  298. ##    MISSING_SRC        strcasecmp.c syslog.c strerror.c getdtab.c
  299. ##    MISSING_OBJ        strcasecmp.o syslog.o strerror.o getdtab.c
  300. ##  getdtab has a getdtablesize() routine if you need it; see the lib
  301. ##  directory and Install.ms for others.
  302. ##  OSx systems should add $(OSXATTOBJ) to MISSING_OBJ.
  303. #### =()<MISSING_MAN        @<MISSING_MAN>@>()=
  304. MISSING_MAN        
  305. #### =()<MISSING_SRC        @<MISSING_SRC>@>()=
  306. MISSING_SRC        strerror.c malloc.c syslog.c
  307. #### =()<MISSING_OBJ        @<MISSING_OBJ>@>()=
  308. MISSING_OBJ        strerror.o malloc.o syslog.o
  309.  
  310.  
  311. ##
  312. ##  6.  MISCELLANEOUS CONFIG DATA
  313. ##  Use read/write to update the active file, or mmap?  Pick READ or MMAP.
  314. #### =()<ACT_STYLE        @<ACT_STYLE>@>()=
  315. ACT_STYLE        READ
  316. ##  Do clients use our NNTP-server-open routine, or the one in NNTP?
  317. ##  INND is nicer, but you must install inn.conf files everywhere; NNTP
  318. ##  is better if you already have lots of /usr/lib/news/server files.
  319. ##  Pick INND or NNTP.
  320. #### =()<REM_STYLE        @<REM_STYLE>@>()=
  321. REM_STYLE        NNTP
  322. ##  Should rnews save articles that the server rejects?  Pick DO or DONT.
  323. #### =()<RNEWS_SAVE_BAD        @<RNEWS_SAVE_BAD>@>()=
  324. RNEWS_SAVE_BAD        DO
  325. ##  Should rnews log articles innd already has?  Pick SYSLOG, FILE, OR DONT.
  326. #### =()<RNEWS_LOG_DUPS        @<RNEWS_LOG_DUPS>@>()=
  327. RNEWS_LOG_DUPS        DONT
  328. ##  Look in _PATH_RNEWSPROGS for rnews unpackers?  Pick DO or DONT.
  329. #### =()<RNEWSPROGS        @<RNEWSPROGS>@>()=
  330. RNEWSPROGS        DO
  331. ##  Should rnews try the local host?  Pick DO or DONT.
  332. #### =()<RNEWSLOCALCONNECT        @<RNEWSLOCALCONNECT>@>()=
  333. RNEWSLOCALCONNECT        DO
  334. ##  Environment variable that has remote hostname for rnews.
  335. #### =()<_ENV_UUCPHOST        @<_ENV_UUCPHOST>@>()=
  336. _ENV_UUCPHOST        UU_MACHINE
  337. ##  Require posts to have under 50% inclusion (">") lines?  Pick DO OR DONT.
  338. ##  (This is only for inews and nnrpd.)
  339. #### =()<CHECK_INCLUDED_TEXT        @<CHECK_INCLUDED_TEXT>@>()=
  340. CHECK_INCLUDED_TEXT        DONT
  341. ##  Put hosts in the inews Path header?  Pick DO or DONT.
  342. #### =()<INEWS_PATH        @<INEWS_PATH>@>()=
  343. INEWS_PATH        DONT
  344. ##  Munge the gecos field of password entry?  Pick DO or DONT.
  345. #### =()<MUNGE_GECOS        @<MUNGE_GECOS>@>()=
  346. MUNGE_GECOS        DO
  347. ##  How many times to try to fork before giving up
  348. #### =()<MAX_FORKS        @<MAX_FORKS>@>()=
  349. MAX_FORKS        10
  350. ##  Largest acceptable article size; 0 allows any size
  351. #### =()<MAX_ART_SIZE        @<MAX_ART_SIZE>@>()=
  352. MAX_ART_SIZE        1000000
  353. ##  Value of dbzincore(FLAG) call in innd.  Pick 1 or 0.
  354. #### =()<INND_DBZINCORE        @<INND_DBZINCORE>@>()=
  355. INND_DBZINCORE        1
  356. ##  Should sub-processes get a nice(2) value?  Pick DO or DONT.
  357. #### =()<INND_NICE_KIDS        @<INND_NICE_KIDS>@>()=
  358. INND_NICE_KIDS        DONT
  359. ##  Value for nice(2) call in innd.
  360. #### =()<INND_NICE_VALUE    @<INND_NICE_VALUE>@>()=
  361. INND_NICE_VALUE    10
  362. ##  Null-terminated list of unknown commands to not log to syslog.
  363. ##    INND_QUIET_BADLIST    "xstream", "xfoo", NULL
  364. #### =()<INND_QUIET_BADLIST    @<INND_QUIET_BADLIST>@>()=
  365. INND_QUIET_BADLIST    NULL
  366. ##  Null-terminated set of illegal distribution patterns for local postings.
  367. #### =()<BAD_DISTRIBS    @<BAD_DISTRIBS>@>()=
  368. BAD_DISTRIBS    "*.*",NULL
  369. ##  Verify that the poster is the person doing the cancel?  Pick DO or DONT.
  370. #### =()<VERIFY_CANCELS        @<VERIFY_CANCELS>@>()=
  371. VERIFY_CANCELS        DONT
  372. ##  Log "ctlinnd cancel" commands to syslog?  Pick DO or DONT.
  373. #### =()<LOG_CANCEL_COMMANDS    @<LOG_CANCEL_COMMANDS>@>()=
  374. LOG_CANCEL_COMMANDS    DONT
  375. ##  File unknown "to.*" groups into the "to" newsgroup?  Pick DO or DONT.
  376. #### =()<MERGE_TO_GROUPS        @<MERGE_TO_GROUPS>@>()=
  377. MERGE_TO_GROUPS        DONT
  378. ##  File articles in unknown newsgroups into junk?  Pick DO or DONT.
  379. #### =()<WANT_TRASH        @<WANT_TRASH>@>()=
  380. WANT_TRASH        DO
  381. ##  Record rejected articles in history?  Pick DO or DONT.
  382. #### =()<REMEMBER_TRASH        @<REMEMBER_TRASH>@>()=
  383. REMEMBER_TRASH        DONT
  384. ##  Check the linecount against the Lines header?  Pick DO or DONT.
  385. #### =()<CHECK_LINECOUNT        @<CHECK_LINECOUNT>@>()=
  386. CHECK_LINECOUNT        DONT
  387. ##  If checking, the error must be within LINECOUNT_FUZZ lines.
  388. ##  Five is number of .signature lines + 1.
  389. #### =()<LINECOUNT_FUZZ        @<LINECOUNT_FUZZ>@>()=
  390. LINECOUNT_FUZZ        5
  391. ##  Have innd throttle itself after this many I/O errors.
  392. #### =()<IO_ERROR_COUNT        @<IO_ERROR_COUNT>@>()=
  393. IO_ERROR_COUNT        50
  394. ##  Default value for ctlinnd -t flag; use 0 to wait and poll.
  395. #### =()<CTLINND_TIMEOUT        @<CTLINND_TIMEOUT>@>()=
  396. CTLINND_TIMEOUT        0
  397. ##  Flush logs if we go this long with no I/O.
  398. #### =()<DEFAULT_TIMEOUT        @<DEFAULT_TIMEOUT>@>()=
  399. DEFAULT_TIMEOUT        300
  400. ##  INND closes channel if inactive this long (seconds).
  401. #### =()<PEER_TIMEOUT        @<PEER_TIMEOUT>@>()=
  402. PEER_TIMEOUT        (1 * 60 * 60)
  403. ##  NNRP exits if inactive this long (seconds).
  404. #### =()<CLIENT_TIMEOUT        @<CLIENT_TIMEOUT>@>()=
  405. CLIENT_TIMEOUT        (2 * 60 * 60)
  406. ##  Allow nnrpd readers when paused or throttled?  Pick DO or DONT.
  407. #### =()<ALLOW_READERS        @<ALLOW_READERS>@>()=
  408. ALLOW_READERS        DO
  409. ##  Refuse newsreader connections if load is higher then this; -1 disables.
  410. #### =()<NNRP_LOADLIMIT        @<NNRP_LOADLIMIT>@>()=
  411. NNRP_LOADLIMIT        16
  412. ##  Don't readdir() spool dir if same group within this many secs.
  413. #### =()<NNRP_RESCAN_DELAY        @<NNRP_RESCAN_DELAY>@>()=
  414. NNRP_RESCAN_DELAY        60
  415. ##  Do gethostbyaddr on client adresses in nnrp?   Pick DO or DONT.
  416. ##  (If DONT, then use only IP addresses in hosts.nnrp)
  417. #### =()<NNRP_GETHOSTBYADDR        @<NNRP_GETHOSTBYADDR>@>()=
  418. NNRP_GETHOSTBYADDR        DO
  419. ##  How many Message-ID retrievals until nnrpd does a dbzincore?  Set
  420. ##  to -1 to never do incore.
  421. #### =()<NNRP_DBZINCORE_DELAY        @<NNRP_DBZINCORE_DELAY>@>()=
  422. NNRP_DBZINCORE_DELAY    40
  423. ##  Strip Sender from posts that didn't authenticate?  Pick DO or DONT.
  424. #### =()<NNRP_AUTH_SENDER    @<NNRP_AUTH_SENDER>@>()=
  425. NNRP_AUTH_SENDER    DONT
  426. ##  How many read/write failures until channel is put to sleep or closed?
  427. #### =()<BAD_IO_COUNT        @<BAD_IO_COUNT>@>()=
  428. BAD_IO_COUNT        5
  429. ##  Multiplier for sleep in EWOULDBLOCK writes (seconds).
  430. #### =()<BLOCK_BACKOFF        @<BLOCK_BACKOFF>@>()=
  431. BLOCK_BACKOFF        (2 * 60)
  432. ##  How many article-writes between active and history updates?
  433. #### =()<ICD_SYNC_COUNT        @<ICD_SYNC_COUNT>@>()=
  434. ICD_SYNC_COUNT        200
  435. ##  Tell resolver _res.options to be fast?  Pick DO or DONT.
  436. #### =()<FAST_RESOLV        @<FAST_RESOLV>@>()=
  437. FAST_RESOLV        DONT
  438. ##  Drop articles that were posted this many days ago.
  439. #### =()<DEFAULT_CUTOFF        @<DEFAULT_CUTOFF>@>()=
  440. DEFAULT_CUTOFF        21
  441. ##  Maximum number of incoming NNTP connections.
  442. #### =()<DEFAULT_CONNECTIONS    @<DEFAULT_CONNECTIONS>@>()=
  443. DEFAULT_CONNECTIONS    50
  444. ##  Wait this many seconds before channel restarts.
  445. #### =()<CHANNEL_RETRY_TIME    @<CHANNEL_RETRY_TIME>@>()=
  446. CHANNEL_RETRY_TIME    (5 * 60)
  447. ##  Wait this many seconds before seeing if pause is ended.
  448. #### =()<PAUSE_RETRY_TIME    @<PAUSE_RETRY_TIME>@>()=
  449. PAUSE_RETRY_TIME    (5 * 60)
  450. ##  Wait this many seconds between noticing inactive channels.
  451. #### =()<CHANNEL_INACTIVE_TIME    @<CHANNEL_INACTIVE_TIME>@>()=
  452. CHANNEL_INACTIVE_TIME    (10 * 60)
  453. ##  Put nntplink info (filename) into the log?
  454. #### =()<NNTPLINK_LOG    @<NNTPLINK_LOG>@>()=
  455. NNTPLINK_LOG    DONT
  456. ##  Log by host IP address, rather than from Path line?
  457. #### =()<IPADDR_LOG    @<IPADDR_LOG>@>()=
  458. IPADDR_LOG    DONT
  459. ##  Log NNTP activity after this many articles.
  460. #### =()<NNTP_ACTIVITY_SYNC    @<NNTP_ACTIVITY_SYNC>@>()=
  461. NNTP_ACTIVITY_SYNC    200
  462. ##  Free buffers bigger than this when we're done with them.
  463. #### =()<BIG_BUFFER        @<BIG_BUFFER>@>()=
  464. BIG_BUFFER        (2 * START_BUFF_SIZE)
  465. ##  A general small buffer.
  466. #### =()<SMBUF            @<SMBUF>@>()=
  467. SMBUF            256
  468. ##  Buffer for a single article name.
  469. #### =()<MAXARTFNAME        @<MAXARTFNAME>@>()=
  470. MAXARTFNAME        10
  471. ##  Buffer for a single pathname in the spool directory.
  472. #### =()<SPOOLNAMEBUFF        @<SPOOLNAMEBUFF>@>()=
  473. SPOOLNAMEBUFF        512
  474. ##  Maximum size of a single header.
  475. #### =()<MAXHEADERSIZE        @<MAXHEADERSIZE>@>()=
  476. MAXHEADERSIZE        1024
  477. ##  Byte limit on locally-posted articles; 0 to disable the check.
  478. #### =()<LOCAL_MAX_ARTSIZE        @<LOCAL_MAX_ARTSIZE>@>()=
  479. LOCAL_MAX_ARTSIZE        0
  480. ##  Do you have uustat, or just uuq?  Pick DO or DONT
  481. #### =()<HAVE_UUSTAT        @<HAVE_UUSTAT>@>()=
  482. HAVE_UUSTAT        DO
  483.  
  484.  
  485. ##
  486. ##  7.  PATHS TO COMMON PROGRAMS
  487. ##  Where the raison d'etre for this distribution lives.
  488. #### =()<_PATH_INND        @<_PATH_INND>@>()=
  489. _PATH_INND        /usr/lib/newsbin/inn/innd
  490. ##  Where the optional front-end that exec's innd lives.
  491. #### =()<_PATH_INNDSTART        @<_PATH_INNDSTART>@>()=
  492. _PATH_INNDSTART        /usr/lib/newsbin/inn/inndstart
  493. ##  Where news boot-up script should be installed.
  494. #### =()<_PATH_NEWSBOOT        @<_PATH_NEWSBOOT>@>()=
  495. _PATH_NEWSBOOT        /usr/lib/newsbin/inn/rc.news
  496. ##  Where sendmail, or a look-alike, lives.
  497. ##  The -t is optional and says to read message for recipients
  498. #### =()<_PATH_SENDMAIL        @<_PATH_SENDMAIL>@>()=
  499. _PATH_SENDMAIL        /usr/lib/sendmail -t
  500. ##  Where the shell is.
  501. #### =()<_PATH_SH        @<_PATH_SH>@>()=
  502. _PATH_SH        /bin/sh
  503. ##  Where the compress program lives.
  504. #### =()<_PATH_COMPRESS        @<_PATH_COMPRESS>@>()=
  505. _PATH_COMPRESS        /usr/ucb/compress
  506. ##  What extension your compress appends
  507. #### =()<_PATH_COMPRESSEXT    @<_PATH_COMPRESSEXT>@>()=
  508. _PATH_COMPRESSEXT    .Z
  509. ##  Where egrep lives (you might need the FSF one; see scanlogs)
  510. #### =()<_PATH_EGREP        @<_PATH_EGREP>@>()=
  511. _PATH_EGREP        /usr/local/bin/grep
  512. ##  Where awk lives
  513. #### =()<_PATH_AWK        @<_PATH_AWK>@>()=
  514. _PATH_AWK        awk
  515. ##  Where sed lives (you might need the FSF one)
  516. #### =()<_PATH_SED        @<_PATH_SED>@>()=
  517. _PATH_SED        sed
  518. ##  Where inews lives.
  519. #### =()<_PATH_INEWS        @<_PATH_INEWS>@>()=
  520. _PATH_INEWS        /usr/lib/newsbin/inn/inews
  521. ##  Where rnews lives.
  522. #### =()<_PATH_RNEWS        @<_PATH_RNEWS>@>()=
  523. _PATH_RNEWS        /usr/lib/newsbin/inn/rnews
  524. ##  Where the NNRP server lives.
  525. #### =()<_PATH_NNRPD        @<_PATH_NNRPD>@>()=
  526. _PATH_NNRPD        /usr/lib/newsbin/inn/in.nnrpd
  527. ##  The path of the process run when an unknown host connects to innd.
  528. ##  Usually the same as _PATH_NNRPD, but may be, e.g., the path to
  529. ##  nntpd from the reference implementation.
  530. #### =()<_PATH_NNTPD        @<_PATH_NNTPD>@>()=
  531. _PATH_NNTPD        /usr/lib/newsbin/inn/in.nnrpd
  532. ##  Where the NNQR server lives.  Make same as _PATH_NNRPD for now
  533. #### =()<_PATH_NNQRD        @<_PATH_NNRPD>@>()=
  534. _PATH_NNQRD        /usr/lib/newsbin/inn/in.nnrpd
  535. ##  Where most other programs live.
  536. ##  See also _PATH_RNEWSPROGS and _PATH_CONTROLPROGS, below.
  537. #### =()<_PATH_NEWSBIN        @<_PATH_NEWSBIN>@>()=
  538. _PATH_NEWSBIN        /usr/lib/newsbin/inn/
  539. ##  Where temporary files live on the server
  540. #### =()<_PATH_TMP        @<_PATH_TMP>@>()=
  541. _PATH_TMP        /tmp
  542. ##  Command to send mail (with -s "subject" allowed)
  543. #### =()<_PATH_MAILCMD        @<_PATH_MAILCMD>@>()=
  544. _PATH_MAILCMD        /usr/bin/mailx
  545. ##  Where scripts should have shlock create locks.
  546. #### =()<_PATH_LOCKS        @<_PATH_LOCKS>@>()=
  547. _PATH_LOCKS        /usr/lib/news
  548.  
  549.  
  550. ##
  551. ##  8.  PATHS RELATED TO THE SPOOL DIRECTORY
  552. ##  Spool directory, where articles live.
  553. #### =()<_PATH_SPOOL        @<_PATH_SPOOL>@>()=
  554. _PATH_SPOOL        /usr/spool/news
  555. ##  Spool directory where overview data lives.
  556. #### =()<_PATH_OVERVIEWDIR        @<_PATH_OVERVIEWDIR>@>()=
  557. _PATH_OVERVIEWDIR        /usr/spool/news
  558. ##  Name of overview file within its spool directory.
  559. #### =()<_PATH_OVERVIEW        @<_PATH_OVERVIEW>@>()=
  560. _PATH_OVERVIEW        .overview
  561. ##  Where rnews spools its input.
  562. #### =()<_PATH_SPOOLNEWS        @<_PATH_SPOOLNEWS>@>()=
  563. _PATH_SPOOLNEWS        /usr/spool/news/in.coming
  564. ##  Where rnews creates temporary files until finished
  565. #### =()<_PATH_SPOOLTEMP        @<_PATH_SPOOLTEMP>@>()=
  566. _PATH_SPOOLTEMP        /usr/spool/news/in.coming/tmp
  567. ##  Where rnews puts bad input.
  568. #### =()<_PATH_BADNEWS        @<_PATH_BADNEWS>@>()=
  569. _PATH_BADNEWS        /usr/spool/news/in.coming/bad
  570. ##  Where rnews puts bad input, relative to _PATH_SPOOLNEWS.
  571. #### =()<_PATH_RELBAD        @<_PATH_RELBAD>@>()=
  572. _PATH_RELBAD        bad
  573.  
  574.  
  575. ##
  576. ##  9.  EXECUTION PATHS FOR INND AND RNEWS
  577. ##  Pathname where dups are logged if RNEWS_LOG_DUPS is FILE.
  578. #### =()<_PATH_RNEWS_DUP_LOG        @<_PATH_RNEWS_DUP_LOG>@>()=
  579. _PATH_RNEWS_DUP_LOG        /dev/null
  580. ##  Rnews may execute any program in this directory; see RNEWSPROGS.
  581. #### =()<_PATH_RNEWSPROGS    @<_PATH_RNEWSPROGS>@>()=
  582. _PATH_RNEWSPROGS    /usr/lib/newsbin/inn/rnews.d
  583. ##  Path to control messages scripts.
  584. #### =()<_PATH_CONTROLPROGS    @<_PATH_CONTROLPROGS>@>()=
  585. _PATH_CONTROLPROGS    /usr/lib/newsbin/inn/control
  586. ##  Default "unknown/illegal" control script, within _PATH_CONTROLPROGS.
  587. #### =()<_PATH_BADCONTROLPROG    @<_PATH_BADCONTROLPROG>@>()=
  588. _PATH_BADCONTROLPROG    default
  589.  
  590.  
  591. ##
  592. ##  10.  SOCKETS CREATED BY INND OR CLIENTS
  593. #### =()<_PATH_INNDDIR        @<_PATH_INNDDIR>@>()=
  594. _PATH_INNDDIR        /usr/lib/news/innd
  595. ##  Unix-domain stream socket that rnews connects to.
  596. #### =()<_PATH_NNTPCONNECT    @<_PATH_NNTPCONNECT>@>()=
  597. _PATH_NNTPCONNECT    /usr/lib/news/innd/nntpin
  598. ##  Unix-domain datagram socket that ctlinnd to.
  599. #### =()<_PATH_NEWSCONTROL    @<_PATH_NEWSCONTROL>@>()=
  600. _PATH_NEWSCONTROL    /usr/lib/news/innd/control
  601. ##  Temporary socket created by ctlinnd; run through mktemp
  602. #### =()<_PATH_TEMPSOCK        @<_PATH_TEMPSOCK>@>()=
  603. _PATH_TEMPSOCK        /usr/lib/news/innd/ctlinndXXXXXX
  604.  
  605.  
  606. ##
  607. ##  11.  LOG AND CONFIG FILES
  608. ##  Shell script that sets most of these as shell vars
  609. #### =()<_PATH_SHELLVARS        @<_PATH_SHELLVARS>@>()=
  610. _PATH_SHELLVARS        /usr/lib/news/innshellvars
  611. ##  Where most config and data files are usually stored; not required
  612. ##  to the home directory of NEWSUSER.
  613. #### =()<_PATH_NEWSLIB        @<_PATH_NEWSLIB>@>()=
  614. _PATH_NEWSLIB        /usr/lib/news
  615. ##  The server's log file.
  616. #### =()<_PATH_LOGFILE        @<_PATH_LOGFILE>@>()=
  617. _PATH_LOGFILE        /usr/lib/news/log
  618. ##  The server's error log file.
  619. #### =()<_PATH_ERRLOG        @<_PATH_ERRLOG>@>()=
  620. _PATH_ERRLOG        /usr/lib/news/errlog
  621. ##  Where most sylog log files go; see also scanlogs, innstat, etc.
  622. #### =()<_PATH_MOST_LOGS    @<_PATH_MOST_LOGS>@>()=
  623. _PATH_MOST_LOGS    /usr/lib/news/syslog
  624. ##  How many generates of log files to keep.
  625. #### =()<LOG_CYCLES    @<LOG_CYCLES>@>()=
  626. LOG_CYCLES    7
  627. ##  Text value of the server's pid.
  628. #### =()<_PATH_SERVERPID        @<_PATH_SERVERPID>@>()=
  629. _PATH_SERVERPID        /usr/lib/news/innd/innd.pid
  630. ##  The newsfeeds file, on the server host.
  631. #### =()<_PATH_NEWSFEEDS    @<_PATH_NEWSFEEDS>@>()=
  632. _PATH_NEWSFEEDS    /usr/lib/news/newsfeeds
  633. ##  The article history database, on the server host.
  634. #### =()<_PATH_HISTORY    @<_PATH_HISTORY>@>()=
  635. _PATH_HISTORY    /usr/lib/news/history
  636. ##  File listing the sites that feed us news.
  637. #### =()<_PATH_INNDHOSTS        @<_PATH_INNDHOSTS>@>()=
  638. _PATH_INNDHOSTS        /usr/lib/news/hosts.nntp
  639. ##  The active file, on the server host.
  640. #### =()<_PATH_ACTIVE    @<_PATH_ACTIVE>@>()=
  641. _PATH_ACTIVE    /usr/lib/news/active
  642. ##  A temporary active file, for writing on the server host.
  643. #### =()<_PATH_NEWACTIVE        @<_PATH_NEWACTIVE>@>()=
  644. _PATH_NEWACTIVE        /usr/lib/news/active.tmp
  645. ##  An old active file on the server host.
  646. #### =()<_PATH_OLDACTIVE        @<_PATH_OLDACTIVE>@>()=
  647. _PATH_OLDACTIVE        /usr/lib/news/active.old
  648. ##  The log of when groups are created.
  649. #### =()<_PATH_ACTIVETIMES    @<_PATH_ACTIVETIMES>@>()=
  650. _PATH_ACTIVETIMES    /usr/lib/news/active.times
  651. ##  Where batch files are located.
  652. #### =()<_PATH_BATCHDIR        @<_PATH_BATCHDIR>@>()=
  653. _PATH_BATCHDIR        /usr/spool/news/out.going
  654. ##  Where archives are kept.
  655. #### =()<_PATH_ARCHIVEDIR    @<_PATH_ARCHIVEDIR>@>()=
  656. _PATH_ARCHIVEDIR    /usr/spool/news/news.archive
  657. ##  Where NNRP distributions file is
  658. #### =()<_PATH_NNRPDIST        @<_PATH_NNRPDIST>@>()=
  659. _PATH_NNRPDIST        /usr/lib/news/distributions
  660. ##  Where the default Distribution assignments file is
  661. #### =()<_PATH_DISTPATS        @<_PATH_DISTPATS>@>()=
  662. _PATH_DISTPATS        /usr/lib/news/distrib.pats
  663. #### =()<_PATH_NEWSGROUPS    @<_PATH_NEWSGROUPS>@>()=
  664. _PATH_NEWSGROUPS    /usr/lib/news/newsgroups
  665. ##  File where client configuration parameters can be read.
  666. #### =()<_PATH_CONFIG    @<_PATH_CONFIG>@>()=
  667. _PATH_CONFIG    /usr/lib/news/inn.conf
  668. ##  The possible active file, on clients (NFS-mounted, e.g.).
  669. #### =()<_PATH_CLIENTACTIVE    @<_PATH_CLIENTACTIVE>@>()=
  670. _PATH_CLIENTACTIVE    /usr/lib/news/active
  671. ##  A temporary file, for client inews to use.
  672. #### =()<_PATH_TEMPACTIVE    @<_PATH_TEMPACTIVE>@>()=
  673. _PATH_TEMPACTIVE    /tmp/activeXXXXXX
  674. ##  Where to mail to the moderators.
  675. #### =()<_PATH_MODERATORS    @<_PATH_MODERATORS>@>()=
  676. _PATH_MODERATORS    /usr/lib/news/moderators
  677. ##  Where NNTP puts the name of the server.
  678. #### =()<_PATH_SERVER    @<_PATH_SERVER>@>()=
  679. _PATH_SERVER    /usr/lib/news/server
  680. ##  File with name/password for all remote connections.
  681. #### =()<_PATH_NNTPPASS        @<_PATH_NNTPPASS>@>()=
  682. _PATH_NNTPPASS        /usr/lib/news/passwd.nntp
  683. ##  NNRP access file.
  684. #### =()<_PATH_NNRPACCESS        @<_PATH_NNRPACCESS>@>()=
  685. _PATH_NNRPACCESS        /usr/lib/news/nnrp.access
  686. ##  Default expire control file.
  687. #### =()<_PATH_EXPIRECTL        @<_PATH_EXPIRECTL>@>()=
  688. _PATH_EXPIRECTL        /usr/lib/news/expire.ctl
  689. ##  Prolog to parse control scripts
  690. #### =()<_PATH_PARSECTL        @<_PATH_PARSECTL>@>()=
  691. _PATH_PARSECTL        /usr/lib/news/parsecontrol
  692. ##  Access control file for control scripts.
  693. #### =()<_PATH_CONTROLCTL        @<_PATH_CONTROLCTL>@>()=
  694. _PATH_CONTROLCTL        /usr/lib/news/control.ctl
  695. ##  Innwatch control file.
  696. #### =()<_PATH_CTLWATCH            @<_PATH_CTLWATCH>@>()=
  697. _PATH_CTLWATCH            /usr/lib/news/innwatch.ctl
  698. ##  Where innwatch writes its own pid.
  699. #### =()<_PATH_WATCHPID        @<_PATH_WATCHPID>@>()=
  700. _PATH_WATCHPID        /usr/lib/news/innwatch.pid
  701. ##  Where innwatch writes status when it gets an interrupt
  702. #### =()<_PATH_INNWSTATUS        @<_PATH_INNWSTATUS>@>()=
  703. _PATH_INNWSTATUS        /usr/lib/news/innwatch.status
  704. ##  Format of news overview database
  705. #### =()<_PATH_SCHEMA        @<_PATH_SCHEMA>@>()=
  706. _PATH_SCHEMA    /usr/lib/news/overview.fmt
  707.  
  708.  
  709. ##
  710. ##  12.  INNWATCH CONFIGURATION
  711. ##  Load average (* 100) at which innd should be paused.
  712. #### =()<INNWATCH_PAUSELOAD    @<INNWATCH_PAUSELOAD>@>()=
  713. INNWATCH_PAUSELOAD    1700
  714. ##  Load average (* 100) at which innd should be throttled.
  715. #### =()<INNWATCH_HILOAD    @<INNWATCH_HILOAD>@>()=
  716. INNWATCH_HILOAD    2000
  717. ##  Load average (* 100) at which to restart innd (pause/throttle undone).
  718. #### =()<INNWATCH_LOLOAD    @<INNWATCH_LOLOAD>@>()=
  719. INNWATCH_LOLOAD    1200
  720. ##  Space, in df output units, at which to throttle innd on _PATH_SPOOL.
  721. #### =()<INNWATCH_SPOOLSPACE    @<INNWATCH_SPOOLSPACE>@>()=
  722. INNWATCH_SPOOLSPACE    60000
  723. ##  Space, in df output units, at which to throttle innd on _PATH_BATCHDIR.
  724. #### =()<INNWATCH_BATCHSPACE    @<INNWATCH_BATCHSPACE>@>()=
  725. INNWATCH_BATCHSPACE    800
  726. ##  Space, in df output units, at which to throttle innd on _PATH_NEWSLIB.
  727. #### =()<INNWATCH_LIBSPACE    @<INNWATCH_LIBSPACE>@>()=
  728. INNWATCH_LIBSPACE    60000
  729. ##  Number of inodes at which to throttle innd on _PATH_SPOOL.
  730. #### =()<INNWATCH_SPOOLNODES    @<INNWATCH_SPOOLNODES>@>()=
  731. INNWATCH_SPOOLNODES    200
  732. ##  How long to sleep between innwatch iterations.
  733. #### =()<INNWATCH_SLEEPTIME    @<INNWATCH_SLEEPTIME>@>()=
  734. INNWATCH_SLEEPTIME    120
  735.  
  736.  
  737.  
  738.