home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / aux / 4484 < prev    next >
Encoding:
Text File  |  1993-01-03  |  27.4 KB  |  720 lines

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