1: /*
2: ** Sendmail
3: ** Copyright (c) 1983 Eric P. Allman
4: ** Berkeley, California
5: **
6: ** Copyright (c) 1983 Regents of the University of California.
7: ** All rights reserved. The Berkeley software License Agreement
8: ** specifies the terms and conditions for redistribution.
9: **
10: ** @(#)conf.h 5.7.1 (2.11BSD GTE) 1/1/94
11: */
12:
13: /*
14: ** CONF.H -- All user-configurable parameters for sendmail
15: */
16:
17:
18: /*
19: ** Table sizes, etc....
20: ** There shouldn't be much need to change these....
21: */
22:
23: #ifdef pdp11
24: # define MAXLINE 256 /* max line length */
25: # define MAXNAME 128 /* max length of a name */
26: # define MAXFIELD 1024 /* max total length of a hdr field */
27: # define MAXPV 30 /* max # of parms to mailers */
28: # define MAXHOP 17 /* max value of HopCount */
29: # define MAXATOM 70 /* max atoms per address */
30: # define MAXMAILERS 10 /* maximum mailers known to system */
31: # define MAXRWSETS 30 /* max # of sets of rewriting rules */
32: # define MAXPRIORITIES 25 /* max values for Precedence: field */
33: # define MAXTRUST 10 /* maximum number of trusted users */
34: # define MAXUSERENVIRON 35 /* max # of items in user environ */
35: # define QUEUESIZE 10 /* max # of jobs per queue run */
36: # define MAXMXHOSTS 10 /* max # of MX records */
37:
38: #else
39:
40: # define MAXLINE 1024 /* max line length */
41: # define MAXNAME 256 /* max length of a name */
42: # define MAXFIELD 2500 /* max total length of a hdr field */
43: # define MAXPV 40 /* max # of parms to mailers */
44: # define MAXHOP 17 /* max value of HopCount */
45: # define MAXATOM 100 /* max atoms per address */
46: # define MAXMAILERS 25 /* maximum mailers known to system */
47: # define MAXRWSETS 30 /* max # of sets of rewriting rules */
48: # define MAXPRIORITIES 25 /* max values for Precedence: field */
49: # define MAXTRUST 30 /* maximum number of trusted users */
50: # define MAXUSERENVIRON 40 /* max # of items in user environ */
51: # define QUEUESIZE 600 /* max # of jobs per queue run */
52: # define MAXMXHOSTS 10 /* max # of MX records */
53: #endif pdp11
54:
55: /*
56: ** Compilation options.
57: **
58: ** #define these if they are available; comment them out otherwise.
59: */
60:
61: # define DBM 1 /* use DBM library (requires -ldbm) */
62: # define NDBM 1 /* new DBM library available (requires DBM) */
63: /* # define DEBUG 1 /* enable debugging */
64: # define LOG 1 /* enable logging */
65: # define SMTP 1 /* enable user and server SMTP */
66: # define QUEUE 1 /* enable queueing */
67: # define UGLYUUCP 1 /* output ugly UUCP From lines */
68: # define DAEMON 1 /* include the daemon (requires IPC & SMTP) */
69: # define FLOCK 1 /* use flock file locking */
70: # define SETPROCTITLE 1 /* munge argv to display current status */
71: /* # define WIZ 1 /* allow wizard mode */
Defined macros
DAEMON
defined in line
68; used 10 times
DBM
defined in line
61; used 11 times
FLOCK
defined in line
69;
never used
LOG
defined in line
64; used 28 times
- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line
253,
260,
276,
538
- in /usr/src/usr.sbin/sendmail.MX/src/daemon.c line
120,
245
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line
95,
349,
474
- in /usr/src/usr.sbin/sendmail.MX/src/err.c line
74
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line
315,
394
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line
235,
748,
1050
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line
244,
322,
613,
626,
997,
1031
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line
331
- in /usr/src/usr.sbin/sendmail.MX/src/sendmail.h line
39
- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line
421
- in /usr/src/usr.sbin/sendmail.MX/src/util.c line
573,
579,
881,
936
MAXPV
defined in line
43; used 2 times
NDBM
defined in line
62; used 1 times
QUEUE
defined in line
66; used 14 times
SMTP
defined in line
65; used 11 times
Usage of this include