fix copyright notice
[unix-history] / usr / src / usr.sbin / sendmail / src / conf.h
CommitLineData
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 *
6 * Redistribution and use in source and binary forms are permitted
dc45ba8c
KB
7 * provided that the above copyright notice and this paragraph are
8 * duplicated in all such forms and that any documentation,
9 * advertising materials, and other materials related to such
10 * distribution and use acknowledge that the software was developed
11 * by the University of California, Berkeley. The name of the
12 * University may not be used to endorse or promote products derived
13 * from this software without specific prior written permission.
14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
bee79b64 17 *
82837729 18 * @(#)conf.h 5.16 (Berkeley) %G%
bee79b64 19 */
aeb2545d
DF
20
21/*
22** CONF.H -- All user-configurable parameters for sendmail
5a739feb
EA
23*/
24
5a739feb
EA
25/*
26** Table sizes, etc....
27** There shouldn't be much need to change these....
28*/
29
f0a960f1
EA
30# define MAXLINE 1024 /* max line length */
31# define MAXNAME 256 /* max length of a name */
82837729 32# define MAXFIELD 4096 /* max total length of a hdr field */
5a739feb 33# define MAXPV 40 /* max # of parms to mailers */
2e3062fe 34# define MAXHOP 17 /* max value of HopCount */
5a739feb
EA
35# define MAXATOM 100 /* max atoms per address */
36# define MAXMAILERS 25 /* maximum mailers known to system */
37# define MAXRWSETS 30 /* max # of sets of rewriting rules */
38# define MAXPRIORITIES 25 /* max values for Precedence: field */
39# define MAXTRUST 30 /* maximum number of trusted users */
42bbf376 40# define MAXUSERENVIRON 40 /* max # of items in user environ */
c0831261 41# define QUEUESIZE 600 /* max # of jobs per queue run */
4030f9da 42# define MAXMXHOSTS 10 /* max # of MX records */
5a739feb
EA
43
44/*
45** Compilation options.
9bcdff70
EA
46**
47** #define these if they are available; comment them out otherwise.
5a739feb
EA
48*/
49
9bcdff70
EA
50# define DBM 1 /* use DBM library (requires -ldbm) */
51# define NDBM 1 /* new DBM library available (requires DBM) */
9bcdff70
EA
52# define LOG 1 /* enable logging */
53# define SMTP 1 /* enable user and server SMTP */
54# define QUEUE 1 /* enable queueing */
55# define UGLYUUCP 1 /* output ugly UUCP From lines */
56# define DAEMON 1 /* include the daemon (requires IPC & SMTP) */
9bcdff70 57# define SETPROCTITLE 1 /* munge argv to display current status */
35af2f06 58# define NAMED_BIND 1 /* use Berkeley Internet Domain Server */
19c9e482
KB
59
60 /*
61 * Use query type of ANY if possible (NO_WILDCARD_MX), which will
62 * find types CNAME, A, and MX, and will cause all existing records
63 * to be cached by our local server. If there is (might be) a
64 * wildcard MX record in the local domain or its parents that are
65 * searched, we can't use ANY; it would cause fully-qualified names
66 * to match as names in a local domain.
67 */
68# define NO_WILDCARD_MX 1