| 1 | /* |
| 2 | * Copyright (c) 1983 Eric P. Allman |
| 3 | * Copyright (c) 1988 Regents of the University of California. |
| 4 | * All rights reserved. |
| 5 | * |
| 6 | * Redistribution and use in source and binary forms are permitted |
| 7 | * provided that the above copyright notice and this paragraph are |
| 8 | * duplicated in all such forms and that any documentation, |
| 9 | * advertising materials, and other materials related to such |
| 10 | * distribution and use acknowledge that the software was developed |
| 11 | * by the University of California, Berkeley. The name of the |
| 12 | * University may not be used to endorse or promote products derived |
| 13 | * from this software without specific prior written permission. |
| 14 | * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR |
| 15 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED |
| 16 | * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
| 17 | * |
| 18 | * @(#)conf.h 5.16 (Berkeley) %G% |
| 19 | */ |
| 20 | |
| 21 | /* |
| 22 | ** CONF.H -- All user-configurable parameters for sendmail |
| 23 | */ |
| 24 | |
| 25 | /* |
| 26 | ** Table sizes, etc.... |
| 27 | ** There shouldn't be much need to change these.... |
| 28 | */ |
| 29 | |
| 30 | # define MAXLINE 1024 /* max line length */ |
| 31 | # define MAXNAME 256 /* max length of a name */ |
| 32 | # define MAXFIELD 4096 /* max total length of a hdr field */ |
| 33 | # define MAXPV 40 /* max # of parms to mailers */ |
| 34 | # define MAXHOP 17 /* max value of HopCount */ |
| 35 | # define MAXATOM 100 /* max atoms per address */ |
| 36 | # define MAXMAILERS 25 /* maximum mailers known to system */ |
| 37 | # define MAXRWSETS 30 /* max # of sets of rewriting rules */ |
| 38 | # define MAXPRIORITIES 25 /* max values for Precedence: field */ |
| 39 | # define MAXTRUST 30 /* maximum number of trusted users */ |
| 40 | # define MAXUSERENVIRON 40 /* max # of items in user environ */ |
| 41 | # define QUEUESIZE 600 /* max # of jobs per queue run */ |
| 42 | # define MAXMXHOSTS 10 /* max # of MX records */ |
| 43 | |
| 44 | /* |
| 45 | ** Compilation options. |
| 46 | ** |
| 47 | ** #define these if they are available; comment them out otherwise. |
| 48 | */ |
| 49 | |
| 50 | # define DBM 1 /* use DBM library (requires -ldbm) */ |
| 51 | # define NDBM 1 /* new DBM library available (requires DBM) */ |
| 52 | # define LOG 1 /* enable logging */ |
| 53 | # define SMTP 1 /* enable user and server SMTP */ |
| 54 | # define QUEUE 1 /* enable queueing */ |
| 55 | # define UGLYUUCP 1 /* output ugly UUCP From lines */ |
| 56 | # define DAEMON 1 /* include the daemon (requires IPC & SMTP) */ |
| 57 | # define SETPROCTITLE 1 /* munge argv to display current status */ |
| 58 | # define NAMED_BIND 1 /* use Berkeley Internet Domain Server */ |
| 59 | |
| 60 | /* |
| 61 | * Use query type of ANY if possible (NO_WILDCARD_MX), which will |
| 62 | * find types CNAME, A, and MX, and will cause all existing records |
| 63 | * to be cached by our local server. If there is (might be) a |
| 64 | * wildcard MX record in the local domain or its parents that are |
| 65 | * searched, we can't use ANY; it would cause fully-qualified names |
| 66 | * to match as names in a local domain. |
| 67 | */ |
| 68 | # define NO_WILDCARD_MX 1 |