Commit | Line | Data |
---|---|---|
5a739feb | 1 | /* |
dc45ba8c | 2 | * Copyright (c) 1983 Eric P. Allman |
bee79b64 KB |
3 | * Copyright (c) 1988 Regents of the University of California. |
4 | * All rights reserved. | |
5 | * | |
417f7a11 | 6 | * %sccs.include.redist.c% |
bee79b64 | 7 | * |
07c63e56 | 8 | * @(#)conf.h 5.26 (Berkeley) %G% |
bee79b64 | 9 | */ |
aeb2545d DF |
10 | |
11 | /* | |
12 | ** CONF.H -- All user-configurable parameters for sendmail | |
5a739feb EA |
13 | */ |
14 | ||
5a739feb EA |
15 | /* |
16 | ** Table sizes, etc.... | |
17 | ** There shouldn't be much need to change these.... | |
18 | */ | |
19 | ||
f0a960f1 EA |
20 | # define MAXLINE 1024 /* max line length */ |
21 | # define MAXNAME 256 /* max length of a name */ | |
82837729 | 22 | # define MAXFIELD 4096 /* max total length of a hdr field */ |
5a739feb | 23 | # define MAXPV 40 /* max # of parms to mailers */ |
2e3062fe | 24 | # define MAXHOP 17 /* max value of HopCount */ |
5a739feb EA |
25 | # define MAXATOM 100 /* max atoms per address */ |
26 | # define MAXMAILERS 25 /* maximum mailers known to system */ | |
27 | # define MAXRWSETS 30 /* max # of sets of rewriting rules */ | |
28 | # define MAXPRIORITIES 25 /* max values for Precedence: field */ | |
29 | # define MAXTRUST 30 /* maximum number of trusted users */ | |
42bbf376 | 30 | # define MAXUSERENVIRON 40 /* max # of items in user environ */ |
c0831261 | 31 | # define QUEUESIZE 600 /* max # of jobs per queue run */ |
4030f9da | 32 | # define MAXMXHOSTS 10 /* max # of MX records */ |
8657d05f | 33 | # define SMTPLINELIM 990 /* maximum SMTP line length */ |
140717b5 EA |
34 | # ifndef FORK |
35 | # define FORK vfork /* function to call to fork mailer */ | |
36 | # endif | |
5a739feb EA |
37 | |
38 | /* | |
39 | ** Compilation options. | |
9bcdff70 EA |
40 | ** |
41 | ** #define these if they are available; comment them out otherwise. | |
5a739feb EA |
42 | */ |
43 | ||
d25bb424 EA |
44 | # ifdef hpux |
45 | # define SYSTEM5 1 | |
46 | # endif | |
47 | ||
9bcdff70 EA |
48 | # define LOG 1 /* enable logging */ |
49 | # define SMTP 1 /* enable user and server SMTP */ | |
50 | # define QUEUE 1 /* enable queueing */ | |
51 | # define UGLYUUCP 1 /* output ugly UUCP From lines */ | |
52 | # define DAEMON 1 /* include the daemon (requires IPC & SMTP) */ | |
9bcdff70 | 53 | # define SETPROCTITLE 1 /* munge argv to display current status */ |
35af2f06 | 54 | # define NAMED_BIND 1 /* use Berkeley Internet Domain Server */ |
8a12fae4 | 55 | # define USERDB 1 /* look in user database */ |
7f0fd60b | 56 | # define MATCHGECOS 1 /* match user names from gecos field */ |
d25bb424 EA |
57 | |
58 | # ifdef SYSTEM5 | |
07c63e56 | 59 | |
d25bb424 | 60 | # define LOCKF 1 /* use System V lockf instead of flock */ |
07c63e56 EA |
61 | # define SYS5TZ 1 /* use System V style timezones */ |
62 | ||
63 | # define index strchr | |
64 | # define rindex strrchr | |
65 | ||
d25bb424 | 66 | # endif |
19c9e482 | 67 | |
030ae776 EA |
68 | /* |
69 | ** Older systems don't have this error code -- it should be in | |
70 | ** /usr/include/sysexits.h. | |
71 | */ | |
72 | ||
73 | # ifndef EX_CONFIG | |
74 | # define EX_CONFIG 78 /* configuration error */ | |
75 | # endif |