home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / usr.sbin / sendmail / src / conf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-04-20  |  3.7 KB  |  85 lines

  1. /*
  2.  * Copyright (c) 1983 Eric P. Allman
  3.  * Copyright (c) 1988 Regents of the University of California.
  4.  * All rights reserved.
  5.  *
  6.  * Redistribution and use in source and binary forms, with or without
  7.  * modification, are permitted provided that the following conditions
  8.  * are met:
  9.  * 1. Redistributions of source code must retain the above copyright
  10.  *    notice, this list of conditions and the following disclaimer.
  11.  * 2. Redistributions in binary form must reproduce the above copyright
  12.  *    notice, this list of conditions and the following disclaimer in the
  13.  *    documentation and/or other materials provided with the distribution.
  14.  * 3. All advertising materials mentioning features or use of this software
  15.  *    must display the following acknowledgement:
  16.  *    This product includes software developed by the University of
  17.  *    California, Berkeley and its contributors.
  18.  * 4. Neither the name of the University nor the names of its contributors
  19.  *    may be used to endorse or promote products derived from this software
  20.  *    without specific prior written permission.
  21.  *
  22.  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  23.  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  24.  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  25.  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  26.  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  27.  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  28.  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  29.  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  30.  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  31.  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  32.  * SUCH DAMAGE.
  33.  *
  34.  *    @(#)conf.h    5.17 (Berkeley) 6/1/90
  35.  */
  36.  
  37. /*
  38. **  CONF.H -- All user-configurable parameters for sendmail
  39. */
  40.  
  41. /*
  42. **  Table sizes, etc....
  43. **    There shouldn't be much need to change these....
  44. */
  45.  
  46. # define MAXLINE    1024        /* max line length */
  47. # define MAXNAME    256        /* max length of a name */
  48. # define MAXFIELD    4096        /* max total length of a hdr field */
  49. # define MAXPV        40        /* max # of parms to mailers */
  50. # define MAXHOP        17        /* max value of HopCount */
  51. # define MAXATOM    100        /* max atoms per address */
  52. # define MAXMAILERS    25        /* maximum mailers known to system */
  53. # define MAXRWSETS    30        /* max # of sets of rewriting rules */
  54. # define MAXPRIORITIES    25        /* max values for Precedence: field */
  55. # define MAXTRUST    30        /* maximum number of trusted users */
  56. # define MAXUSERENVIRON    40        /* max # of items in user environ */
  57. # define QUEUESIZE    600        /* max # of jobs per queue run */
  58. # define MAXMXHOSTS    10        /* max # of MX records */
  59.  
  60. /*
  61. **  Compilation options.
  62. **
  63. **    #define these if they are available; comment them out otherwise.
  64. */
  65.  
  66. # define DBM        1    /* use DBM library (requires -ldbm) */
  67. # define NDBM        1    /* new DBM library available (requires DBM) */
  68. # define LOG        1    /* enable logging */
  69. # define SMTP        1    /* enable user and server SMTP */
  70. # define QUEUE        1    /* enable queueing */
  71. # define UGLYUUCP    1    /* output ugly UUCP From lines */
  72. # define DAEMON        1    /* include the daemon (requires IPC & SMTP) */
  73. # define SETPROCTITLE    1    /* munge argv to display current status */
  74. # define NAMED_BIND    1    /* use Berkeley Internet Domain Server */
  75.  
  76.     /*
  77.      * Use query type of ANY if possible (NO_WILDCARD_MX), which will
  78.      * find types CNAME, A, and MX, and will cause all existing records
  79.      * to be cached by our local server.  If there is (might be) a
  80.      * wildcard MX record in the local domain or its parents that are
  81.      * searched, we can't use ANY; it would cause fully-qualified names
  82.      * to match as names in a local domain.
  83.      */
  84. # define NO_WILDCARD_MX    1
  85.