1 ######################################################################
2 # Runtime configuration file for Exim #
3 ######################################################################
6 # This is a default configuration file which will operate correctly in
7 # uncomplicated installations. Please see the manual for a complete list
8 # of all the runtime configuration options that can be included in a
9 # configuration file. There are many more than are mentioned here. The
10 # manual is in the file doc/spec.txt in the Exim distribution as a plain
11 # ASCII file. Other formats (PostScript, Texinfo, HTML) are available from
12 # the Exim ftp sites. The manual is also online via the Exim web sites.
15 # This file is divided into several parts, all but the last of which are
16 # terminated by a line containing the word "end". The parts must appear
17 # in the correct order, and all must be present (even if some of them are
18 # in fact empty). Blank lines, and lines starting with # are ignored.
22 ######################################################################
23 # MAIN CONFIGURATION SETTINGS #
24 ######################################################################
26 # Specify your host's canonical name here. This should normally be the fully
27 # qualified "official" name of your host. If this option is not set, the
28 # uname() function is called to obtain the name.
33 # Specify the domain you want to be added to all unqualified addresses
34 # here. An unqualified address is one that does not contain an "@" character
35 # followed by a domain. For example, "caesar@rome.ex" is a fully qualified
36 # address, but the string "caesar" (i.e. just a login name) is an unqualified
37 # email address. Unqualified addresses are accepted only from local callers by
38 # default. See the receiver_unqualified_{hosts,nets} options if you want
39 # to permit unqualified addresses from remote sources. If this option is
40 # not set, the primary_hostname value is used for qualification.
45 # If you want unqualified recipient addresses to be qualified with a different
46 # domain to unqualified sender addresses, specify the recipient domain here.
47 # If this option is not set, the qualify_domain value is used.
52 # Specify your local domains as a colon-separated list here. If this option
53 # is not set (i.e. not mentioned in the configuration file), the
54 # qualify_recipient value is used as the only local domain. If you do not want
55 # to do any local deliveries, uncomment the following line, but do not supply
56 # any data for it. This sets local_domains to an empty string, which is not
57 # the same as not mentioning it at all. An empty string specifies that there
58 # are no local domains; not setting it at all causes the default value (the
59 # setting of qualify_recipient) to be used.
64 # If you want to accept mail addressed to your host's literal IP address, for
65 # example, mail addressed to "user@[111.111.111.111]", then uncomment the
66 # following line, or supply the literal domain(s) as part of "local_domains"
69 # local_domains_include_host_literals
72 # No local deliveries will ever be run under the uids of these users (a colon-
73 # separated list). An attempt to do so gets changed so that it runs under the
74 # uid of "nobody" instead. This is a paranoic safety catch. Note the default
75 # setting means you cannot deliver mail addressed to root as if it were a
76 # normal user. This isn't usually a problem, as most sites have an alias for
77 # root that redirects such mail to a human administrator.
82 # The use of your host as a mail relay by any host, including the local host
83 # calling its own SMTP port, is locked out by default. If you want to permit
84 # relaying from the local host, you should set
86 host_accept_relay = localhost
88 # If you want to permit relaying through your host from certain hosts or IP
89 # networks, you need to set the option appropriately, for example
91 # host_accept_relay = my.friends.host : 131.111.0.0/16
93 # If you are an MX backup or gateway of some kind for some domains, you must
94 # set relay_domains to match those domains. This will allow any host to
95 # relay through your host to those domains.
97 # See the section of the manual entitled "Control of relaying" for more
101 # The setting below causes Exim to do a reverse DNS lookup on all incoming
102 # IP calls, in order to get the true host name. If you feel this is too
103 # expensive, you can specify the networks for which a lookup is done, or
104 # remove the setting entirely.
106 host_lookup = 0.0.0.0/0
109 # By default, Exim expects all envelope addresses to be fully qualified, that
110 # is, they must contain both a local part and a domain. If you want to accept
111 # unqualified addresses (just a local part) from certain hosts, you can specify
112 # these hosts by setting one or both of
114 # receiver_unqualified_hosts =
115 # sender_unqualified_hosts =
117 # to control sender and receiver addresses, respectively. When this is done,
118 # unqualified addresses are qualified using the settings of qualify_domain
119 # and/or qualify_recipient (see above).
122 # Exim contains support for the Realtime Blocking List (RBL) that is being
123 # maintained as part of the DNS. See http://maps.vix.com/rbl/ for background.
124 # Uncommenting the first line below will make Exim reject mail from any
125 # host whose IP address is blacklisted in the RBL at maps.vix.com. Some
126 # others have followed the RBL lead and have produced other lists: DUL is
127 # a list of dial-up addresses, and ORBS is a list of open relay systems. The
128 # second line below checks all three lists.
130 # rbl_domains = rbl.maps.vix.com
131 # rbl_domains = rbl.maps.vix.com:dul.maps.vix.com:relays.orbs.org
134 # If you want Exim to support the "percent hack" for all your local domains,
135 # uncomment the following line. This is the feature by which mail addressed
136 # to x%y@z (where z is one of your local domains) is locally rerouted to
137 # x@y and sent on. Otherwise x%y is treated as an ordinary local part.
139 # percent_hack_domains = *
142 # This emulates sendmails "newaliases". Keep in mind that the alias
143 # transport does use lsearch by default. remember to change this,
144 # if you want to use DBM-Lookups.
146 bi_command=/usr/bin/newaliases
152 ######################################################################
153 # TRANSPORTS CONFIGURATION #
154 ######################################################################
155 # ORDER DOES NOT MATTER #
156 # Only one appropriate transport is called for each delivery. #
157 ######################################################################
159 # A transport is used only when referenced from a director or a router that
160 # successfully handles an address.
163 # This transport is used for delivering messages over SMTP connections.
169 # This transport is used for local delivery to user mailboxes. By default
170 # it will be run under the uid and gid of the local user, and requires
171 # the sticky bit to be set on the /var/mail directory. Some systems use
172 # the alternative approach of running mail deliveries under a particular
173 # group instead of using the sticky bit. The commented options below show
174 # how this can be done.
176 # Modification by Florian Wallner <wallner@speed-link.de> make use of
177 # procmail as director if a user has a .procmailrc to avoid breaking
178 # something that worked before.
182 command = "/usr/bin/procmail -d ${local_part}"
186 # check_string = "From "
187 # escape_string = ">From "
190 # group = $local_part
194 # file = /var/mail/${local_part}
195 file = ${home}/Mail/Mailbox
203 # This transport is used for handling pipe deliveries generated by alias
204 # or .forward files. If the pipe generates any standard output, it is returned
205 # to the sender of the message as a delivery error. Set return_fail_output
206 # instead of return_output if you want this to happen only when the pipe fails
207 # to complete normally. You can set different transports for aliases and
208 # forwards if you want to - see the references to address_pipe below.
215 # This transport is used for handling deliveries directly to files that are
216 # generated by aliassing or forwarding.
225 # This transport is used for handling autoreplies generated by the filtering
226 # option of the forwardfile director.
236 ######################################################################
237 # DIRECTORS CONFIGURATION #
238 # Specifies how local addresses are handled #
239 ######################################################################
240 # ORDER DOES MATTER #
241 # A local address is passed to each in turn until it is accepted. #
242 ######################################################################
244 # Local addresses are those with a domain that matches some item in the
245 # "local_domains" setting above, or those which are passed back from the
246 # routers because of a "self=local" setting (not used in this configuration).
249 # This director handles aliasing using a traditional /etc/aliases file.
250 # If any of your aliases expand to pipes or files, you will need to set
251 # up a user and a group for these deliveries to run under. You can do
252 # this by uncommenting the "user" option below (changing the user name
253 # as appropriate) and adding a "group" option if necessary. Alternatively, you
254 # can specify "user" on the transports that are used. Note that those
255 # listed below are the same as are used for .forward files; you might want
256 # to set up different ones for pipe and file deliveries from aliases.
258 # Modification by Florian Wallner <wallner@speed-link.de> use dbm
259 # lookups for aliases to speed up and simulate Sendmail behaviour
264 file = /var/spool/exim/db/aliases
267 file_transport = address_file
268 pipe_transport = address_pipe
272 # file = /etc/aliases
273 # search_type = lsearch
275 # file_transport = address_file
276 # pipe_transport = address_pipe
279 # This director handles forwarding using traditional .forward files.
280 # If you want it also to allow mail filtering when a forward file
281 # starts with the string "# Exim filter", uncomment the "filter" option.
282 # The check_ancestor option means that if the forward file generates an
283 # address that is an ancestor of the current one, the current one gets
284 # passed on instead. This covers the case where A is aliased to B and B
285 # has a .forward file pointing to A. The three transports specified at the
286 # end are those that are used when forwarding generates a direct delivery
287 # to a file, or to a pipe, or sets up an auto-reply, respectively.
296 file_transport = address_file
297 pipe_transport = address_pipe
298 reply_transport = address_reply
301 # This director matches local user mailboxes.
303 # Modification by Florian Wallner <wallner@speed-link.de> make use of
304 # procmail as director if a user has a .procmailrc to avoid breaking
305 # something that worked before.
309 require_files = ${local_part}:${home}/.procmailrc
314 transport = local_delivery
321 ######################################################################
322 # ROUTERS CONFIGURATION #
323 # Specifies how remote addresses are handled #
324 ######################################################################
325 # ORDER DOES MATTER #
326 # A remote address is passed to each in turn until it is accepted. #
327 ######################################################################
329 # Remote addresses are those with a domain that does not match any item
330 # in the "local_domains" setting above.
333 # This router routes to remote hosts over SMTP using a DNS lookup with
338 transport = remote_smtp
341 # This router routes to remote hosts over SMTP by explicit IP address,
342 # given as a "domain literal" in the form [nnn.nnn.nnn.nnn]. The RFCs
343 # require this facility, which is why it is enabled by default in Exim.
344 # If you want to lock it out, set forbid_domain_literals in the main
345 # configuration section above.
349 transport = remote_smtp
356 ######################################################################
357 # RETRY CONFIGURATION #
358 ######################################################################
360 # This single retry rule applies to all domains and all errors. It specifies
361 # retries every 15 minutes for 2 hours, then increasing retry intervals,
362 # starting at 1 hour and increasing each time by a factor of 1.5, up to 16
363 # hours, then retries every 8 hours until 4 days have passed since the first
366 # Domain Error Retries
367 # ------ ----- -------
369 * * F,2h,15m; G,16h,1h,1.5; F,4d,8h
375 ######################################################################
376 # REWRITE CONFIGURATION #
377 ######################################################################
379 # There are no rewriting specifications in this default configuration file.
381 # End of Exim configuration file