home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / sendmail / sendmail-5.65c+IDA-1.4.4.1 / src / conf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-14  |  5.9 KB  |  156 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 are permitted provided
  7.  * that: (1) source distributions retain this entire copyright notice and
  8.  * comment, and (2) distributions including binaries display the following
  9.  * acknowledgement:  ``This product includes software developed by the
  10.  * University of California, Berkeley and its contributors'' in the
  11.  * documentation or other materials provided with the distribution and in
  12.  * all advertising materials mentioning features or use of this software.
  13.  * Neither the name of the University nor the names of its contributors may
  14.  * be used to endorse or promote products derived from this software without
  15.  * specific prior written permission.
  16.  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
  17.  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  18.  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  19.  *
  20.  *    @(#)conf.h    5.17 (Berkeley) 6/1/90
  21.  */
  22.  
  23. #ifndef CONF_H
  24. # define CONF_H
  25. # ifndef lint
  26. #  ifdef _DEFINE
  27. static char *conf_h_sccs_id = "@(#)conf.h    5.17 (Berkeley) 6/1/90";
  28. static char *conf_h_rcs_id = "@(#)$Id: conf.h,v 5.17.0.20 1991/08/14 18:30:39 paul Exp $";
  29. #  endif /* _DEFINE */
  30. # endif /* !lint */
  31.  
  32. /*
  33. **  CONF.H -- User-configurable parameters for sendmail
  34. */
  35.  
  36. /*
  37. **  Table sizes, etc....
  38. **    There shouldn't be much need to change these....
  39. */
  40.  
  41. # define MAXLINE    1024        /* max line length */
  42. # define MAXNAME    256        /* max length of a name */
  43. # define MAXFIELD    4096        /* max total length of a hdr field */
  44. # define MAXPV        40        /* max # of parms to mailers */
  45. # define MAXHOP        25        /* max value of HopCount */
  46. # define MAXATOM    200        /* max atoms per address */
  47. # define MAXMAILERS    25        /* maximum mailers known to system */
  48. # define MAXRWSETS    40        /* max # of sets of rewriting rules */
  49. # define MAXPRIORITIES    25        /* max values for Precedence: field */
  50. # define MAXTRUST    30        /* maximum number of trusted users */
  51. # define MAXUSERENVIRON    40        /* max # of items in user environ */
  52. # define QUEUESIZE    600        /* max # of jobs per queue run */
  53. # define MAXMXHOSTS    10        /* max # of MX records */
  54.  
  55. /*
  56. ** Compilation platform.  Include one from the following list:
  57. **
  58. ** 3b1.h aix3.h aixrt.h bsd43.h bsd44.h convex.h domainos.h dynix.h hpux.h
  59. ** irix.h isc.h next.h osx.h proto.h ptx.h riscos.h sunos4.h ultrix3.h
  60. ** ultrix4.h umax.h
  61. */
  62.  
  63. # include "config/bsd44.h"
  64.  
  65. /*
  66. **  Compilation options.
  67. **
  68. **    #define these if they are available; comment them out otherwise.
  69. */
  70.  
  71. # define DBM        1    /* use DBM library (may require -ldbm) */
  72. # define NO_PADDING    1    /* don't pad dbm strings with ASCII NULL */
  73.  
  74. /*
  75.  * Define only 1 of the various {N,G,S,M,H}DBM libraries.  N.B., HDBM
  76.  * assumes that ndbm.o was included in the libhash.a file.
  77.  */
  78. # define NDBM        1    /* new DBM library available (requires DBM) */
  79. /*# define GDBM        1    /* gnu DBM library available (requires DBM) */
  80. /*# define SDBM        1    /* Ozan Yigit's PD ndbm (requires DBM) */
  81. /*# define MDBM        1    /* UMaryland's ndbm variant (requires DBM) */
  82. /*# define HDBM        1    /* Berkeley's hashing package (requires DBM) */
  83.  
  84. /*# define YP        1    /* enable Yellow Pages code */
  85. /*# define FUZZY    1    /* enable fuzzy matching of local user names */
  86. # define LOG        1    /* enable logging */
  87. # define SMTP        1    /* enable user and server SMTP */
  88. # define QUEUE        1    /* enable queueing */
  89. # define QUEUE_MACVALUE    '$'    /* save the $r and $s macros in queue file */
  90. # define UGLYUUCP    1    /* output ugly UUCP From lines */
  91. # define DAEMON        1    /* include the daemon (requires IPC & SMTP) */
  92. # define NAMED_BIND    1    /* use Berkeley Internet Domain Server */
  93. /*# define TTYNAME    1    /* set macro y to basename of tty device */
  94. /*# define NOTUNIX    1    /* Define if msgs lack a UNIX "From " line */
  95.  
  96. /*
  97.  * Enable non-standard SMTP mods for talking to the DEC mail11v3 program.
  98.  * This option is necessary only on Ultrix machines that wish to act as
  99.  * Internet <=> Decnet mail gateways.  DECNETNAME must also be defined
  100.  * in your ida/cf/foo.m4 file to include the Decnet rulesets in the sendmail.cf
  101.  * file.
  102.  */
  103. /*# define MAIL11V3    1    /* */
  104.  
  105. /*
  106.  * Munge argv to display current status for ps.  This will not work on systems
  107.  * derived from System 5.  On some systems such as Apollos, it will cause core
  108.  * dumps.
  109.  */
  110. # define SETPROCTITLE    1    /* */
  111.  
  112. /*
  113.  * Support character set translation and 8-bit mailers between cooperating
  114.  * sites.  Intended for sites whose character set is not US ASCII.  See
  115.  * ../ida/charset.
  116.  */
  117. /*# define BIT8        1    /* */
  118.  
  119. /*
  120. ** Change this to the location where sendmail should read its configuration
  121. ** file.  Older systems used /usr/lib/sendmail.cf, some newer systems move
  122. ** this file to /etc/sendmail.cf.
  123. */
  124. # define    _PATH_SENDMAILCF    "/etc/sendmail.cf"    /* */
  125.  
  126. /*
  127. ** Comment out the following line if freeze files don't work on your platform.
  128. ** Freeze files will not work on the Next (no sbrk()), nor Apollo boxes.
  129. ** Fixes for the latter are solicted.  The RS/6000 (but not the RT) AIX
  130. ** restriction has been lifted.
  131. */
  132. # if !defined(NeXT) && !defined(apollo) && !defined(ISC)&& !defined(AIX)
  133. #  define    _PATH_SENDMAILFC    "/etc/sendmail.fc"    /* */
  134. # endif /* !NeXT && !apollo && !ISC && !AIX */
  135.  
  136. /*
  137. ** Comment out this line if you don't want sendmail to write a file with
  138. ** the daemon's pid.
  139. */
  140. /*# define    _PATH_SENDMAILPID       "/var/run/sendmail.pid"    /* */
  141. # define    _PATH_SENDMAILPID    "/etc/sendmail.pid"    /* */
  142.  
  143. /*
  144. ** Various hardware/OS #defines are used in the code.  Most of these
  145. ** are typically set by the C preprocessor or compiler.  In some cases
  146. ** you may need to #define some of these here, or use a -D CFLAGS argument
  147. ** in the Makefile.  Many are used only in the getloadavg.c file.  These
  148. ** are the macros currently in use:
  149. **
  150. ** BSD4_4     ISC        USG        __convex__ hp9000     macII      sun
  151. ** CRAY       NeXT       UTEK       alliant    hp9000s800 mips       unixpc
  152. ** CRAY2      SYSV       AIX        apollo     hpux       sequent    vax
  153. ** DGUX       UMAX       _AIX       att        i386       sgi
  154. */
  155. #endif /* !CONF_H */
  156.