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:
37: #else
38:
39: # define MAXLINE 1024 /* max line length */
40: # define MAXNAME 256 /* max length of a name */
41: # define MAXFIELD 2500 /* max total length of a hdr field */
42: # define MAXPV 40 /* max # of parms to mailers */
43: # define MAXHOP 17 /* max value of HopCount */
44: # define MAXATOM 100 /* max atoms per address */
45: # define MAXMAILERS 25 /* maximum mailers known to system */
46: # define MAXRWSETS 30 /* max # of sets of rewriting rules */
47: # define MAXPRIORITIES 25 /* max values for Precedence: field */
48: # define MAXTRUST 30 /* maximum number of trusted users */
49: # define MAXUSERENVIRON 40 /* max # of items in user environ */
50: # define QUEUESIZE 600 /* max # of jobs per queue run */
51: #endif pdp11
52:
53: /*
54: ** Compilation options.
55: **
56: ** #define these if they are available; comment them out otherwise.
57: */
58:
59: # define DBM 1 /* use DBM library (requires -ldbm) */
60: # define NDBM 1 /* new DBM library available (requires DBM) */
61: /* # define DEBUG 1 /* enable debugging */
62: # define LOG 1 /* enable logging */
63: # define SMTP 1 /* enable user and server SMTP */
64: # define QUEUE 1 /* enable queueing */
65: # define UGLYUUCP 1 /* output ugly UUCP From lines */
66: # define DAEMON 1 /* include the daemon (requires IPC & SMTP) */
67: # define FLOCK 1 /* use flock file locking */
68: # define SETPROCTITLE 1 /* munge argv to display current status */
69: /* # define WIZ 1 /* allow wizard mode */
Defined macros
DAEMON
defined in line
66; used 12 times
DBM
defined in line
59; used 12 times
FLOCK
defined in line
67; used 2 times
LOG
defined in line
62; used 29 times
- in /usr/src/usr.sbin/sendmail/src/alias.c line
250,
257,
273,
546
- in /usr/src/usr.sbin/sendmail/src/daemon.c line
120,
245
- in /usr/src/usr.sbin/sendmail/src/deliver.c line
1037
- in /usr/src/usr.sbin/sendmail/src/envelope.c line
89,
343,
468
- in /usr/src/usr.sbin/sendmail/src/err.c line
65
- in /usr/src/usr.sbin/sendmail/src/headers.c line
309,
388
- in /usr/src/usr.sbin/sendmail/src/main.c line
230,
752,
1054
- in /usr/src/usr.sbin/sendmail/src/queue.c line
233,
311,
600,
613,
986,
1020
- in /usr/src/usr.sbin/sendmail/src/savemail.c line
325
- in /usr/src/usr.sbin/sendmail/src/sendmail.h line
39
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line
417
- in /usr/src/usr.sbin/sendmail/src/util.c line
573,
579,
881,
936
MAXLINE
defined in line
39; used 26 times
- in /usr/src/usr.sbin/sendmail/src/conf.c line
403
- in /usr/src/usr.sbin/sendmail/src/deliver.c line
59,
454,
923,
1068,
1077,
1114
- in /usr/src/usr.sbin/sendmail/src/headers.c line
623,
705,
808
- in /usr/src/usr.sbin/sendmail/src/main.c line
551
- in /usr/src/usr.sbin/sendmail/src/queue.c line
61,
780,
812
- in /usr/src/usr.sbin/sendmail/src/readcf.c line
62-66(2),
304,
498
- in /usr/src/usr.sbin/sendmail/src/recipient.c line
480
- in /usr/src/usr.sbin/sendmail/src/savemail.c line
56,
459
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line
108,
559
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line
38-40(3)
MAXNAME
defined in line
40; used 25 times
- in /usr/src/usr.sbin/sendmail/src/alias.c line
177
- in /usr/src/usr.sbin/sendmail/src/daemon.c line
203
- in /usr/src/usr.sbin/sendmail/src/deliver.c line
60-61(2),
1421
- in /usr/src/usr.sbin/sendmail/src/envelope.c line
415
- in /usr/src/usr.sbin/sendmail/src/headers.c line
313,
465
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line
739,
850,
1099-1100(2)
- in /usr/src/usr.sbin/sendmail/src/queue.c line
409,
909
- in /usr/src/usr.sbin/sendmail/src/readcf.c line
318,
809
- in /usr/src/usr.sbin/sendmail/src/recipient.c line
55,
165,
320,
390,
549
- in /usr/src/usr.sbin/sendmail/src/savemail.c line
362
- in /usr/src/usr.sbin/sendmail/src/sendmail.h line
52
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line
205
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line
77
MAXPV
defined in line
42; used 6 times
NDBM
defined in line
60; used 1 times
QUEUE
defined in line
64; used 14 times
SMTP
defined in line
63; used 18 times
Usage of this include