1: /*
   2:  * Configuration information for use by NNTP server and support
   3:  * programs.  Change these as appropriate for your system.
   4:  */
   5: 
   6: /*
   7:  * Compile time options.
   8:  */
   9: 
  10: #undef  ALONE       /* True if we're running without inetd */
  11: #undef  FASTFORK    /* True if we don't want to read active file on start */
  12: #undef  BSD_42      /* 4.2 compatability code -- if this is defined, */
  13:             /* DBM probably wants to be defined as well. */
  14: #undef  DBM     /* True if we want to use the old dbm(3x) libraries */
  15:             /* If you define this, change CFLAGS in makefile to */
  16:             /* be -ldbm */
  17: #define LOG     /* True if we want copious logging info */
  18: 
  19: #ifdef BSD_42       /* This is a logical, warranted assumption */
  20: #   ifndef DBM      /* which will probably get me in trouble. */
  21: #	define DBM    /* Kill it if you have 4.2 *and* ndbm.  */
  22: #   endif
  23: #endif
  24: 
  25: /*
  26:  * Your domain.  This is for the inews generated From: line,
  27:  * assuming that it doesn't find one in the article's head.
  28:  * Suggestions are .UUCP if you don't belong to the Internet.
  29:  * If your hostname returns the fully-qualified domain name
  30:  * as some 4.3 BSD systems do, simply undefine DOMAIN.
  31:  *
  32:  * e.g.  #define	DOMAIN		"berkeley.edu"
  33:  */
  34: 
  35: #undef  DOMAIN
  36: 
  37: /*
  38:  * The host which is actually running the server; this is for
  39:  * inews, so it knows where to send the articles.
  40:  */
  41: 
  42: #define SERVER_HOST "ucbvax"
  43: 
  44: /*
  45:  * Person (user name) to post news as.
  46:  */
  47: 
  48: #define POSTER      "nobody"
  49: 
  50: /*
  51:  * Logging facility; normally this will be LOG_DAEMON, but
  52:  * if you have LOG defined, you can get a large amount of
  53:  * output, and it's nice to have it wind up in a special
  54:  * file.
  55:  *
  56:  * This is only of concern if you have 4.3 BSD.
  57:  */
  58: 
  59: #ifndef BSD_42
  60: #define LOG_FACILITY    LOG_LOCAL7
  61: #endif
  62: 
  63: /*
  64:  * The person to send bugs to; this is printed in response
  65:  * to the "help" command.  Unless you've modified the
  66:  * server to some degree, I suggest leaving this as it is,
  67:  * so I hear about problems.
  68:  */
  69: 
  70: #define BUGS_TO     "Phil Lapsley (phil@berkeley.edu, ...!ucbvax!phil)"
  71: 
  72: /*
  73:  * These files are generated by the support programs, and are needed
  74:  * by the NNTP server.  Make sure that whatever directory you
  75:  * decide these files should go is writable by whatever uid you
  76:  * have the sypport programs run under.
  77:  */
  78: 
  79: #define STAT_FILE   "/usr/spool/news/lib/mgdstats"
  80: #define NGDATE_FILE "/usr/spool/news/lib/groupdates"
  81: 
  82: /*
  83:  * Some commonly used programs and files.
  84:  */
  85: 
  86: #define ACTIVE_FILE "/usr/spool/news/lib/active"
  87: #define ACCESS_FILE "/usr/spool/news/lib/nntp_access"
  88: #define HISTORY_FILE    "/usr/spool/news/lib/history"
  89: #define SPOOLDIR    "/usr/spool/news/"      /* Need trailing / */
  90: #define INEWS       "/usr/spool/news/lib/inews"
  91: #define RNEWS       "/usr/bin/rnews"        /* Link to inews? */
  92: 
  93: /*
  94:  * Some miscellaneous stuff
  95:  */
  96: 
  97: #define MAX_GROUPS  450     /* Maximum groups in active file */
  98: #define MAX_ARTICLES    4096        /* Maximum number of articles/group */
  99: #define READINTVL   60 * 10     /* 10 minutes b/n chking active file */
 100: 
 101: /*
 102:  * This is defined in RFC 977; don't change.
 103:  */
 104: 
 105: #define MAX_STRLEN  512     /* Maximum message line length */

Defined macros

ACCESS_FILE defined in line 87; used 1 times
BUGS_TO defined in line 70; used 1 times
DBM defined in line 21; used 7 times
HISTORY_FILE defined in line 88; used 8 times
INEWS defined in line 90; used 1 times
LOG_FACILITY defined in line 60; used 1 times
MAX_ARTICLES defined in line 98; used 1 times
READINTVL defined in line 99; used 2 times
RNEWS defined in line 91; used 1 times
SERVER_HOST defined in line 42; used 1 times
STAT_FILE defined in line 79; used 4 times

Usage of this include

Last modified: 1986-03-21
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1017
Valid CSS Valid XHTML 1.0 Strict