X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/c988f1f4faa9f679f79beddf3c14676c5dcb8e28..bd0f95ded48f560cb1f9f8b808e1abaabeb4d4ec:/src/src/config.h.defaults?ds=sidebyside diff --git a/src/src/config.h.defaults b/src/src/config.h.defaults index 5484a0786..221705224 100644 --- a/src/src/config.h.defaults +++ b/src/src/config.h.defaults @@ -1,18 +1,21 @@ -/* $Cambridge: exim/src/src/config.h.defaults,v 1.4 2005/01/04 10:00:42 ph10 Exp $ */ - /************************************************* * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2005 */ +/* Copyright (c) The Exim Maintainers 2018 - 2022 */ +/* Copyright (c) University of Cambridge 1995 - 2018 */ /* See the file NOTICE for conditions of use and distribution. */ /* The default settings for Exim configuration variables. A #define without any data just defines the existence of the variable; it won't get included -in config.h unless some value is defined in Local/Makefile. */ +in config.h unless some value is defined in Local/Makefile. If there is data, +it's a default value. + +Do not put spaces between # and the 'define'. +*/ #define ALT_CONFIG_PREFIX -#define ALT_CONFIG_ROOT_ONLY +#define TRUSTED_CONFIG_LIST #define APPENDFILE_MODE 0600 #define APPENDFILE_DIRECTORY_MODE 0700 @@ -20,8 +23,15 @@ in config.h unless some value is defined in Local/Makefile. */ #define AUTH_CRAM_MD5 #define AUTH_CYRUS_SASL +#define AUTH_DOVECOT +#define AUTH_EXTERNAL +#define AUTH_GSASL +#define AUTH_HEIMDAL_GSSAPI #define AUTH_PLAINTEXT #define AUTH_SPA +#define AUTH_TLS + +#define AUTH_VARS 4 #define BIN_DIRECTORY @@ -36,21 +46,39 @@ in config.h unless some value is defined in Local/Makefile. */ #define DEFAULT_CRYPT crypt #define DELIVER_IN_BUFFER_SIZE 8192 #define DELIVER_OUT_BUFFER_SIZE 8192 + +#define DISABLE_CLIENT_CMD_LOG #define DISABLE_D_OPTION +#define DISABLE_DNSSEC +#define DISABLE_DKIM +#define DISABLE_EVENT +#define DISABLE_OCSP +#define DISABLE_PIPE_CONNECT +#define DISABLE_PRDR +#define DISABLE_QUEUE_RAMP +#define DISABLE_TLS +#define DISABLE_TLS_RESUME + +#define ENABLE_DISABLE_FSYNC #define EXIMDB_DIRECTORY_MODE 0750 #define EXIMDB_LOCK_TIMEOUT 60 #define EXIMDB_LOCKFILE_MODE 0640 #define EXIMDB_MODE 0640 - +#define EXIM_CLIENT_DH_MIN_MIN_BITS 512 +#define EXIM_CLIENT_DH_DEFAULT_MIN_BITS 1024 +#define EXIM_GNUTLS_LIBRARY_LOG_LEVEL +#define EXIM_SERVER_DH_BITS_PRE2_12 #define EXIM_PERL - /* Both uid and gid are triggered by this */ #define EXIM_UID +#define EXPAND_DLFUNC +#define EXPAND_LISTMATCH_RHS #define FIXED_NEVER_USERS "root" #define HAVE_CRYPT16 +#define HAVE_LOCAL_SCAN #define HAVE_SA_LEN #define HEADERS_CHARSET "ISO-8859-1" #define HEADER_ADD_BUFFER_SIZE (8192 * 4) @@ -71,7 +99,9 @@ in config.h unless some value is defined in Local/Makefile. */ #define LOOKUP_DNSDB #define LOOKUP_DSEARCH #define LOOKUP_IBASE +#define LOOKUP_JSON #define LOOKUP_LDAP +#define LOOKUP_LMDB #define LOOKUP_LSEARCH #define LOOKUP_MYSQL #define LOOKUP_NIS @@ -79,11 +109,15 @@ in config.h unless some value is defined in Local/Makefile. */ #define LOOKUP_ORACLE #define LOOKUP_PASSWD #define LOOKUP_PGSQL +#define LOOKUP_REDIS +#define LOOKUP_SQLITE #define LOOKUP_TESTDB #define LOOKUP_WHOSON #define LOOKUP_WILDLSEARCH #define LOOKUP_NWILDLSEARCH +#define LOOKUP_MODULE_DIR + #define MAX_FILTER_SIZE (1024*1024) #define MAX_LOCALHOST_NUMBER 256 #define MAX_INCLUDE_SIZE (1024*1024) @@ -91,11 +125,15 @@ in config.h unless some value is defined in Local/Makefile. */ #define MAX_NAMED_LIST 16 #define MSGLOG_DIRECTORY_MODE 0750 +#define NVALGRIND + #define PID_FILE_PATH #define RADIUS_CONFIG_FILE #define RADIUS_LIB_TYPE +#define REGEX_VARS 9 + #define ROUTER_ACCEPT #define ROUTER_DNSLOOKUP #define ROUTER_IPLITERAL @@ -109,21 +147,30 @@ in config.h unless some value is defined in Local/Makefile. */ #define SPOOL_MODE 0640 #define STRING_SPRINTF_BUFFER_SIZE (8192 * 4) -#define SUPPORT_A6 #define SUPPORT_CRYPTEQ +#define SUPPORT_DANE +#define SUPPORT_DMARC +#define DMARC_API 100400 +#define DMARC_TLD_FILE "/etc/exim/opendmarc.tlds" +#define SUPPORT_I18N +#define SUPPORT_I18N_2008 #define SUPPORT_MAILDIR #define SUPPORT_MAILSTORE #define SUPPORT_MBX #define SUPPORT_MOVE_FROZEN_MESSAGES #define SUPPORT_PAM -#define SUPPORT_TLS +#define SUPPORT_PROXY +#define SUPPORT_SOCKS +#define SUPPORT_SPF +#define SUPPORT_SRS #define SUPPORT_TRANSLATE_IP_ADDRESS #define SYSLOG_LOG_PID #define SYSLOG_LONG_LINES +#define TCP_WRAPPERS_DAEMON_NAME "exim" #define TIMEZONE_DEFAULT -#define TMPDIR +#define EXIM_TMPDIR #define TRANSPORT_APPENDFILE #define TRANSPORT_AUTOREPLY @@ -134,23 +181,56 @@ in config.h unless some value is defined in Local/Makefile. */ #define USE_DB #define USE_GDBM #define USE_GNUTLS +#define AVOID_GNUTLS_PKCS11 +#define USE_NDBM +#define USE_OPENSSL #define USE_READLINE #define USE_TCP_WRAPPERS #define USE_TDB +#define WHITELIST_D_MACROS + #define WITH_CONTENT_SCAN -#define WITH_OLD_DEMIME +#define DISABLE_MAL_FFROTD +#define DISABLE_MAL_FFROT6D +#define DISABLE_MAL_DRWEB +#define DISABLE_MAL_AVE +#define DISABLE_MAL_FSECURE +#define DISABLE_MAL_KAV +#define DISABLE_MAL_SOPHIE +#define DISABLE_MAL_CLAM +#define DISABLE_MAL_MKS +#define DISABLE_MAL_AVAST +#define DISABLE_MAL_SOCK +#define DISABLE_MAL_CMDLINE /* EXPERIMENTAL features */ -#define EXPERIMENTAL_SPF -#define EXPERIMENTAL_SRS +#define EXPERIMENTAL_ARC #define EXPERIMENTAL_BRIGHTMAIL +#define EXPERIMENTAL_DCC +#define EXPERIMENTAL_DSN_INFO +#define EXPERIMENTAL_ESMTP_LIMITS +#define EXPERIMENTAL_QUEUEFILE + + +/* For developers */ +#define WANT_DEEPER_PRINTF_CHECKS /* Things that are not routinely changed but are nevertheless configurable just in case. */ -#define DNS_MAXNAME 256 +#define DNS_MAXNAME 1024 #define EXPAND_MAXN 20 #define ROOT_UID 0 +#define ROOT_GID 0 + +/* Sizes for integer arithmetic. +Go for 64bit; can be overridden in OS/Makefile-FOO +If you make it a different number of bits, provide a definition +for EXIM_ARITH_MAX and _MIN in OS/oh.h-FOO */ +#define int_eximarith_t int64_t +#define PR_EXIM_ARITH "%" PRId64 /* C99 standard, printf %lld */ +#define SC_EXIM_ARITH "%" SCNi64 /* scanf incl. 0x prefix */ +#define SC_EXIM_DEC "%" SCNd64 /* scanf decimal */ /* End of config.h.defaults */