xref: /csrg-svn/usr.sbin/sendmail/src/conf.h (revision 51918)
19147Seric /*
234920Sbostic  * Copyright (c) 1983 Eric P. Allman
333728Sbostic  * Copyright (c) 1988 Regents of the University of California.
433728Sbostic  * All rights reserved.
533728Sbostic  *
642825Sbostic  * %sccs.include.redist.c%
733728Sbostic  *
8*51918Seric  *	@(#)conf.h	5.22 (Berkeley) 12/13/91
933728Sbostic  */
109147Seric 
1122726Sdist /*
1222726Sdist **  CONF.H -- All user-configurable parameters for sendmail
1322726Sdist */
149147Seric 
159147Seric /*
169147Seric **  Table sizes, etc....
179147Seric **	There shouldn't be much need to change these....
189147Seric */
199147Seric 
2024945Seric # define MAXLINE	1024		/* max line length */
2124945Seric # define MAXNAME	256		/* max length of a name */
2240960Sbostic # define MAXFIELD	4096		/* max total length of a hdr field */
239147Seric # define MAXPV		40		/* max # of parms to mailers */
2424943Seric # define MAXHOP		17		/* max value of HopCount */
259147Seric # define MAXATOM	100		/* max atoms per address */
269147Seric # define MAXMAILERS	25		/* maximum mailers known to system */
279147Seric # define MAXRWSETS	30		/* max # of sets of rewriting rules */
289147Seric # define MAXPRIORITIES	25		/* max values for Precedence: field */
299147Seric # define MAXTRUST	30		/* maximum number of trusted users */
3025026Seric # define MAXUSERENVIRON	40		/* max # of items in user environ */
3125672Seric # define QUEUESIZE	600		/* max # of jobs per queue run */
3229652Sbloom # define MAXMXHOSTS	10		/* max # of MX records */
339147Seric 
349147Seric /*
359147Seric **  Compilation options.
3625673Seric **
3725673Seric **	#define these if they are available; comment them out otherwise.
389147Seric */
399147Seric 
40*51918Seric # ifdef hpux
41*51918Seric # define SYSTEM5	1
42*51918Seric # endif
43*51918Seric 
4450575Seric /* # define DBM		1	/* use DBM library (requires -ldbm) */
4550575Seric /* # define NDBM	1	/* new DBM library available (requires DBM) */
4650575Seric # define NEWDB		1	/* use new 4.4bsd database package db(3) */
4725673Seric # define LOG		1	/* enable logging */
4825673Seric # define SMTP		1	/* enable user and server SMTP */
4925673Seric # define QUEUE		1	/* enable queueing */
5025673Seric # define UGLYUUCP	1	/* output ugly UUCP From lines */
5125673Seric # define DAEMON		1	/* include the daemon (requires IPC & SMTP) */
5225673Seric # define SETPROCTITLE	1	/* munge argv to display current status */
5335651Seric # define NAMED_BIND	1	/* use Berkeley Internet Domain Server */
5450556Seric # define USERDB		1	/* look in user database */
5536483Sbostic 
56*51918Seric # ifdef SYSTEM5
57*51918Seric # define LOCKF		1	/* use System V lockf instead of flock */
58*51918Seric # endif
59*51918Seric 
6050537Seric /*
6150537Seric **  Older systems don't have this error code -- it should be in
6250537Seric **  /usr/include/sysexits.h.
6350537Seric */
6450537Seric 
6550537Seric # ifndef EX_CONFIG
6650537Seric # define EX_CONFIG	78	/* configuration error */
6750537Seric # endif
68