xref: /csrg-svn/usr.sbin/sendmail/src/conf.h (revision 50556)
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*50556Seric  *	@(#)conf.h	5.19 (Berkeley) 07/26/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 
4025673Seric # define DBM		1	/* use DBM library (requires -ldbm) */
4125673Seric # define NDBM		1	/* new DBM library available (requires DBM) */
4225673Seric # define LOG		1	/* enable logging */
4325673Seric # define SMTP		1	/* enable user and server SMTP */
4425673Seric # define QUEUE		1	/* enable queueing */
4525673Seric # define UGLYUUCP	1	/* output ugly UUCP From lines */
4625673Seric # define DAEMON		1	/* include the daemon (requires IPC & SMTP) */
4725673Seric # define SETPROCTITLE	1	/* munge argv to display current status */
4835651Seric # define NAMED_BIND	1	/* use Berkeley Internet Domain Server */
49*50556Seric # define USERDB		1	/* look in user database */
5036483Sbostic 
5150537Seric /*
5250537Seric **  Older systems don't have this error code -- it should be in
5350537Seric **  /usr/include/sysexits.h.
5450537Seric */
5550537Seric 
5650537Seric # ifndef EX_CONFIG
5750537Seric # define EX_CONFIG	78	/* configuration error */
5850537Seric # endif
59