1 /* 2 * Copyright (c) 1983 Eric P. Allman 3 * Copyright (c) 1988 Regents of the University of California. 4 * All rights reserved. 5 * 6 * %sccs.include.redist.c% 7 * 8 * @(#)conf.h 5.32 (Berkeley) 12/16/92 9 */ 10 11 /* 12 ** CONF.H -- All user-configurable parameters for sendmail 13 */ 14 15 /* 16 ** Table sizes, etc.... 17 ** There shouldn't be much need to change these.... 18 */ 19 20 # define MAXLINE 1024 /* max line length */ 21 # define MAXNAME 256 /* max length of a name */ 22 # define MAXPV 40 /* max # of parms to mailers */ 23 # define MAXATOM 100 /* max atoms per address */ 24 # define MAXMAILERS 25 /* maximum mailers known to system */ 25 # define MAXRWSETS 100 /* max # of sets of rewriting rules */ 26 # define MAXPRIORITIES 25 /* max values for Precedence: field */ 27 # define MAXTRUST 30 /* maximum number of trusted users */ 28 # define MAXUSERENVIRON 40 /* max # of items in user environ */ 29 # define MAXMXHOSTS 20 /* max # of MX records */ 30 # define SMTPLINELIM 990 /* maximum SMTP line length */ 31 32 # ifndef QUEUESIZE 33 # define QUEUESIZE 1000 /* max # of jobs per queue run */ 34 # endif 35 36 # ifndef FORK 37 # define FORK vfork /* function to call to fork mailer */ 38 # endif 39 40 /* 41 ** Compilation options. 42 ** 43 ** #define these if they are available; comment them out otherwise. 44 */ 45 46 # define LOG 1 /* enable logging */ 47 # define SMTP 1 /* enable user and server SMTP */ 48 # define QUEUE 1 /* enable queueing */ 49 # define UGLYUUCP 1 /* output ugly UUCP From lines */ 50 # define DAEMON 1 /* include the daemon (requires IPC & SMTP) */ 51 # define SETPROCTITLE 1 /* munge argv to display current status */ 52 # define NAMED_BIND 1 /* use Berkeley Internet Domain Server */ 53 # define MATCHGECOS 1 /* match user names from gecos field */ 54 55 # ifdef NEWDB 56 # define USERDB 1 /* look in user database (requires NEWDB) */ 57 # define BTREE_MAP 1 /* enable BTREE mapping type (requires NEWDB) */ 58 # define HASH_MAP 1 /* enable HASH mapping type (requires NEWDB) */ 59 # endif 60 61 # ifdef NDBM 62 # define DBM_MAP 1 /* enable DBM mapping type (requires NDBM) */ 63 # endif 64 65 /* 66 ** Some general configuration -- you shouldn't have to touch these 67 */ 68 69 # ifdef hpux 70 # define SYSTEM5 1 71 # endif 72 73 # ifdef SYSTEM5 74 75 # define LOCKF 1 /* use System V lockf instead of flock */ 76 # define SYS5TZ 1 /* use System V style timezones */ 77 78 # endif 79 80 /* 81 ** Older systems don't have this error code -- it should be in 82 ** /usr/include/sysexits.h. 83 */ 84 85 # ifndef EX_CONFIG 86 # define EX_CONFIG 78 /* configuration error */ 87 # endif 88 89 /* 90 ** Arrange to use either varargs or stdargs 91 */ 92 93 # ifdef __STDC__ 94 95 # include <stdarg.h> 96 97 # define VA_ARG_FORMAL 98 # define VA_ARG_DECL 99 # define VA_LOCAL_DECL va_list ap; 100 # define VA_START(f) va_start(ap, f) 101 # define VA_END va_end(ap) 102 103 # else 104 105 # include <varargs.h> 106 107 # define VA_ARG_FORMAL ,va_alist 108 # define VA_ARG_DECL va_dcl 109 # define VA_LOCAL_DECL va_list ap; 110 # define VA_START(f) va_start(ap) 111 # define VA_END va_end(ap) 112 113 # endif 114