Debian Codegraph @

debian/debconf/conf.d/main/02_exim4-config_options

raw
1
2 ### main/02_exim4-config_options
3 #################################
4
5
6 # Defines the access control list that is run when an
7 # SMTP MAIL command is received.
8 #
9 .ifndef MAIN_ACL_CHECK_MAIL
10 MAIN_ACL_CHECK_MAIL = acl_check_mail
11 .endif
12 acl_smtp_mail = MAIN_ACL_CHECK_MAIL
13
14
15 # Defines the access control list that is run when an
16 # SMTP RCPT command is received.
17 #
18 .ifndef MAIN_ACL_CHECK_RCPT
19 MAIN_ACL_CHECK_RCPT = acl_check_rcpt
20 .endif
21 acl_smtp_rcpt = MAIN_ACL_CHECK_RCPT
22
23
24 # Defines the access control list that is run when an
25 # SMTP DATA command is received.
26 #
27 .ifndef MAIN_ACL_CHECK_DATA
28 MAIN_ACL_CHECK_DATA = acl_check_data
29 .endif
30 acl_smtp_data = MAIN_ACL_CHECK_DATA
31
32
33 # Message size limit. The default (used when MESSAGE_SIZE_LIMIT
34 # is unset) is 50 MB
35 .ifdef MESSAGE_SIZE_LIMIT
36 message_size_limit = MESSAGE_SIZE_LIMIT
37 .endif
38
39
40 # If you are running exim4-daemon-heavy or a custom version of Exim that
41 # was compiled with the content-scanning extension, you can cause incoming
42 # messages to be automatically scanned for viruses. You have to modify the
43 # configuration in two places to set this up. The first of them is here,
44 # where you define the interface to your scanner. This example is typical
45 # for ClamAV; see the manual for details of what to set for other virus
46 # scanners. The second modification is in the acl_check_data access
47 # control list.
48
49 # av_scanner = clamd:/run/clamav/clamd.ctl
50
51
52 # For spam scanning, there is a similar option that defines the interface to
53 # SpamAssassin. You do not need to set this if you are using the default, which
54 # is shown in this commented example. As for virus scanning, you must also
55 # modify the acl_check_data access control list to enable spam scanning.
56
57 # spamd_address = 127.0.0.1 783
58
59 # Domain used to qualify unqualified recipient addresses
60 # If this option is not set, the qualify_domain value is used.
61 # qualify_recipient = <value of qualify_domain>
62
63
64 # Allow Exim to recognize addresses of the form "user@[10.11.12.13]",
65 # where the domain part is a "domain literal" (an IP address) instead
66 # of a named domain. The RFCs require this facility, but it is disabled
67 # in the default config since it is rarely used and frequently abused.
68 # Domain literal support also needs a special router, which is automatically
69 # enabled if you use the enable macro MAIN_ALLOW_DOMAIN_LITERALS.
70 # Additionally, you might want to make your local IP addresses (or @[])
71 # local domains.
72 .ifdef MAIN_ALLOW_DOMAIN_LITERALS
73 allow_domain_literals
74 .endif
75
76
77 # Do a reverse DNS lookup on all incoming IP calls, in order to get the
78 # true host name. If you feel this is too expensive, the networks for
79 # which a lookup is done can be listed here.
80 .ifndef DC_minimaldns
81 .ifndef MAIN_HOST_LOOKUP
82 MAIN_HOST_LOOKUP = *
83 .endif
84 host_lookup = MAIN_HOST_LOOKUP
85 .endif
86
87 # The setting below causes Exim to try to initialize the system resolver
88 # library with DNSSEC support. It has no effect if your library lacks
89 # DNSSEC support.
90 dns_dnssec_ok = 1
91
92 # In a minimaldns setup, update-exim4.conf guesses the hostname and
93 # dumps it here to avoid DNS lookups being done at Exim run time.
94 .ifdef MAIN_HARDCODE_PRIMARY_HOSTNAME
95 primary_hostname = MAIN_HARDCODE_PRIMARY_HOSTNAME
96 .endif
97
98 # The settings below cause Exim to make RFC 1413 (ident) callbacks
99 # for all incoming SMTP calls. You can limit the hosts to which these
100 # calls are made, and/or change the timeout that is used. If you set
101 # the timeout to zero, all RFC 1413 calls are disabled. RFC 1413 calls
102 # are cheap and can provide useful information for tracing problem
103 # messages, but some hosts and firewalls have problems with them.
104 # This can result in a timeout instead of an immediate refused
105 # connection, leading to delays on starting up SMTP sessions.
106 # (The default was reduced from 30s to 5s for release 4.61. and to
107 # disabled for release 4.86)
108 #
109 #rfc1413_hosts = *
110 #rfc1413_query_timeout = 5s
111
112
113 # Enable an efficiency feature. We advertise the feature; clients
114 # may request to use it. For multi-recipient mails we then can
115 # reject or accept per-user after the message is received.
116 # This supports recipient-dependent content filtering; without it
117 # you have to temp-reject any recipients after the first that have
118 # incompatible filtering, and do the filtering in the data ACL.
119 # Even with this enabled, you must support the old style for peers
120 # not flagging support for PRDR (visible via $prdr_requested).
121 prdr_enable = true
122
123 # When using an external relay tester (such as rt.njabl.org and/or the
124 # currently defunct relay-test.mail-abuse.org, the test may be aborted
125 # since exim complains about "too many nonmail commands". If you want
126 # the test to complete, add the host from where "your" relay tester
127 # connects from to the MAIN_SMTP_ACCEPT_MAX_NOMAIL_HOSTS macro.
128 # Please note that a non-empty setting may cause extra DNS lookups to
129 # happen, which is the reason why this option is commented out in the
130 # default settings.
131 # MAIN_SMTP_ACCEPT_MAX_NOMAIL_HOSTS = !rt.njabl.org
132 .ifdef MAIN_SMTP_ACCEPT_MAX_NOMAIL_HOSTS
133 smtp_accept_max_nonmail_hosts = MAIN_SMTP_ACCEPT_MAX_NOMAIL_HOSTS
134 .endif
135
136 # By default, exim forces a Sender: header containing the local
137 # account name at the local host name in all locally submitted messages
138 # that don't have the local account name at the local host name in the
139 # From: header, deletes any Sender: header present in the submitted
140 # message and forces the envelope sender of all locally submitted
141 # messages to the local account name at the local host name.
142 # The following settings allow local users to specify their own envelope sender
143 # in a locally submitted message. Sender: headers existing in a locally
144 # submitted message are not removed, and no automatic Sender: headers
145 # are added. These settings are fine for most hosts.
146 # If you run exim on a classical multi-user systems where all users
147 # have local mailboxes that can be reached via SMTP from the Internet
148 # with the local FQDN as the domain part of the address, you might want
149 # to disable the following three lines for traceability reasons.
150 .ifndef MAIN_FORCE_SENDER
151 local_from_check = false
152 local_sender_retain = true
153 untrusted_set_sender = *
154 .endif
155
156
157 # By default, Exim expects all envelope addresses to be fully qualified, that
158 # is, they must contain both a local part and a domain. Configure exim
159 # to accept unqualified addresses from certain hosts. When this is done,
160 # unqualified addresses are qualified using the settings of qualify_domain
161 # and/or qualify_recipient (see above).
162 # sender_unqualified_hosts = <unset>
163 # recipient_unqualified_hosts = <unset>
164
165
166 # Configure Exim to support the "percent hack" for certain domains.
167 # The "percent hack" is the feature by which mail addressed to x%y@z
168 # (where z is one of the domains listed) is locally rerouted to x@y
169 # and sent on. If z is not one of the "percent hack" domains, x%y is
170 # treated as an ordinary local part. The percent hack is rarely needed
171 # nowadays but frequently abused. You should not enable it unless you
172 # are sure that you really need it.
173 # percent_hack_domains = <unset>
174
175
176 # Bounce handling
177 .ifndef MAIN_IGNORE_BOUNCE_ERRORS_AFTER
178 MAIN_IGNORE_BOUNCE_ERRORS_AFTER = 2d
179 .endif
180 ignore_bounce_errors_after = MAIN_IGNORE_BOUNCE_ERRORS_AFTER
181
182 .ifndef MAIN_TIMEOUT_FROZEN_AFTER
183 MAIN_TIMEOUT_FROZEN_AFTER = 7d
184 .endif
185 timeout_frozen_after = MAIN_TIMEOUT_FROZEN_AFTER
186
187 .ifndef MAIN_FREEZE_TELL
188 MAIN_FREEZE_TELL = postmaster
189 .endif
190 freeze_tell = MAIN_FREEZE_TELL
191
192
193 # Define spool directory
194 .ifndef SPOOLDIR
195 SPOOLDIR = /var/spool/exim4
196 .endif
197 spool_directory = SPOOLDIR
198
199
200 # trusted users can set envelope-from to arbitrary values
201 .ifndef MAIN_TRUSTED_USERS
202 MAIN_TRUSTED_USERS = uucp
203 .endif
204 trusted_users = MAIN_TRUSTED_USERS
205 .ifdef MAIN_TRUSTED_GROUPS
206 trusted_groups = MAIN_TRUSTED_GROUPS
207 .endif
208
209
210 # users in admin group can do many other things
211 # admin_groups = <unset>
212
213
214 # SMTP Banner. The example includes the Debian version in the SMTP dialog
215 # MAIN_SMTP_BANNER = "${primary_hostname} ESMTP Exim ${version_number} (Debian package MAIN_PACKAGE_VERSION) ${tod_full}"
216 # smtp_banner = $smtp_active_hostname ESMTP Exim $version_number $tod_full
217
218 .ifdef MAIN_KEEP_ENVIRONMENT
219 keep_environment = MAIN_KEEP_ENVIRONMENT
220 .else
221 # set option to empty value to avoid warning.
222 keep_environment =
223 .endif
224 .ifdef MAIN_ADD_ENVIRONMENT
225 add_environment = MAIN_ADD_ENVIRONMENT
226 .endif
227
228 .ifdef _OPT_MAIN_SMTPUTF8_ADVERTISE_HOSTS
229 .ifndef MAIN_SMTPUTF8_ADVERTISE_HOSTS
230 MAIN_SMTPUTF8_ADVERTISE_HOSTS =
231 .endif
232 smtputf8_advertise_hosts = MAIN_SMTPUTF8_ADVERTISE_HOSTS
233 .endif