2 ######################################################################
3 # Runtime configuration file for Exim 4 (Debian Packaging) #
4 ######################################################################
6 ######################################################################
7 # Depending on where you find this file, this might be a template or
8 # an actual configuration file. Documentation about the Debian exim4
9 # configuration scheme can be found in
10 # /usr/share/doc/exim4-base/README.Debian.gz.
12 # Strings like DEBCONFsomethingDEBCONF are replaced by installation
13 # dependent values by update-exim4.conf, the script which builds the
14 # actual configuration from the templates.
15 ######################################################################
17 ######################################################################
18 # MAIN CONFIGURATION SETTINGS #
19 ######################################################################
21 # Just for reference and scripts.
22 # On Debian systems, the main binary is installed as exim4 to avoid
23 # conflicts with the exim 3 packages.
24 exim_path = /usr/sbin/exim4
26 # Macro defining the main configuration directory.
27 # We do not use absolute paths.
32 # This sets a macro DC_minimaldns if dc_minimaldns=true. If
33 # dc_minimaldns=false, this expands to an empty line.
35 DEBCONFminimaldnsDEBCONF
38 # Create other macros from Debconf. Macros created here are used in
39 # other places in exim config.
40 .ifndef DC_visiblename
41 DC_visiblename=DEBCONFvisiblenameDEBCONF
44 # Create domain and host lists for relay control
45 # '@' refers to 'the name of the local host'
47 .ifndef MAIN_LOCAL_DOMAINS
48 MAIN_LOCAL_DOMAINS = DEBCONFlocal_domainsDEBCONF
50 domainlist local_domains = MAIN_LOCAL_DOMAINS
52 .ifndef MAIN_RELAY_TO_DOMAINS
53 MAIN_RELAY_TO_DOMAINS = DEBCONFrelay_domainsDEBCONF
55 domainlist relay_to_domains = MAIN_RELAY_TO_DOMAINS
57 .ifndef MAIN_RELAY_NETS
58 MAIN_RELAY_NETS = DEBCONFrelay_netsDEBCONF
60 hostlist relay_from_hosts = 127.0.0.1 : ::::1 : MAIN_RELAY_NETS
63 # Specify the domain you want to be added to all unqualified addresses
64 # here. Unqualified addresses are accepted only from local callers by
65 # default. The recipient_unqualified_hosts option can be used to permit
66 # unqualified addresses from remote sources.
67 # If qualify_domain is not set, the primary_hostname value is used for
69 # The ifdef bracket makes sure that an empty debconf value is correctly
70 # translated to "unset".
72 qualify_domain = DC_visiblename
75 # only used for satellite-system
77 DCreadhost = DEBCONFreadhostDEBCONF
80 #for satellite and smarthost-systems
82 DCsmarthost = DEBCONFsmarthostDEBCONF
85 # listen on all all interfaces?
86 .ifdef MAIN_LOCAL_INTERFACES
87 local_interfaces = MAIN_LOCAL_INTERFACES
89 DEBCONFlistenonpublicDEBCONF
92 .ifndef LOCAL_DELIVERY
93 # The default transport, set in /etc/exim4/update-exim4.conf.conf,
94 # defaulting to mail_spool. See CONFDIR/conf.d/transport/ for possibilities
95 LOCAL_DELIVERY=DEBCONFlocaldeliveryDEBCONF
98 # The gecos field in /etc/passwd holds not only the name. see passwd(5).
99 gecos_pattern = ^([^,:]*)
103 # define a macro DCconfig_smarthost, DCconfig_satellite, etc. we need this
104 # for .ifdef ... .endif
105 .ifndef DCconfig_satellite
106 .ifndef DCconfig_internet
107 .ifndef DCconfig_local
108 .ifndef DCconfig_smarthost
109 DCconfig_DEBCONFconfigtypeDEBCONF = 1
116 # define macros to be used in acl/30_exim4-config_check_rcpt to check
117 # recipient local parts for strange characters
119 # This macro is used to check local parts of recipients in local
120 # domains. It blocks local parts that begin with a dot or contain a
121 # quite broad range of non-alphanumeric characters.
122 .ifndef CHECK_RCPT_LOCAL_LOCALPARTS
123 CHECK_RCPT_LOCAL_LOCALPARTS = ^[.] : ^.*[@%!/|\'`#&?]
126 # This macro is used to check local parts of recipients in non-local
127 # domains. It thus allows your own users to send outgoing messages to
128 # sites that use slashes and vertical bars in their local parts. It blocks
129 # local parts that begin with a dot, slash, or vertical bar, but allows
130 # these characters within the local part. However, the sequence /../ is
131 # barred. The use of some other non-alphanumeric characters is blocked.
132 # The motivation here is to prevent your users (or your users' viruses)
133 # from mounting certain kinds of attack on remote sites.
134 .ifndef CHECK_RCPT_REMOTE_LOCALPARTS
135 CHECK_RCPT_REMOTE_LOCALPARTS = ^[./|] : ^.*[@%!\'`#&?] : ^.*/\\.\\./