xref: /csrg-svn/usr.sbin/sendmail/src/conf.h (revision 52107)
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*52107Seric  *	@(#)conf.h	5.24 (Berkeley) 01/05/92
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 */
3352106Seric # define SMTPLINELIM	990		/* maximum SMTP line length */
34*52107Seric # ifndef FORK
35*52107Seric # define FORK		vfork		/* function to call to fork mailer */
36*52107Seric # endif
379147Seric 
389147Seric /*
399147Seric **  Compilation options.
4025673Seric **
4125673Seric **	#define these if they are available; comment them out otherwise.
429147Seric */
439147Seric 
4451918Seric # ifdef hpux
4551918Seric # define SYSTEM5	1
4651918Seric # endif
4751918Seric 
4850575Seric /* # define DBM		1	/* use DBM library (requires -ldbm) */
4950575Seric /* # define NDBM	1	/* new DBM library available (requires DBM) */
5050575Seric # define NEWDB		1	/* use new 4.4bsd database package db(3) */
5125673Seric # define LOG		1	/* enable logging */
5225673Seric # define SMTP		1	/* enable user and server SMTP */
5325673Seric # define QUEUE		1	/* enable queueing */
5425673Seric # define UGLYUUCP	1	/* output ugly UUCP From lines */
5525673Seric # define DAEMON		1	/* include the daemon (requires IPC & SMTP) */
5625673Seric # define SETPROCTITLE	1	/* munge argv to display current status */
5735651Seric # define NAMED_BIND	1	/* use Berkeley Internet Domain Server */
5850556Seric # define USERDB		1	/* look in user database */
5936483Sbostic 
6051918Seric # ifdef SYSTEM5
6151918Seric # define LOCKF		1	/* use System V lockf instead of flock */
6251918Seric # endif
6351918Seric 
6450537Seric /*
6550537Seric **  Older systems don't have this error code -- it should be in
6650537Seric **  /usr/include/sysexits.h.
6750537Seric */
6850537Seric 
6950537Seric # ifndef EX_CONFIG
7050537Seric # define EX_CONFIG	78	/* configuration error */
7150537Seric # endif
72