xref: /csrg-svn/usr.sbin/sendmail/src/conf.h (revision 40960)
19147Seric /*
234920Sbostic  * Copyright (c) 1983 Eric P. Allman
333728Sbostic  * Copyright (c) 1988 Regents of the University of California.
433728Sbostic  * All rights reserved.
533728Sbostic  *
633728Sbostic  * Redistribution and use in source and binary forms are permitted
734920Sbostic  * provided that the above copyright notice and this paragraph are
834920Sbostic  * duplicated in all such forms and that any documentation,
934920Sbostic  * advertising materials, and other materials related to such
1034920Sbostic  * distribution and use acknowledge that the software was developed
1134920Sbostic  * by the University of California, Berkeley.  The name of the
1234920Sbostic  * University may not be used to endorse or promote products derived
1334920Sbostic  * from this software without specific prior written permission.
1434920Sbostic  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
1534920Sbostic  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
1634920Sbostic  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1733728Sbostic  *
18*40960Sbostic  *	@(#)conf.h	5.16 (Berkeley) 04/18/90
1933728Sbostic  */
209147Seric 
2122726Sdist /*
2222726Sdist **  CONF.H -- All user-configurable parameters for sendmail
2322726Sdist */
249147Seric 
259147Seric /*
269147Seric **  Table sizes, etc....
279147Seric **	There shouldn't be much need to change these....
289147Seric */
299147Seric 
3024945Seric # define MAXLINE	1024		/* max line length */
3124945Seric # define MAXNAME	256		/* max length of a name */
32*40960Sbostic # define MAXFIELD	4096		/* max total length of a hdr field */
339147Seric # define MAXPV		40		/* max # of parms to mailers */
3424943Seric # define MAXHOP		17		/* max value of HopCount */
359147Seric # define MAXATOM	100		/* max atoms per address */
369147Seric # define MAXMAILERS	25		/* maximum mailers known to system */
379147Seric # define MAXRWSETS	30		/* max # of sets of rewriting rules */
389147Seric # define MAXPRIORITIES	25		/* max values for Precedence: field */
399147Seric # define MAXTRUST	30		/* maximum number of trusted users */
4025026Seric # define MAXUSERENVIRON	40		/* max # of items in user environ */
4125672Seric # define QUEUESIZE	600		/* max # of jobs per queue run */
4229652Sbloom # define MAXMXHOSTS	10		/* max # of MX records */
439147Seric 
449147Seric /*
459147Seric **  Compilation options.
4625673Seric **
4725673Seric **	#define these if they are available; comment them out otherwise.
489147Seric */
499147Seric 
5025673Seric # define DBM		1	/* use DBM library (requires -ldbm) */
5125673Seric # define NDBM		1	/* new DBM library available (requires DBM) */
5225673Seric # define LOG		1	/* enable logging */
5325673Seric # define SMTP		1	/* enable user and server SMTP */
5425673Seric # define QUEUE		1	/* enable queueing */
5525673Seric # define UGLYUUCP	1	/* output ugly UUCP From lines */
5625673Seric # define DAEMON		1	/* include the daemon (requires IPC & SMTP) */
5725673Seric # define SETPROCTITLE	1	/* munge argv to display current status */
5835651Seric # define NAMED_BIND	1	/* use Berkeley Internet Domain Server */
5936483Sbostic 
6036483Sbostic 	/*
6136483Sbostic 	 * Use query type of ANY if possible (NO_WILDCARD_MX), which will
6236483Sbostic 	 * find types CNAME, A, and MX, and will cause all existing records
6336483Sbostic 	 * to be cached by our local server.  If there is (might be) a
6436483Sbostic 	 * wildcard MX record in the local domain or its parents that are
6536483Sbostic 	 * searched, we can't use ANY; it would cause fully-qualified names
6636483Sbostic 	 * to match as names in a local domain.
6736483Sbostic 	 */
6836483Sbostic # define NO_WILDCARD_MX	1
69