xref: /original-bsd/usr.sbin/sendmail/src/conf.h (revision d15729d4)
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.17 (Berkeley) 06/01/90
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 MAXFIELD	4096		/* max total length of a hdr field */
23 # define MAXPV		40		/* max # of parms to mailers */
24 # define MAXHOP		17		/* max value of HopCount */
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 */
30 # define MAXUSERENVIRON	40		/* max # of items in user environ */
31 # define QUEUESIZE	600		/* max # of jobs per queue run */
32 # define MAXMXHOSTS	10		/* max # of MX records */
33 
34 /*
35 **  Compilation options.
36 **
37 **	#define these if they are available; comment them out otherwise.
38 */
39 
40 # define DBM		1	/* use DBM library (requires -ldbm) */
41 # define NDBM		1	/* new DBM library available (requires DBM) */
42 # define LOG		1	/* enable logging */
43 # define SMTP		1	/* enable user and server SMTP */
44 # define QUEUE		1	/* enable queueing */
45 # define UGLYUUCP	1	/* output ugly UUCP From lines */
46 # define DAEMON		1	/* include the daemon (requires IPC & SMTP) */
47 # define SETPROCTITLE	1	/* munge argv to display current status */
48 # define NAMED_BIND	1	/* use Berkeley Internet Domain Server */
49 
50 	/*
51 	 * Use query type of ANY if possible (NO_WILDCARD_MX), which will
52 	 * find types CNAME, A, and MX, and will cause all existing records
53 	 * to be cached by our local server.  If there is (might be) a
54 	 * wildcard MX record in the local domain or its parents that are
55 	 * searched, we can't use ANY; it would cause fully-qualified names
56 	 * to match as names in a local domain.
57 	 */
58 # define NO_WILDCARD_MX	1
59