| 1 |
## Sample config.data for UX4800 |
| 2 |
|
| 3 |
## |
| 4 |
## 1. MAKE CONFIG PARAMETERS |
| 5 |
## Where the DBZ sources are, from C News. INN has a (maybe old) copy. |
| 6 |
#### =()<DBZDIR @<DBZDIR>@>()= |
| 7 |
DBZDIR ../dbz |
| 8 |
## If you have a parallel make, set this to "&" |
| 9 |
#### =()<P @<P>@>()= |
| 10 |
P |
| 11 |
## C pre-processor flags |
| 12 |
#### =()<DEFS @<DEFS>@>()= |
| 13 |
DEFS -I../include |
| 14 |
## C compiler |
| 15 |
#### =()<CC @<CC>@>()= |
| 16 |
CC cc |
| 17 |
## Does your compiler properly do "char const *"? Pick DO DONT or DUNNO |
| 18 |
#### =()<USE_CHAR_CONST @<USE_CHAR_CONST>@>()= |
| 19 |
USE_CHAR_CONST DONT |
| 20 |
## C compiler flags |
| 21 |
#### =()<CFLAGS @<CFLAGS>@>()= |
| 22 |
CFLAGS $(DEFS) -g |
| 23 |
## C compiler flags to use when compiling dbz |
| 24 |
#### =()<DBZCFLAGS @<DBZCFLAGS>@>()= |
| 25 |
DBZCFLAGS $(CFLAGS) |
| 26 |
## What flags to use if profiling; -p or -pg, e.g. |
| 27 |
#### =()<PROF @<PROF>@>()= |
| 28 |
PROF -pg |
| 29 |
## Flags for the "cc -o" line; e.g., -Bstatic on SunOS4.x while debugging. |
| 30 |
#### =()<LDFLAGS @<LDFLAGS>@>()= |
| 31 |
LDFLAGS |
| 32 |
## If you use the standard NNTP way of connecting, where is the library? |
| 33 |
#### =()<NNTPLIB @<NNTPLIB>@>()= |
| 34 |
NNTPLIB |
| 35 |
## If you need to link in other libraries, add them here. |
| 36 |
## On NetBSD and FreeBSD, you must add the -lcrypt directive here |
| 37 |
## -lutil on BSD/OS gives you setproctitle() see HAVE_SETPROCTITLE. |
| 38 |
#### =()<LIBS @<LIBS>@>()= |
| 39 |
LIBS -lelf -lsocket -lnsl |
| 40 |
## How to make a lint library; pick BSD, SYSV, or NONE. |
| 41 |
#### =()<LINTLIBSTYLE @<LINTLIBSTYLE>@>()= |
| 42 |
LINTLIBSTYLE NONE |
| 43 |
## Flags for lint. AIX wants "-wkD"; it and others don't want "-z". |
| 44 |
#### =()<LINTFLAGS @<LINTFLAGS>@>()= |
| 45 |
LINTFLAGS -b -h $(DEFS) |
| 46 |
## Some lints insist on putting out the filename and other crap. |
| 47 |
## Possible values: |
| 48 |
## LINTFILTER | sed -n -f ../sedf.aix |
| 49 |
## LINTFILTER | sed -n -f ../sedf.osx |
| 50 |
## LINTFILTER | sed -n -f ../sedf.sun |
| 51 |
## LINTFILTER | sed -n -f ../sedf.sysv |
| 52 |
## LINTFILTER |
| 53 |
#### =()<LINTFILTER @<LINTFILTER>@>()= |
| 54 |
LINTFILTER | sed -n -f ../sedf.sysv |
| 55 |
## How to install manpages; pick SOURCE, NROFF-PACK, NROFF-PACK-SCO, |
| 56 |
## BSD4.4 or NONE. |
| 57 |
#### =()<MANPAGESTYLE @<MANPAGESTYLE>@>()= |
| 58 |
MANPAGESTYLE SOURCE |
| 59 |
## Where various manpages should go |
| 60 |
#### =()<MAN1 @<MAN1>@>()= |
| 61 |
MAN1 /usr/news/man/man1 |
| 62 |
#### =()<MAN3 @<MAN3>@>()= |
| 63 |
MAN3 /usr/news/man/man3 |
| 64 |
#### =()<MAN5 @<MAN5>@>()= |
| 65 |
MAN5 /usr/news/man/man5 |
| 66 |
#### =()<MAN8 @<MAN8>@>()= |
| 67 |
MAN8 /usr/news/man/man8 |
| 68 |
## Ranlib command. Use echo if you don't need ranlib. |
| 69 |
#### =()<RANLIB @<RANLIB>@>()= |
| 70 |
RANLIB echo |
| 71 |
## YACC (yet another config control?) |
| 72 |
#### =()<YACC @<YACC>@>()= |
| 73 |
YACC yacc |
| 74 |
## Ctags command. Use echo if you don't have ctags. |
| 75 |
#### =()<CTAGS @<CTAGS>@>()= |
| 76 |
CTAGS ctags -t -w |
| 77 |
|
| 78 |
|
| 79 |
## |
| 80 |
## 2. LOGGING LEVELS |
| 81 |
## Facility innd should log under. |
| 82 |
#### =()<LOG_INN_SERVER @<LOG_INN_SERVER>@>()= |
| 83 |
LOG_INN_SERVER LOG_NEWS |
| 84 |
## Facility all other programs should log under. |
| 85 |
#### =()<LOG_INN_PROG @<LOG_INN_PROG>@>()= |
| 86 |
LOG_INN_PROG LOG_NEWS |
| 87 |
## Flags to use in opening the logs; some programs add LOG_PID. |
| 88 |
#### =()<L_OPENLOG_FLAGS @<L_OPENLOG_FLAGS>@>()= |
| 89 |
L_OPENLOG_FLAGS (LOG_CONS | LOG_NDELAY) |
| 90 |
## Log a fatal error; program is about to exit. |
| 91 |
#### =()<L_FATAL @<L_FATAL>@>()= |
| 92 |
L_FATAL LOG_CRIT |
| 93 |
## Log an error that might mean one or more articles get lost. |
| 94 |
#### =()<L_ERROR @<L_ERROR>@>()= |
| 95 |
L_ERROR LOG_ERR |
| 96 |
## Informational notice, usually not worth caring about. |
| 97 |
#### =()<L_NOTICE @<L_NOTICE>@>()= |
| 98 |
L_NOTICE LOG_WARNING |
| 99 |
## A protocol trace. |
| 100 |
#### =()<L_TRACE @<L_TRACE>@>()= |
| 101 |
L_TRACE LOG_DEBUG |
| 102 |
## All incoming control commands (ctlinnd, etc). |
| 103 |
#### =()<L_CC_CMD @<L_CC_CMD>@>()= |
| 104 |
L_CC_CMD LOG_INFO |
| 105 |
|
| 106 |
|
| 107 |
## |
| 108 |
## 3. OWNERSHIPS AND FILE MODES |
| 109 |
## Owner of articles and directories and _PATH_INNDDIR |
| 110 |
#### =()<NEWSUSER @<NEWSUSER>@>()= |
| 111 |
NEWSUSER news |
| 112 |
## Group, for same purpose |
| 113 |
#### =()<NEWSGROUP @<NEWSGROUP>@>()= |
| 114 |
NEWSGROUP news |
| 115 |
## Who gets email from news.daily and about control messages. |
| 116 |
#### =()<NEWSMASTER @<NEWSMASTER>@>()= |
| 117 |
NEWSMASTER usenet |
| 118 |
## Who gets email on the Path line? |
| 119 |
#### =()<PATHMASTER @<PATHMASTER>@>()= |
| 120 |
PATHMASTER not-for-mail |
| 121 |
## Umask to set. |
| 122 |
#### =()<NEWSUMASK @<NEWSUMASK>@>()= |
| 123 |
NEWSUMASK 02 |
| 124 |
## Mode that incoming articles are created under. |
| 125 |
#### =()<ARTFILE_MODE @<ARTFILE_MODE>@>()= |
| 126 |
ARTFILE_MODE 0664 |
| 127 |
## Mode that batch files are created under. |
| 128 |
#### =()<BATCHFILE_MODE @<BATCHFILE_MODE>@>()= |
| 129 |
BATCHFILE_MODE 0664 |
| 130 |
## Mode that directories are created under. |
| 131 |
#### =()<GROUPDIR_MODE @<GROUPDIR_MODE>@>()= |
| 132 |
GROUPDIR_MODE 0775 |
| 133 |
|
| 134 |
|
| 135 |
## |
| 136 |
## 4. C LIBRARY DIFFERENCES |
| 137 |
## Use stdargs, varargs, or neither? Pick VARARGS STDARGS or NONE. |
| 138 |
## You need vfprintf and vfsprintf if not NONE. |
| 139 |
#### =()<VAR_STYLE @<VAR_STYLE>@>()= |
| 140 |
VAR_STYLE STDARGS |
| 141 |
## If you don't have <string.h>, set this to "mystring.h" |
| 142 |
#### =()<STR_HEADER @<STR_HEADER>@>()= |
| 143 |
STR_HEADER <string.h> |
| 144 |
## If you don't have <memory.h>, set this to "mymemory.h" |
| 145 |
#### =()<MEM_HEADER @<MEM_HEADER>@>()= |
| 146 |
MEM_HEADER <memory.h> |
| 147 |
## What is a file offset? MUST BE LONG FOR NOW. |
| 148 |
#### =()<OFFSET_T @<OFFSET_T>@>()= |
| 149 |
OFFSET_T long |
| 150 |
## What is the type of an object size? Usually size_t or unsigned int. |
| 151 |
#### =()<SIZE_T @<SIZE_T>@>()= |
| 152 |
SIZE_T size_t |
| 153 |
## What is the type of a passwd uid and gid, for use in chown(2)? |
| 154 |
#### =()<UID_T @<UID_T>@>()= |
| 155 |
UID_T uid_t |
| 156 |
#### =()<GID_T @<GID_T>@>()= |
| 157 |
GID_T gid_t |
| 158 |
## Type of a pid, for use in kill(2). |
| 159 |
#### =()<PID_T @<PID_T>@>()= |
| 160 |
PID_T pid_t |
| 161 |
## Generic pointer, used by memcpy, malloc, etc. Usually char or void. |
| 162 |
#### =()<POINTER @<POINTER>@>()= |
| 163 |
POINTER void |
| 164 |
## Worst-case alignment, in order to shut lint up |
| 165 |
#### =()<ALIGNPTR @<ALIGNPTR>@>()= |
| 166 |
ALIGNPTR int |
| 167 |
## What should a signal handler return? Usually int or void. |
| 168 |
#### =()<SIGHANDLER @<SIGHANDLER>@>()= |
| 169 |
SIGHANDLER void |
| 170 |
## Type of variables can be modified in a signal handler? sig_atomic_t |
| 171 |
#### =()<SIGVAR @<SIGVAR>@>()= |
| 172 |
SIGVAR int |
| 173 |
## Function that returns no value, and a pointer to it. Pick int or void |
| 174 |
#### =()<FUNCTYPE @<FUNCTYPE>@>()= |
| 175 |
FUNCTYPE void |
| 176 |
## Type of 32 bit unsigned integer. |
| 177 |
#### =()<U_INT32_T @<U_INT32_T>@>()= |
| 178 |
U_INT32_T unsigned int |
| 179 |
## Type of 32 bit signed integer. |
| 180 |
#### =()<INT32_T @<INT32_T>@>()= |
| 181 |
INT32_T int |
| 182 |
## Use BSD4.2 or Posix directory names? Pick DIRENT or DIRECT. |
| 183 |
#### =()<DIR_STYLE @<DIR_STYLE>@>()= |
| 184 |
DIR_STYLE DIRENT |
| 185 |
## Use flock, lockf, or nothing to lock files? |
| 186 |
## Pick FLOCK, LOCKF, FCNTL, or NONE |
| 187 |
#### =()<LOCK_STYLE @<LOCK_STYLE>@>()= |
| 188 |
LOCK_STYLE FCNTL |
| 189 |
## Do you have <unistd.h>? Pick DO or DONT |
| 190 |
#### =()<HAVE_UNISTD @<HAVE_UNISTD>@>()= |
| 191 |
HAVE_UNISTD DO |
| 192 |
## Do you have setbuffer? Pick DO or DONT. |
| 193 |
#### =()<HAVE_SETBUFFER @<HAVE_SETBUFFER>@>()= |
| 194 |
HAVE_SETBUFFER DONT |
| 195 |
## Do you have gettimeofday? Pick DO or DONT. |
| 196 |
#### =()<HAVE_GETTIMEOFDAY @<HAVE_GETTIMEOFDAY>@>()= |
| 197 |
HAVE_GETTIMEOFDAY DO |
| 198 |
## Do you have setproctitle()? Pick DO or DONT. |
| 199 |
## You may need to adjust LIBS for this. |
| 200 |
#### =()<HAVE_SETPROCTITLE @<HAVE_SETPROCTITLE>@>()= |
| 201 |
HAVE_SETPROCTITLE DONT |
| 202 |
## Do you have fchmod? Pick DO or DONT. |
| 203 |
#### =()<HAVE_FCHMOD @<HAVE_FCHMOD>@>()= |
| 204 |
HAVE_FCHMOD DO |
| 205 |
## Do you have setsid()? Pick DO or DONT. |
| 206 |
#### =()<HAVE_SETSID @<HAVE_SETSID>@>()= |
| 207 |
HAVE_SETSID DO |
| 208 |
## Does your (struct tm) have a tm_gmtoff field? Pick DO or DONT. |
| 209 |
#### =()<HAVE_TM_GMTOFF @<HAVE_TM_GMTOFF>@>()= |
| 210 |
HAVE_TM_GMTOFF DONT |
| 211 |
## Does your (struct stat) have a st_blksize field? Pick DO or DONT. |
| 212 |
#### =()<HAVE_ST_BLKSIZE @<HAVE_ST_BLKSIZE>@>()= |
| 213 |
HAVE_ST_BLKSIZE DO |
| 214 |
## Use waitpid instead of wait3? Pick DO or DONT. |
| 215 |
#### =()<HAVE_WAITPID @<HAVE_WAITPID>@>()= |
| 216 |
HAVE_WAITPID DO |
| 217 |
## Use "union wait" instead of int? Pick DO or DONT. |
| 218 |
#### =()<USE_UNION_WAIT @<USE_UNION_WAIT>@>()= |
| 219 |
USE_UNION_WAIT DONT |
| 220 |
## How to fork? Pick fork or vfork. |
| 221 |
#### =()<FORK @<FORK>@>()= |
| 222 |
FORK vfork |
| 223 |
## Do you have <vfork.h>? Pick DO or DONT. |
| 224 |
#### =()<HAVE_VFORK @<HAVE_VFORK>@>()= |
| 225 |
HAVE_VFORK DONT |
| 226 |
## Do you have symbolic links? Pick DO or DONT. |
| 227 |
#### =()<HAVE_SYMLINK @<HAVE_SYMLINK>@>()= |
| 228 |
HAVE_SYMLINK DO |
| 229 |
## Do you have Unix-domain sockets? Pick DO or DONT. |
| 230 |
#### =()<HAVE_UNIX_DOMAIN @<HAVE_UNIX_DOMAIN>@>()= |
| 231 |
HAVE_UNIX_DOMAIN DO |
| 232 |
## Does your AF_UNIX bind use sizeof for the socket size? Pick DO or DONT. |
| 233 |
#### =()<BIND_USE_SIZEOF @<BIND_USE_SIZEOF>@>()= |
| 234 |
BIND_USE_SIZEOF DO |
| 235 |
## How should close-on-exec be done? Pick IOCTL or FCNTL. |
| 236 |
#### =()<CLX_STYLE @<CLX_STYLE>@>()= |
| 237 |
CLX_STYLE FCNTL |
| 238 |
## How should non-blocking I/O be done? Pick IOCTL or FCNTL. |
| 239 |
#### =()<NBIO_STYLE @<NBIO_STYLE>@>()= |
| 240 |
NBIO_STYLE FCNTL |
| 241 |
## How should resource-totalling be done? Pick RUSAGE or TIMES |
| 242 |
#### =()<RES_STYLE @<RES_STYLE>@>()= |
| 243 |
RES_STYLE TIMES |
| 244 |
## How to get number of available descriptors? |
| 245 |
## Pick GETDTAB, GETRLIMIT, SYSCONF, ULIMIT, or CONSTANT. |
| 246 |
#### =()<FDCOUNT_STYLE @<FDCOUNT_STYLE>@>()= |
| 247 |
FDCOUNT_STYLE GETRLIMIT |
| 248 |
## If greater than -1, then use [gs]etrlimit to set that many descriptors. |
| 249 |
## If -1, then no [gs]etrlimit calls are done. |
| 250 |
#### =()<NOFILE_LIMIT @<NOFILE_LIMIT>@>()= |
| 251 |
NOFILE_LIMIT -1 |
| 252 |
## Do you need <time.h> as well as <sys/time.h>? Pick DO or DONT. |
| 253 |
#### =()<NEED_TIME @<NEED_TIME>@>()= |
| 254 |
NEED_TIME DONT |
| 255 |
## What predicate, if any, the <ctype.h> macros need |
| 256 |
#### =()<CTYPE @<CTYPE>@>()= |
| 257 |
CTYPE (isascii((c)) && isXXXXX((c))) |
| 258 |
#CTYPE ((c) > 0 && isXXXXX((c))) |
| 259 |
#CTYPE isXXXXX((c)) |
| 260 |
## What's the return type of abort? Usually int or void. |
| 261 |
#### =()<ABORTVAL @<ABORTVAL>@>()= |
| 262 |
ABORTVAL void |
| 263 |
## What's the return type of alarm? Usually int or unsigned int. |
| 264 |
#### =()<ALARMVAL @<ALARMVAL>@>()= |
| 265 |
ALARMVAL unsigned |
| 266 |
## What's the return type of getpid? Usually int or unsigned int. |
| 267 |
#### =()<GETPIDVAL @<GETPIDVAL>@>()= |
| 268 |
GETPIDVAL pid_t |
| 269 |
## What's the return type of sleep? Usually int or unsigned int. |
| 270 |
#### =()<SLEEPVAL @<SLEEPVAL>@>()= |
| 271 |
SLEEPVAL unsigned |
| 272 |
## What's the return type of qsort? Usually int or void. |
| 273 |
#### =()<QSORTVAL @<QSORTVAL>@>()= |
| 274 |
QSORTVAL void |
| 275 |
## What's the return type of lseek? Usually long or off_t. |
| 276 |
#### =()<LSEEKVAL @<LSEEKVAL>@>()= |
| 277 |
LSEEKVAL off_t |
| 278 |
## What's the return type of free? Usually int or void. |
| 279 |
#### =()<FREEVAL @<FREEVAL>@>()= |
| 280 |
FREEVAL void |
| 281 |
## What's the return type of exit? Usually int or void. |
| 282 |
## (For gcc (not pedantic ANSI) use "volatile void" in EXITVAL and _EXITVAL.) |
| 283 |
#### =()<EXITVAL @<EXITVAL>@>()= |
| 284 |
EXITVAL void |
| 285 |
## What's the return type of _exit? Usually int or void. |
| 286 |
#### =()<_EXITVAL @<_EXITVAL>@>()= |
| 287 |
_EXITVAL void |
| 288 |
|
| 289 |
|
| 290 |
## |
| 291 |
## 5. C LIBRARY OMISSIONS |
| 292 |
## Possible values: |
| 293 |
## MISSING_MAN strcasecmp.3 syslog.3 |
| 294 |
## MISSING_SRC strcasecmp.c syslog.c strerror.c getdtab.c |
| 295 |
## MISSING_OBJ strcasecmp.o syslog.o strerror.o getdtab.c |
| 296 |
## getdtab has a getdtablesize() routine if you need it; see the lib |
| 297 |
## directory and Install.ms for others. |
| 298 |
## OSx systems should add $(OSXATTOBJ) to MISSING_OBJ. |
| 299 |
#### =()<MISSING_MAN @<MISSING_MAN>@>()= |
| 300 |
MISSING_MAN |
| 301 |
#### =()<MISSING_SRC @<MISSING_SRC>@>()= |
| 302 |
MISSING_SRC |
| 303 |
#### =()<MISSING_OBJ @<MISSING_OBJ>@>()= |
| 304 |
MISSING_OBJ |
| 305 |
|
| 306 |
|
| 307 |
## |
| 308 |
## 6. MISCELLANEOUS CONFIG DATA |
| 309 |
## |
| 310 |
## Use read/write to update the active file, or mmap? Pick READ or MMAP. |
| 311 |
#### =()<ACT_STYLE @<ACT_STYLE>@>()= |
| 312 |
ACT_STYLE MMAP |
| 313 |
## Do you want mail notifications of bad control messages. DO or DONT |
| 314 |
## Setting it to do results in a lot of mail with the number of spammers |
| 315 |
## out there. |
| 316 |
#### =()<MAIL_BADCONTROLS @<MAIL_BADCONTROLS>@>()= |
| 317 |
MAIL_BADCONTROLS DONT |
| 318 |
## What type of pointer does mmap() manage? Normally ``caddr_t'' or ``void *'' |
| 319 |
## or ``char *'' |
| 320 |
#### =()<MMAP_PTR @<MMAP_PTR>@>()= |
| 321 |
MMAP_PTR caddr_t |
| 322 |
## Should we msync when using mmap? Pick DO or DONT. Useful |
| 323 |
## with some slightly broken mmap implementations. (like HPUX and BSD/OS). |
| 324 |
#### =()<MMAP_SYNC @<MMAP_SYNC>@>()= |
| 325 |
MMAP_SYNC DO |
| 326 |
## Should we call your msync() with 3 args? (addr,len,flags) |
| 327 |
## Choose DO or DONT. |
| 328 |
#### =()<MSYNC_3_ARG @<MSYNC_3_ARG>@>()= |
| 329 |
MSYNC_3_ARG DO |
| 330 |
## Do clients use our NNTP-server-open routine, or the one in NNTP? |
| 331 |
## INND is nicer, but you must install inn.conf files everywhere; NNTP |
| 332 |
## is better if you already have lots of /usr/lib/news/server files. |
| 333 |
## Pick INND or NNTP. |
| 334 |
#### =()<REM_STYLE @<REM_STYLE>@>()= |
| 335 |
REM_STYLE INND |
| 336 |
## Should rnews save articles that the server rejects? Pick DO or DONT. |
| 337 |
#### =()<RNEWS_SAVE_BAD @<RNEWS_SAVE_BAD>@>()= |
| 338 |
RNEWS_SAVE_BAD DONT |
| 339 |
## Should rnews log articles innd already has? Pick SYSLOG, FILE, OR DONT. |
| 340 |
#### =()<RNEWS_LOG_DUPS @<RNEWS_LOG_DUPS>@>()= |
| 341 |
RNEWS_LOG_DUPS DONT |
| 342 |
## Look in _PATH_RNEWSPROGS for rnews unpackers? Pick DO or DONT. |
| 343 |
#### =()<RNEWSPROGS @<RNEWSPROGS>@>()= |
| 344 |
RNEWSPROGS DO |
| 345 |
## Should rnews try the local host? Pick DO or DONT. |
| 346 |
#### =()<RNEWSLOCALCONNECT @<RNEWSLOCALCONNECT>@>()= |
| 347 |
RNEWSLOCALCONNECT DO |
| 348 |
## Environment variable that has remote hostname for rnews. |
| 349 |
#### =()<_ENV_UUCPHOST @<_ENV_UUCPHOST>@>()= |
| 350 |
_ENV_UUCPHOST UU_MACHINE |
| 351 |
## Require posts to have under 50% inclusion (">") lines? Pick DO OR DONT. |
| 352 |
## (This is only for inews and nnrpd.) |
| 353 |
#### =()<CHECK_INCLUDED_TEXT @<CHECK_INCLUDED_TEXT>@>()= |
| 354 |
CHECK_INCLUDED_TEXT DO |
| 355 |
## Put hosts in the inews Path header? Pick DO or DONT. |
| 356 |
#### =()<INEWS_PATH @<INEWS_PATH>@>()= |
| 357 |
INEWS_PATH DO |
| 358 |
## Munge the gecos field of password entry? Pick DO or DONT. |
| 359 |
#### =()<MUNGE_GECOS @<MUNGE_GECOS>@>()= |
| 360 |
MUNGE_GECOS DO |
| 361 |
## How many times to try to fork before giving up |
| 362 |
#### =()<MAX_FORKS @<MAX_FORKS>@>()= |
| 363 |
MAX_FORKS 10 |
| 364 |
## Largest acceptable article size; 0 allows any size |
| 365 |
#### =()<MAX_ART_SIZE @<MAX_ART_SIZE>@>()= |
| 366 |
MAX_ART_SIZE 1000000L |
| 367 |
## Value of dbzincore(FLAG) call in innd. Pick 1 or 0. |
| 368 |
#### =()<INND_DBZINCORE @<INND_DBZINCORE>@>()= |
| 369 |
INND_DBZINCORE 1 |
| 370 |
## Should sub-processes get a nice(2) value? Pick DO or DONT. |
| 371 |
#### =()<INND_NICE_KIDS @<INND_NICE_KIDS>@>()= |
| 372 |
INND_NICE_KIDS DO |
| 373 |
## Value for nice(2) call in innd. |
| 374 |
#### =()<INND_NICE_VALUE @<INND_NICE_VALUE>@>()= |
| 375 |
INND_NICE_VALUE 4 |
| 376 |
## Null-terminated list of unknown commands to not log to syslog. |
| 377 |
## INND_QUIET_BADLIST "xstream", "xfoo", NULL |
| 378 |
#### =()<INND_QUIET_BADLIST @<INND_QUIET_BADLIST>@>()= |
| 379 |
INND_QUIET_BADLIST NULL |
| 380 |
## Null-terminated set of illegal distribution patterns for local postings. |
| 381 |
#### =()<BAD_DISTRIBS @<BAD_DISTRIBS>@>()= |
| 382 |
BAD_DISTRIBS "*.*",NULL |
| 383 |
## Verify that the poster is the person doing the cancel? Pick DO or DONT. |
| 384 |
## (Can't do this if cancel arrives before the article does, by the way, |
| 385 |
## in which case the early cancel will be ignored.) |
| 386 |
#### =()<VERIFY_CANCELS @<VERIFY_CANCELS>@>()= |
| 387 |
VERIFY_CANCELS DONT |
| 388 |
## Log "ctlinnd cancel" commands to syslog? Pick DO or DONT. |
| 389 |
#### =()<LOG_CANCEL_COMMANDS @<LOG_CANCEL_COMMANDS>@>()= |
| 390 |
LOG_CANCEL_COMMANDS DONT |
| 391 |
## File unknown "to.*" groups into the "to" newsgroup? Pick DO or DONT. |
| 392 |
#### =()<MERGE_TO_GROUPS @<MERGE_TO_GROUPS>@>()= |
| 393 |
MERGE_TO_GROUPS DONT |
| 394 |
## File articles in unknown newsgroups into junk? Pick DO or DONT. |
| 395 |
#### =()<WANT_TRASH @<WANT_TRASH>@>()= |
| 396 |
WANT_TRASH DONT |
| 397 |
## Record rejected articles in history? Pick DO or DONT. |
| 398 |
#### =()<REMEMBER_TRASH @<REMEMBER_TRASH>@>()= |
| 399 |
REMEMBER_TRASH DO |
| 400 |
## Check the linecount against the Lines header? Pick DO or DONT. |
| 401 |
#### =()<CHECK_LINECOUNT @<CHECK_LINECOUNT>@>()= |
| 402 |
CHECK_LINECOUNT DONT |
| 403 |
## If checking, the error must be within LINECOUNT_FUZZ lines. |
| 404 |
## Five is number of .signature lines + 1. |
| 405 |
#### =()<LINECOUNT_FUZZ @<LINECOUNT_FUZZ>@>()= |
| 406 |
LINECOUNT_FUZZ 5 |
| 407 |
## Have innd throttle itself after this many I/O errors. |
| 408 |
#### =()<IO_ERROR_COUNT @<IO_ERROR_COUNT>@>()= |
| 409 |
IO_ERROR_COUNT 50 |
| 410 |
## Default value for ctlinnd -t flag; use 0 to wait and poll. |
| 411 |
#### =()<CTLINND_TIMEOUT @<CTLINND_TIMEOUT>@>()= |
| 412 |
CTLINND_TIMEOUT 0 |
| 413 |
## Flush logs if we go this long with no I/O. |
| 414 |
#### =()<DEFAULT_TIMEOUT @<DEFAULT_TIMEOUT>@>()= |
| 415 |
DEFAULT_TIMEOUT 300 |
| 416 |
## INND closes channel if inactive this long (seconds). |
| 417 |
#### =()<PEER_TIMEOUT @<PEER_TIMEOUT>@>()= |
| 418 |
PEER_TIMEOUT (1 * 60 * 60) |
| 419 |
## NNRP exits if first command doesn't arrive within this time (seconds). |
| 420 |
#### =()<INIT_CLIENT_TIMEOUT @<INIT_CLIENT_TIMEOUT>@>()= |
| 421 |
INIT_CLIENT_TIMEOUT 30 |
| 422 |
## NNRP exits if inactive for this long (seconds). |
| 423 |
#### =()<CLIENT_TIMEOUT @<CLIENT_TIMEOUT>@>()= |
| 424 |
CLIENT_TIMEOUT (10 * 60) |
| 425 |
## Allow nnrpd readers when paused or throttled? Pick DO or DONT. |
| 426 |
#### =()<ALLOW_READERS @<ALLOW_READERS>@>()= |
| 427 |
ALLOW_READERS DO |
| 428 |
## Refuse newsreader connections if load is higher then this; -1 disables. |
| 429 |
#### =()<NNRP_LOADLIMIT @<NNRP_LOADLIMIT>@>()= |
| 430 |
NNRP_LOADLIMIT 16 |
| 431 |
## Don't readdir() spool dir if same group within this many secs. |
| 432 |
#### =()<NNRP_RESCAN_DELAY @<NNRP_RESCAN_DELAY>@>()= |
| 433 |
NNRP_RESCAN_DELAY 60 |
| 434 |
## Do gethostbyaddr on client adresses in nnrp? Pick DO or DONT. |
| 435 |
## (If DONT, then use only IP addresses in hosts.nnrp) |
| 436 |
#### =()<NNRP_GETHOSTBYADDR @<NNRP_GETHOSTBYADDR>@>()= |
| 437 |
NNRP_GETHOSTBYADDR DO |
| 438 |
## How many Message-ID retrievals until nnrpd does a dbzincore? Set |
| 439 |
## to -1 to never do incore. |
| 440 |
#### =()<NNRP_DBZINCORE_DELAY @<NNRP_DBZINCORE_DELAY>@>()= |
| 441 |
NNRP_DBZINCORE_DELAY 40 |
| 442 |
## Strip Sender from posts that didn't authenticate? Pick DO or DONT. |
| 443 |
#### =()<NNRP_AUTH_SENDER @<NNRP_AUTH_SENDER>@>()= |
| 444 |
NNRP_AUTH_SENDER DO |
| 445 |
## Do you want to make life easy for peers to pull feeds from you (it's |
| 446 |
## harder on your machine). Pick DO or DONT. With DONT, you get a small |
| 447 |
## sleep inserted before each ARTICLE command is processed. (With |
| 448 |
## apologies to the Australians in the audience). |
| 449 |
#### =()<LIKE_PULLERS @<LIKE_PULLERS>@>()= |
| 450 |
LIKE_PULLERS DO |
| 451 |
## Allow the NEWNEWS NNTP command? Pick DO or DONT. |
| 452 |
## (RFC 977 says you should; your server performance may not agree...) |
| 453 |
#### =()<ALLOW_NEWNEWS @<ALLOW_NEWNEWS>@>()= |
| 454 |
ALLOW_NEWNEWS DONT |
| 455 |
## How many read/write failures until channel is put to sleep or closed? |
| 456 |
#### =()<BAD_IO_COUNT @<BAD_IO_COUNT>@>()= |
| 457 |
BAD_IO_COUNT 5 |
| 458 |
## Multiplier for sleep in EWOULDBLOCK writes (seconds). |
| 459 |
#### =()<BLOCK_BACKOFF @<BLOCK_BACKOFF>@>()= |
| 460 |
BLOCK_BACKOFF (2 * 60) |
| 461 |
## How many article-writes between active and history updates? |
| 462 |
#### =()<ICD_SYNC_COUNT @<ICD_SYNC_COUNT>@>()= |
| 463 |
ICD_SYNC_COUNT 10 |
| 464 |
## Tell resolver _res.options to be fast? Pick DO or DONT. |
| 465 |
#### =()<FAST_RESOLV @<FAST_RESOLV>@>()= |
| 466 |
FAST_RESOLV DONT |
| 467 |
## Drop articles that were posted this many days ago. |
| 468 |
#### =()<DEFAULT_CUTOFF @<DEFAULT_CUTOFF>@>()= |
| 469 |
DEFAULT_CUTOFF 14 |
| 470 |
## Maximum number of incoming NNTP connections. |
| 471 |
#### =()<DEFAULT_CONNECTIONS @<DEFAULT_CONNECTIONS>@>()= |
| 472 |
DEFAULT_CONNECTIONS 50 |
| 473 |
## Wait this many seconds before channel restarts. |
| 474 |
#### =()<CHANNEL_RETRY_TIME @<CHANNEL_RETRY_TIME>@>()= |
| 475 |
CHANNEL_RETRY_TIME (5 * 60) |
| 476 |
## Wait this many seconds before seeing if pause is ended. |
| 477 |
#### =()<PAUSE_RETRY_TIME @<PAUSE_RETRY_TIME>@>()= |
| 478 |
PAUSE_RETRY_TIME (5 * 60) |
| 479 |
## Wait this many seconds between noticing inactive channels. |
| 480 |
#### =()<CHANNEL_INACTIVE_TIME @<CHANNEL_INACTIVE_TIME>@>()= |
| 481 |
CHANNEL_INACTIVE_TIME (10 * 60) |
| 482 |
## Put nntplink info (filename) into the log? |
| 483 |
#### =()<NNTPLINK_LOG @<NNTPLINK_LOG>@>()= |
| 484 |
NNTPLINK_LOG DONT |
| 485 |
## Put article size into the log? |
| 486 |
#### =()<LOG_SIZE @<LOG_SIZE>@>()= |
| 487 |
LOG_SIZE DO |
| 488 |
## Log by host IP address, rather than from Path line? |
| 489 |
#### =()<IPADDR_LOG @<IPADDR_LOG>@>()= |
| 490 |
IPADDR_LOG DO |
| 491 |
## Log NNTP activity after this many articles. |
| 492 |
#### =()<NNTP_ACTIVITY_SYNC @<NNTP_ACTIVITY_SYNC>@>()= |
| 493 |
NNTP_ACTIVITY_SYNC 200 |
| 494 |
## Free buffers bigger than this when we're done with them. |
| 495 |
#### =()<BIG_BUFFER @<BIG_BUFFER>@>()= |
| 496 |
BIG_BUFFER (2 * START_BUFF_SIZE) |
| 497 |
## A general small buffer. |
| 498 |
#### =()<SMBUF @<SMBUF>@>()= |
| 499 |
SMBUF 256 |
| 500 |
## Buffer for a single article name. |
| 501 |
#### =()<MAXARTFNAME @<MAXARTFNAME>@>()= |
| 502 |
MAXARTFNAME 10 |
| 503 |
## Buffer for a single pathname in the spool directory. |
| 504 |
#### =()<SPOOLNAMEBUFF @<SPOOLNAMEBUFF>@>()= |
| 505 |
SPOOLNAMEBUFF 512 |
| 506 |
## Maximum size of a single header. |
| 507 |
#### =()<MAXHEADERSIZE @<MAXHEADERSIZE>@>()= |
| 508 |
MAXHEADERSIZE 1024 |
| 509 |
## Byte limit on locally-posted articles; 0 to disable the check. |
| 510 |
#### =()<LOCAL_MAX_ARTSIZE @<LOCAL_MAX_ARTSIZE>@>()= |
| 511 |
LOCAL_MAX_ARTSIZE 1000000L |
| 512 |
## Default number of bytes to hold in memory when buffered. |
| 513 |
#### =()<SITE_BUFFER_SIZE @<SITE_BUFFER_SIZE>@>()= |
| 514 |
SITE_BUFFER_SIZE (16 * 1024) |
| 515 |
## Do you have uustat, or just uuq? Pick DO or DONT |
| 516 |
#### =()<HAVE_UUSTAT @<HAVE_UUSTAT>@>()= |
| 517 |
HAVE_UUSTAT DO |
| 518 |
## Should INN do some setsockopts on network connections. Pick DO or DONT. |
| 519 |
## Some versions of Solaris should set to DONT (pre 2.4 it seems) |
| 520 |
#### =()<SET_SOCKOPT @<SET_SOCKOPT>@>()= |
| 521 |
SET_SOCKOPT DO |
| 522 |
|
| 523 |
|
| 524 |
## |
| 525 |
## 7. PATHS TO COMMON PROGRAMS |
| 526 |
## Where the raison d'etre for this distribution lives. |
| 527 |
#### =()<_PATH_INND @<_PATH_INND>@>()= |
| 528 |
_PATH_INND /usr/news/bin/innd |
| 529 |
## Where the optional front-end that exec's innd lives. |
| 530 |
#### =()<_PATH_INNDSTART @<_PATH_INNDSTART>@>()= |
| 531 |
_PATH_INNDSTART /usr/news/bin/inndstart |
| 532 |
## Where news boot-up script should be installed. |
| 533 |
#### =()<_PATH_NEWSBOOT @<_PATH_NEWSBOOT>@>()= |
| 534 |
_PATH_NEWSBOOT /usr/news/bin/rc.news |
| 535 |
## Where sendmail, or a look-alike, lives. Inlude %s for addresses. |
| 536 |
#### =()<_PATH_SENDMAIL @<_PATH_SENDMAIL>@>()= |
| 537 |
_PATH_SENDMAIL /usr/ucblib/sendmail -oi %s |
| 538 |
## Where the shell is. |
| 539 |
#### =()<_PATH_SH @<_PATH_SH>@>()= |
| 540 |
_PATH_SH /sbin/sh |
| 541 |
## Where the compress program lives. |
| 542 |
#### =()<_PATH_COMPRESS @<_PATH_COMPRESS>@>()= |
| 543 |
_PATH_COMPRESS /usr/local/bin/gzip |
| 544 |
## What extension your compress appends |
| 545 |
#### =()<_PATH_COMPRESSEXT @<_PATH_COMPRESSEXT>@>()= |
| 546 |
_PATH_COMPRESSEXT .gz |
| 547 |
## Where egrep lives (you might need the FSF one; see scanlogs) |
| 548 |
#### =()<_PATH_EGREP @<_PATH_EGREP>@>()= |
| 549 |
_PATH_EGREP /usr/bin/egrep |
| 550 |
## Where perl lives |
| 551 |
#### =()<_PATH_PERL @<_PATH_PERL>@>()= |
| 552 |
_PATH_PERL /usr/local/bin/perl |
| 553 |
## Where awk lives |
| 554 |
#### =()<_PATH_AWK @<_PATH_AWK>@>()= |
| 555 |
_PATH_AWK /usr/bin/awk |
| 556 |
## Where sed lives (you might need the FSF one) |
| 557 |
#### =()<_PATH_SED @<_PATH_SED>@>()= |
| 558 |
_PATH_SED /usr/bin/sed |
| 559 |
## Where sort lives (you may want the FSF one). |
| 560 |
#### =()<_PATH_SORT @<_PATH_SORT>@>()= |
| 561 |
_PATH_SORT /usr/bin/sort |
| 562 |
## Where inews lives. |
| 563 |
#### =()<_PATH_INEWS @<_PATH_INEWS>@>()= |
| 564 |
_PATH_INEWS /usr/news/bin/inews |
| 565 |
## Where rnews lives. |
| 566 |
#### =()<_PATH_RNEWS @<_PATH_RNEWS>@>()= |
| 567 |
_PATH_RNEWS /usr/news/bin/rnews |
| 568 |
## Where generic authentication programs live. |
| 569 |
#### =()<_PATH_AUTHDIR @<_PATH_AUTHDIR>@>()= |
| 570 |
_PATH_AUTHDIR /usr/news/bin/auth |
| 571 |
## Where the NNRP server lives. |
| 572 |
#### =()<_PATH_NNRPD @<_PATH_NNRPD>@>()= |
| 573 |
_PATH_NNRPD /usr/news/bin/nnrpd |
| 574 |
## The path of the process run when an unknown host connects to innd. |
| 575 |
## Usually the same as _PATH_NNRPD, but may be, e.g., the path to |
| 576 |
## nntpd from the reference implementation. |
| 577 |
#### =()<_PATH_NNTPD @<_PATH_NNTPD>@>()= |
| 578 |
_PATH_NNTPD /usr/news/bin/nnrpd |
| 579 |
## Where the NNQR server lives. Make same as _PATH_NNRPD for now |
| 580 |
#### =()<_PATH_NNQRD @<_PATH_NNRPD>@>()= |
| 581 |
_PATH_NNQRD /usr/news/bin/nnrpd |
| 582 |
## Where most other programs live. |
| 583 |
## See also _PATH_RNEWSPROGS and _PATH_CONTROLPROGS, below. |
| 584 |
#### =()<_PATH_NEWSBIN @<_PATH_NEWSBIN>@>()= |
| 585 |
_PATH_NEWSBIN /usr/news/bin |
| 586 |
## Where temporary files live on the server. Probably shouldn't be world |
| 587 |
## writable. |
| 588 |
#### =()<_PATH_TMP @<_PATH_TMP>@>()= |
| 589 |
_PATH_TMP /var/tmp |
| 590 |
## Command to send mail (with -s "subject" allowed) |
| 591 |
#### =()<_PATH_MAILCMD @<_PATH_MAILCMD>@>()= |
| 592 |
_PATH_MAILCMD /usr/news/bin/innmail |
| 593 |
## Where scripts should have shlock create locks. |
| 594 |
#### =()<_PATH_LOCKS @<_PATH_LOCKS>@>()= |
| 595 |
_PATH_LOCKS /var/news/locks |
| 596 |
## Where your GNU gzip binary is (for rnews to run on gzipped batches). |
| 597 |
#### =()<_PATH_GZIP @<_PATH_GZIP>@>()= |
| 598 |
_PATH_GZIP /usr/local/bin/gzip |
| 599 |
|
| 600 |
## |
| 601 |
## 8. PATHS RELATED TO THE SPOOL DIRECTORY |
| 602 |
## Spool directory, where articles live. |
| 603 |
#### =()<_PATH_SPOOL @<_PATH_SPOOL>@>()= |
| 604 |
_PATH_SPOOL /var/news/spool/articles |
| 605 |
## Spool directory where overview data lives. |
| 606 |
#### =()<_PATH_OVERVIEWDIR @<_PATH_OVERVIEWDIR>@>()= |
| 607 |
_PATH_OVERVIEWDIR /var/news/spool/over.view |
| 608 |
## Name of overview file within its spool directory. |
| 609 |
#### =()<_PATH_OVERVIEW @<_PATH_OVERVIEW>@>()= |
| 610 |
_PATH_OVERVIEW .overview |
| 611 |
## Where rnews spools its input. |
| 612 |
#### =()<_PATH_SPOOLNEWS @<_PATH_SPOOLNEWS>@>()= |
| 613 |
_PATH_SPOOLNEWS /var/news/spool/in.coming |
| 614 |
## Where rnews creates temporary files until finished |
| 615 |
#### =()<_PATH_SPOOLTEMP @<_PATH_SPOOLTEMP>@>()= |
| 616 |
_PATH_SPOOLTEMP /var/news/spool/tmp |
| 617 |
## Where rnews puts bad input. |
| 618 |
#### =()<_PATH_BADNEWS @<_PATH_BADNEWS>@>()= |
| 619 |
_PATH_BADNEWS /var/news/spool/in.coming/bad |
| 620 |
## Where rnews puts bad input, relative to _PATH_SPOOLNEWS. |
| 621 |
#### =()<_PATH_RELBAD @<_PATH_RELBAD>@>()= |
| 622 |
_PATH_RELBAD bad |
| 623 |
## Where the XBATCH command should put the batches. Normally same as |
| 624 |
## _PATH_SPOOLNEWS so that 'rnews -U' can find it. |
| 625 |
#### =()<_PATH_XBATCHES @<_PATH_XBATCHES>@>()= |
| 626 |
_PATH_XBATCHES /var/news/spool/in.coming |
| 627 |
|
| 628 |
|
| 629 |
## |
| 630 |
## 9. EXECUTION PATHS FOR INND AND RNEWS |
| 631 |
## Pathname where dups are logged if RNEWS_LOG_DUPS is FILE. |
| 632 |
#### =()<_PATH_RNEWS_DUP_LOG @<_PATH_RNEWS_DUP_LOG>@>()= |
| 633 |
_PATH_RNEWS_DUP_LOG /dev/null |
| 634 |
## Rnews may execute any program in this directory; see RNEWSPROGS. |
| 635 |
#### =()<_PATH_RNEWSPROGS @<_PATH_RNEWSPROGS>@>()= |
| 636 |
_PATH_RNEWSPROGS /usr/news/bin/rnews.libexec |
| 637 |
## Path to control messages scripts. |
| 638 |
#### =()<_PATH_CONTROLPROGS @<_PATH_CONTROLPROGS>@>()= |
| 639 |
_PATH_CONTROLPROGS /usr/news/bin/control |
| 640 |
## Default "unknown/illegal" control script, within _PATH_CONTROLPROGS. |
| 641 |
#### =()<_PATH_BADCONTROLPROG @<_PATH_BADCONTROLPROG>@>()= |
| 642 |
_PATH_BADCONTROLPROG default |
| 643 |
|
| 644 |
|
| 645 |
## |
| 646 |
## 10. SOCKETS CREATED BY INND OR CLIENTS |
| 647 |
#### =()<_PATH_INNDDIR @<_PATH_INNDDIR>@>()= |
| 648 |
_PATH_INNDDIR /var/news/run |
| 649 |
## Unix-domain stream socket that rnews connects to. |
| 650 |
#### =()<_PATH_NNTPCONNECT @<_PATH_NNTPCONNECT>@>()= |
| 651 |
_PATH_NNTPCONNECT /var/news/run/nntpin |
| 652 |
## Unix-domain datagram socket that ctlinnd to. |
| 653 |
#### =()<_PATH_NEWSCONTROL @<_PATH_NEWSCONTROL>@>()= |
| 654 |
_PATH_NEWSCONTROL /var/news/run/control |
| 655 |
## Temporary socket created by ctlinnd; run through mktemp |
| 656 |
#### =()<_PATH_TEMPSOCK @<_PATH_TEMPSOCK>@>()= |
| 657 |
_PATH_TEMPSOCK /var/news/run/ctlinndXXXXXX |
| 658 |
|
| 659 |
|
| 660 |
## |
| 661 |
## 11. LOG AND CONFIG FILES |
| 662 |
## Shell script that sets most of these as shell vars |
| 663 |
#### =()<_PATH_SHELLVARS @<_PATH_SHELLVARS>@>()= |
| 664 |
_PATH_SHELLVARS /var/news/etc/innshellvars |
| 665 |
## Perl script that sets most of these as perl variables |
| 666 |
#### =()<_PATH_PERL_SHELLVARS @<_PATH_PERL_SHELLVARS>@>()= |
| 667 |
_PATH_PERL_SHELLVARS /var/news/etc/innshellvars.pl |
| 668 |
## TCL script that sets most of these as tcl variables |
| 669 |
#### =()<_PATH_TCL_SHELLVARS @<_PATH_TCL_SHELLVARS>@>()= |
| 670 |
_PATH_TCL_SHELLVARS /var/news/etc/innshellvars.tcl |
| 671 |
## csh script that sets most of these as csh variables |
| 672 |
#### =()<_PATH_CSH_SHELLVARS @<_PATH_CSH_SHELLVARS>@>()= |
| 673 |
_PATH_CSH_SHELLVARS /var/news/etc/innshellvars.csh |
| 674 |
## Where most config and data files are usually stored; not required |
| 675 |
## to the home directory of NEWSUSER. |
| 676 |
#### =()<_PATH_NEWSLIB @<_PATH_NEWSLIB>@>()= |
| 677 |
_PATH_NEWSLIB /var/news/etc |
| 678 |
## The group owner of the rnews program. Usually uucp. |
| 679 |
#### =()<RNEWS_GROUP @<RNEWS_GROUP>@>()= |
| 680 |
RNEWS_GROUP uucp |
| 681 |
## The server's log file. |
| 682 |
#### =()<_PATH_LOGFILE @<_PATH_LOGFILE>@>()= |
| 683 |
_PATH_LOGFILE /var/log/news/news |
| 684 |
## The server's error log file. |
| 685 |
#### =()<_PATH_ERRLOG @<_PATH_ERRLOG>@>()= |
| 686 |
_PATH_ERRLOG /var/log/news/errlog |
| 687 |
## Where most sylog log files go; see also scanlogs, innstat, etc. |
| 688 |
#### =()<_PATH_MOST_LOGS @<_PATH_MOST_LOGS>@>()= |
| 689 |
_PATH_MOST_LOGS /var/log/news |
| 690 |
## How many generates of log files to keep. |
| 691 |
#### =()<LOG_CYCLES @<LOG_CYCLES>@>()= |
| 692 |
LOG_CYCLES 3 |
| 693 |
## Text value of the server's pid. |
| 694 |
#### =()<_PATH_SERVERPID @<_PATH_SERVERPID>@>()= |
| 695 |
_PATH_SERVERPID /var/news/run/innd.pid |
| 696 |
## The newsfeeds file, on the server host. |
| 697 |
#### =()<_PATH_NEWSFEEDS @<_PATH_NEWSFEEDS>@>()= |
| 698 |
_PATH_NEWSFEEDS /var/news/etc/newsfeeds |
| 699 |
## The article history database, on the server host. |
| 700 |
#### =()<_PATH_HISTORY @<_PATH_HISTORY>@>()= |
| 701 |
_PATH_HISTORY /var/news/etc/history |
| 702 |
## File listing the sites that feed us news. |
| 703 |
#### =()<_PATH_INNDHOSTS @<_PATH_INNDHOSTS>@>()= |
| 704 |
_PATH_INNDHOSTS /var/news/etc/hosts.nntp |
| 705 |
## The active file, on the server host. |
| 706 |
#### =()<_PATH_ACTIVE @<_PATH_ACTIVE>@>()= |
| 707 |
_PATH_ACTIVE /var/news/etc/active |
| 708 |
## A temporary active file, for writing on the server host. |
| 709 |
#### =()<_PATH_NEWACTIVE @<_PATH_NEWACTIVE>@>()= |
| 710 |
_PATH_NEWACTIVE /var/news/etc/active.tmp |
| 711 |
## An old active file on the server host. |
| 712 |
#### =()<_PATH_OLDACTIVE @<_PATH_OLDACTIVE>@>()= |
| 713 |
_PATH_OLDACTIVE /var/news/etc/active.old |
| 714 |
## The log of when groups are created. |
| 715 |
#### =()<_PATH_ACTIVETIMES @<_PATH_ACTIVETIMES>@>()= |
| 716 |
_PATH_ACTIVETIMES /var/news/etc/active.times |
| 717 |
## Where batch files are located. |
| 718 |
#### =()<_PATH_BATCHDIR @<_PATH_BATCHDIR>@>()= |
| 719 |
_PATH_BATCHDIR /var/news/spool/out.going |
| 720 |
## Where archives are kept. |
| 721 |
#### =()<_PATH_ARCHIVEDIR @<_PATH_ARCHIVEDIR>@>()= |
| 722 |
_PATH_ARCHIVEDIR /var/news/spool/archive |
| 723 |
## Where NNRP distributions file is |
| 724 |
#### =()<_PATH_NNRPDIST @<_PATH_NNRPDIST>@>()= |
| 725 |
_PATH_NNRPDIST /var/news/etc/distributions |
| 726 |
## Where the NNRP automatic subscriptions file is |
| 727 |
#### =()<_PATH_NNRPSUBS @<_PATH_NNRPSUBS>@>()= |
| 728 |
_PATH_NNRPSUBS /var/news/etc/subscriptions |
| 729 |
## Where the default Distribution assignments file is |
| 730 |
#### =()<_PATH_DISTPATS @<_PATH_DISTPATS>@>()= |
| 731 |
_PATH_DISTPATS /var/news/etc/distrib.pats |
| 732 |
#### =()<_PATH_NEWSGROUPS @<_PATH_NEWSGROUPS>@>()= |
| 733 |
_PATH_NEWSGROUPS /var/news/etc/newsgroups |
| 734 |
## File where client configuration parameters can be read. |
| 735 |
#### =()<_PATH_CONFIG @<_PATH_CONFIG>@>()= |
| 736 |
_PATH_CONFIG /var/news/etc/inn.conf |
| 737 |
## The possible active file, on clients (NFS-mounted, e.g.). |
| 738 |
#### =()<_PATH_CLIENTACTIVE @<_PATH_CLIENTACTIVE>@>()= |
| 739 |
_PATH_CLIENTACTIVE /var/news/etc/active |
| 740 |
## A temporary file, for client inews to use. |
| 741 |
#### =()<_PATH_TEMPACTIVE @<_PATH_TEMPACTIVE>@>()= |
| 742 |
_PATH_TEMPACTIVE /var/tmp/activeXXXXXX |
| 743 |
## Where to mail to the moderators. |
| 744 |
#### =()<_PATH_MODERATORS @<_PATH_MODERATORS>@>()= |
| 745 |
_PATH_MODERATORS /var/news/etc/moderators |
| 746 |
## A temporary file, for client inews to use. |
| 747 |
#### =()<_PATH_TEMPMODERATORS @<_PATH_TEMPMODERATORS>@>()= |
| 748 |
_PATH_TEMPMODERATORS /var/tmp/moderatorsXXXXXX |
| 749 |
## Where NNTP puts the name of the server. |
| 750 |
#### =()<_PATH_SERVER @<_PATH_SERVER>@>()= |
| 751 |
_PATH_SERVER /var/news/etc/server |
| 752 |
## File with name/password for all remote connections. |
| 753 |
#### =()<_PATH_NNTPPASS @<_PATH_NNTPPASS>@>()= |
| 754 |
_PATH_NNTPPASS /var/news/etc/passwd.nntp |
| 755 |
## NNRP access file. |
| 756 |
#### =()<_PATH_NNRPACCESS @<_PATH_NNRPACCESS>@>()= |
| 757 |
_PATH_NNRPACCESS /var/news/etc/nnrp.access |
| 758 |
## Default expire control file. |
| 759 |
#### =()<_PATH_EXPIRECTL @<_PATH_EXPIRECTL>@>()= |
| 760 |
_PATH_EXPIRECTL /var/news/etc/expire.ctl |
| 761 |
## Prolog to parse control scripts |
| 762 |
#### =()<_PATH_PARSECTL @<_PATH_PARSECTL>@>()= |
| 763 |
_PATH_PARSECTL /var/news/etc/parsecontrol |
| 764 |
## Access control file for control scripts. |
| 765 |
#### =()<_PATH_CONTROLCTL @<_PATH_CONTROLCTL>@>()= |
| 766 |
_PATH_CONTROLCTL /var/news/etc/control.ctl |
| 767 |
## Innwatch control file. |
| 768 |
#### =()<_PATH_CTLWATCH @<_PATH_CTLWATCH>@>()= |
| 769 |
_PATH_CTLWATCH /var/news/etc/innwatch.ctl |
| 770 |
## Where innwatch writes its own pid. |
| 771 |
#### =()<_PATH_WATCHPID @<_PATH_WATCHPID>@>()= |
| 772 |
_PATH_WATCHPID /var/news/run/innwatch.pid |
| 773 |
## Where innwatch writes status when it gets an interrupt |
| 774 |
#### =()<_PATH_INNWSTATUS @<_PATH_INNWSTATUS>@>()= |
| 775 |
_PATH_INNWSTATUS /var/news/run/innwatch.status |
| 776 |
## Format of news overview database |
| 777 |
#### =()<_PATH_SCHEMA @<_PATH_SCHEMA>@>()= |
| 778 |
_PATH_SCHEMA /var/news/etc/overview.fmt |
| 779 |
|
| 780 |
|
| 781 |
## |
| 782 |
## 12. INNWATCH CONFIGURATION |
| 783 |
## Load average (* 100) at which innd should be paused. |
| 784 |
#### =()<INNWATCH_PAUSELOAD @<INNWATCH_PAUSELOAD>@>()= |
| 785 |
INNWATCH_PAUSELOAD 1500 |
| 786 |
## Load average (* 100) at which innd should be throttled. |
| 787 |
#### =()<INNWATCH_HILOAD @<INNWATCH_HILOAD>@>()= |
| 788 |
INNWATCH_HILOAD 2000 |
| 789 |
## Load average (* 100) at which to restart innd (pause/throttle undone). |
| 790 |
#### =()<INNWATCH_LOLOAD @<INNWATCH_LOLOAD>@>()= |
| 791 |
INNWATCH_LOLOAD 1000 |
| 792 |
## Space, in df output units, at which to throttle innd on _PATH_SPOOL |
| 793 |
## or _PATH_OVERVIEWDIR. |
| 794 |
#### =()<INNWATCH_SPOOLSPACE @<INNWATCH_SPOOLSPACE>@>()= |
| 795 |
INNWATCH_SPOOLSPACE 8000 |
| 796 |
## Space, in df output units, at which to throttle innd on _PATH_BATCHDIR. |
| 797 |
#### =()<INNWATCH_BATCHSPACE @<INNWATCH_BATCHSPACE>@>()= |
| 798 |
INNWATCH_BATCHSPACE 800 |
| 799 |
## Space, in df output units, at which to throttle innd on _PATH_NEWSLIB. |
| 800 |
#### =()<INNWATCH_LIBSPACE @<INNWATCH_LIBSPACE>@>()= |
| 801 |
INNWATCH_LIBSPACE 25000 |
| 802 |
## Number of inodes at which to throttle innd on _PATH_SPOOL. |
| 803 |
#### =()<INNWATCH_SPOOLNODES @<INNWATCH_SPOOLNODES>@>()= |
| 804 |
INNWATCH_SPOOLNODES 200 |
| 805 |
## How long to sleep between innwatch iterations. |
| 806 |
#### =()<INNWATCH_SLEEPTIME @<INNWATCH_SLEEPTIME>@>()= |
| 807 |
INNWATCH_SLEEPTIME 600 |
| 808 |
## How inn (not just innwatch anymore) gets disk space usage |
| 809 |
## (SVR4 machine would probably use /usr/ucb/df) |
| 810 |
#### =()<INNWATCH_DF @<INNWATCH_DF>@>()= |
| 811 |
INNWATCH_DF /usr/ucb/df |
| 812 |
## Field number of INNWATCH_DF (with -i) output that gives free |
| 813 |
## inodes (starting at 1). |
| 814 |
#### =()<INNWATCH_INODES @<INNWATCH_INODES>@>()= |
| 815 |
INNWATCH_INODES 3 |
| 816 |
## Field number of INNWATCH_DF output that gives the free block count. |
| 817 |
##### =()<INNWATCH_BLOCKS @<INNWATCH_BLOCKS>@>()= |
| 818 |
INNWATCH_BLOCKS 4 |
| 819 |
|
| 820 |
|
| 821 |
|
| 822 |
## |
| 823 |
## 13. TCL Configuration |
| 824 |
## Do you want TCL support? Pick DO or DONT |
| 825 |
#### =()<TCL_SUPPORT @<TCL_SUPPORT>@>()= |
| 826 |
TCL_SUPPORT DONT |
| 827 |
## Where your tcl header file live. Blank if no TCL |
| 828 |
### =()<TCL_INC @<TCL_INC>@>()= |
| 829 |
TCL_INC |
| 830 |
# TCL_INC -I/usr/local/include |
| 831 |
## How do you get the TCL library? Probably -ltcl -lm, blank if no TCL |
| 832 |
#### =()<TCL_LIB @<TCL_LIB>@>()= |
| 833 |
TCL_LIB |
| 834 |
# TCL_LIB -ltcl -lm |
| 835 |
## TCL Startup File. Should probably be prefixed with the same value as |
| 836 |
## _PATH_CONTROLPROGS. |
| 837 |
#### =()<_PATH_TCL_STARTUP @<_PATH_TCL_STARTUP>@>()= |
| 838 |
_PATH_TCL_STARTUP /usr/news/bin/control/startup.tcl |
| 839 |
## TCL Filter File. Should probably be prefixed with the same value as |
| 840 |
## _PATH_CONTROLPROGS. |
| 841 |
#### =()<_PATH_TCL_FILTER @<_PATH_TCL_FILTER>@>()= |
| 842 |
_PATH_TCL_FILTER /usr/news/bin/control/filter.tcl |
| 843 |
|
| 844 |
|
| 845 |
## |
| 846 |
## 14. PGP Configuration |
| 847 |
## |
| 848 |
|
| 849 |
## Do you want PGP verification of control messages? Pick DO or DONT |
| 850 |
## If you change this then you need to fiddle with control.ctl. |
| 851 |
## Setting it DONT is a really bad idea with all the miscreants out there... |
| 852 |
#### =()<WANT_PGPVERIFY @<WANT_PGPVERIFY>@>()= |
| 853 |
WANT_PGPVERIFY DO |
| 854 |
## PGP binary. |
| 855 |
#### =()<_PATH_PGP @<_PATH_PGP>@>()= |
| 856 |
_PATH_PGP /usr/local/bin/pgp |
| 857 |
|
| 858 |
## |
| 859 |
## 15. Local Configuration |
| 860 |
## |
| 861 |
|
| 862 |
## Home of the NEWSUSER |
| 863 |
#### =()<_PATH_NEWSHOME @<_PATH_NEWSHOME>@>()= |
| 864 |
_PATH_NEWSHOME /usr/news |
| 865 |
|
| 866 |
|
| 867 |
## |
| 868 |
## 16. Actsync Configuration. |
| 869 |
## |
| 870 |
|
| 871 |
## Host to synchoronize active file with (see actsync and actsyncd manpages). |
| 872 |
#### =()<ACTSYNC_HOST @<ACTSYNC_HOST>@>()= |
| 873 |
ACTSYNC_HOST news.foo.bar.com |
| 874 |
## Flags actsyncd is to pass to actsync. |
| 875 |
#### =()<ACTSYNC_FLAGS @<ACTSYNC_FLAGS>@>()= |
| 876 |
ACTSYNC_FLAGS -v 2 -q 2 -b 0 -d 0 -g 7 -s 79 -t 2 |
| 877 |
## Actsyncd config file. |
| 878 |
#### =()<_PATH_ACTSYNC_CFG @<_PATH_ACTSYNC_CFG>@>()= |
| 879 |
_PATH_ACTSYNC_CFG /var/news/etc/actsync.cfg |
| 880 |
## Actsyncd ignore file. |
| 881 |
#### =()<_PATH_ACTSYNC_IGN @<_PATH_ACTSYNC_IGN>@>()= |
| 882 |
_PATH_ACTSYNC_IGN /var/news/etc/actsync.ign |
| 883 |
|
| 884 |
|
| 885 |
|
| 886 |
## 17. Perl Configuration |
| 887 |
## Do you want Perl support? Pick DO or DONT |
| 888 |
#### =()<PERL_SUPPORT @<PERL_SUPPORT>@>()= |
| 889 |
PERL_SUPPORT DONT |
| 890 |
## How do you get the PERL libraries? Probably -lperl -lm, blank if no PERL |
| 891 |
#### =()<PERL_LIB @<PERL_LIB>@>()= |
| 892 |
PERL_LIB |
| 893 |
#PERL_LIB -L/usr/local/gnu/lib/perl5/i386-bsdos/5.003/CORE -lperl -lm |
| 894 |
## Core directory (includes, libs). See perlembed(1) |
| 895 |
#### =()<PERL_INC @<PERL_INC>@>()= |
| 896 |
PERL_INC |
| 897 |
#PERL_INC -I/usr/local/gnu/lib/perl5/i386-bsdos/5.003/CORE |
| 898 |
## Perl Filter Files. Should probably be prefixed with the same value as |
| 899 |
## _PATH_CONTROLPROGS. |
| 900 |
#### =()<_PATH_PERL_STARTUP_INND @<_PATH_PERL_STARTUP_INND>@>()= |
| 901 |
_PATH_PERL_STARTUP_INND /usr/news/bin/control/startup_innd.pl |
| 902 |
#### =()<_PATH_PERL_FILTER_INND @<_PATH_PERL_FILTER_INND>@>()= |
| 903 |
_PATH_PERL_FILTER_INND /usr/news/bin/control/filter_innd.pl |
| 904 |
#### =()<_PATH_PERL_FILTER_NNRPD @<_PATH_PERL_FILTER_NNRPD>@>()= |
| 905 |
_PATH_PERL_FILTER_NNRPD /usr/news/bin/control/filter_nnrpd.pl |