| 1 |
###################################################################### |
| 2 |
# Runtime configuration file for Exim 4 (Debian Packaging) # |
| 3 |
###################################################################### |
| 4 |
|
| 5 |
###################################################################### |
| 6 |
# /etc/exim4/exim4.conf.template is only used with the non-split |
| 7 |
# configuration scheme. |
| 8 |
# /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs is only used |
| 9 |
# with the split configuration scheme. |
| 10 |
# If you find this comment anywhere else, somebody copied it there. |
| 11 |
# Documentation about the Debian exim4 configuration scheme can be |
| 12 |
# found in /usr/share/doc/exim4-base/README.Debian.gz. |
| 13 |
###################################################################### |
| 14 |
|
| 15 |
###################################################################### |
| 16 |
# MAIN CONFIGURATION SETTINGS # |
| 17 |
###################################################################### |
| 18 |
|
| 19 |
# Just for reference and scripts. |
| 20 |
# On Debian systems, the main binary is installed as exim4 to avoid |
| 21 |
# conflicts with the exim 3 packages. |
| 22 |
exim_path = /usr/sbin/exim4 |
| 23 |
|
| 24 |
# Macro defining the main configuration directory. |
| 25 |
# We do not use absolute paths. |
| 26 |
.ifndef CONFDIR |
| 27 |
CONFDIR = /etc/exim4 |
| 28 |
.endif |
| 29 |
|
| 30 |
# debconf-driven macro definitions get inserted after this line |
| 31 |
UPEX4CmacrosUPEX4C = 1 |
| 32 |
|
| 33 |
# Create domain and host lists for relay control |
| 34 |
# '@' refers to 'the name of the local host' |
| 35 |
|
| 36 |
# List of domains considered local for exim. Domains not listed here |
| 37 |
# need to be deliverable remotely. |
| 38 |
domainlist local_domains = MAIN_LOCAL_DOMAINS |
| 39 |
|
| 40 |
# List of recipient domains to relay _to_. Use this list if you're - |
| 41 |
# for example - fallback MX or mail gateway for domains. |
| 42 |
domainlist relay_to_domains = MAIN_RELAY_TO_DOMAINS |
| 43 |
|
| 44 |
# List of sender networks (IP addresses) to _unconditionally_ relay |
| 45 |
# _for_. If you intend to be SMTP AUTH server, you do not need to enter |
| 46 |
# anything here. |
| 47 |
hostlist relay_from_hosts = MAIN_RELAY_NETS |
| 48 |
|
| 49 |
|
| 50 |
# Decide which domain to use to add to all unqualified addresses. |
| 51 |
# If MAIN_PRIMARY_HOSTNAME_AS_QUALIFY_DOMAIN is defined, the primary |
| 52 |
# hostname is used. If not, but MAIN_QUALIFY_DOMAIN is set, the value |
| 53 |
# of MAIN_QUALIFY_DOMAIN is used. If both macros are not defined, |
| 54 |
# the first line of /etc/mailname is used. |
| 55 |
.ifndef MAIN_PRIMARY_HOSTNAME_AS_QUALIFY_DOMAIN |
| 56 |
.ifndef MAIN_QUALIFY_DOMAIN |
| 57 |
qualify_domain = ETC_MAILNAME |
| 58 |
.else |
| 59 |
qualify_domain = MAIN_QUALIFY_DOMAIN |
| 60 |
.endif |
| 61 |
.endif |
| 62 |
|
| 63 |
# listen on all all interfaces? |
| 64 |
.ifdef MAIN_LOCAL_INTERFACES |
| 65 |
local_interfaces = MAIN_LOCAL_INTERFACES |
| 66 |
.endif |
| 67 |
|
| 68 |
.ifndef LOCAL_DELIVERY |
| 69 |
# The default transport, set in /etc/exim4/update-exim4.conf.conf, |
| 70 |
# defaulting to mail_spool. See CONFDIR/conf.d/transport/ for possibilities |
| 71 |
LOCAL_DELIVERY=mail_spool |
| 72 |
.endif |
| 73 |
|
| 74 |
# The gecos field in /etc/passwd holds not only the name. see passwd(5). |
| 75 |
gecos_pattern = ^([^,:]*) |
| 76 |
gecos_name = $1 |
| 77 |
|
| 78 |
# always log tls_peerdn as we use TLS for outgoing connects by default |
| 79 |
.ifndef MAIN_LOG_SELECTOR |
| 80 |
MAIN_LOG_SELECTOR = +smtp_protocol_error +smtp_syntax_error +tls_certificate_verified +tls_peerdn |
| 81 |
.endif |