xref: /csrg-svn/usr.sbin/sendmail/src/conf.h (revision 55418)
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*55418Seric  *	@(#)conf.h	5.26 (Berkeley) 07/20/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 */
3452107Seric # ifndef FORK
3552107Seric # define FORK		vfork		/* function to call to fork mailer */
3652107Seric # 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 
4825673Seric # define LOG		1	/* enable logging */
4925673Seric # define SMTP		1	/* enable user and server SMTP */
5025673Seric # define QUEUE		1	/* enable queueing */
5125673Seric # define UGLYUUCP	1	/* output ugly UUCP From lines */
5225673Seric # define DAEMON		1	/* include the daemon (requires IPC & SMTP) */
5325673Seric # define SETPROCTITLE	1	/* munge argv to display current status */
5435651Seric # define NAMED_BIND	1	/* use Berkeley Internet Domain Server */
5550556Seric # define USERDB		1	/* look in user database */
5653735Seric # define MATCHGECOS	1	/* match user names from gecos field */
5736483Sbostic 
5851918Seric # ifdef SYSTEM5
59*55418Seric 
6051918Seric # define LOCKF		1	/* use System V lockf instead of flock */
61*55418Seric # define SYS5TZ		1	/* use System V style timezones */
62*55418Seric 
63*55418Seric # define index		strchr
64*55418Seric # define rindex		strrchr
65*55418Seric 
6651918Seric # endif
6751918Seric 
6850537Seric /*
6950537Seric **  Older systems don't have this error code -- it should be in
7050537Seric **  /usr/include/sysexits.h.
7150537Seric */
7250537Seric 
7350537Seric # ifndef EX_CONFIG
7450537Seric # define EX_CONFIG	78	/* configuration error */
7550537Seric # endif
76