Initial import
[hcoop/zz_old/config/exim4-hopper.git] / conf.d / main / 02_exim4-config_options
1
2 ### main/02_exim4-config_options
3 #################################
4
5
6 # Defines the access control list that is run when an
7 # SMTP RCPT command is received.
8 #
9 .ifndef MAIN_ACL_CHECK_RCPT
10 MAIN_ACL_CHECK_RCPT = acl_check_rcpt
11 .endif
12 acl_smtp_rcpt = MAIN_ACL_CHECK_RCPT
13
14
15 # Defines the access control list that is run when an
16 # SMTP DATA command is received.
17 #
18 .ifndef MAIN_ACL_CHECK_DATA
19 MAIN_ACL_CHECK_DATA = acl_check_data
20 .endif
21 acl_smtp_data = MAIN_ACL_CHECK_DATA
22
23
24 # Message size limit. The default (used when MESSAGE_SIZE_LIMIT
25 # is unset) is 50 MB
26 .ifdef MESSAGE_SIZE_LIMIT
27 message_size_limit = MESSAGE_SIZE_LIMIT
28 .endif
29
30
31 # Domain used to qualify unqualified recipient addresses
32 # If this option is not set, the qualify_domain value is used.
33 # qualify_recipient = <value of qualify_domain>
34
35
36 # Allow Exim to recognize addresses of the form "user@[10.11.12.13]",
37 # where the domain part is a "domain literal" (an IP address) instead
38 # of a named domain. The RFCs require this facility, but it is disabled
39 # in the default config since it is seldomly used and frequently abused.
40 # Domain literal support also needs a special router, which is automatically
41 # enabled if you use the enable macro MAIN_ALLOW_DOMAIN_LITERALS.
42 .ifdef MAIN_ALLOW_DOMAIN_LITERALS
43 allow_domain_literals
44 .endif
45
46
47 # Do a reverse DNS lookup on all incoming IP calls, in order to get the
48 # true host name. If you feel this is too expensive, the networks for
49 # which a lookup is done can be listed here.
50 .ifndef DC_minimaldns
51 .ifndef MAIN_HOST_LOOKUP
52 MAIN_HOST_LOOKUP = *
53 .endif
54 host_lookup = MAIN_HOST_LOOKUP
55 .endif
56
57
58 # In a minimaldns setup, update-exim4.conf guesses the hostname and
59 # dumps it here to avoid DNS lookups being done at Exim run time.
60 DEBCONF_hardcode_primary_hostname_DEBCONF
61
62
63 # Do RFC 1413 (ident) callbacks for incoming SMTP calls. The default
64 # is to do lookups for all hosts with a timeout of 30 seconds.
65 # The options can be used to limit the hosts to which these calls are
66 # made, and/or change the timeout that is used. If the timeout is zero,
67 # no RFC 1413 calls are made. RFC 1413 calls are cheap and can provide
68 # useful information for tracing problem messages, but some hosts and
69 # firewalls are misconfigured to drop the requests instead of either
70 # answering or rejecting them. This can result in timeouts, leading to
71 # delays on starting up an SMTP session and to strange behavior in
72 # settings where SMTP callouts are used.
73 # rfc1413_hosts = *
74 # rfc1413_query_timeout = 30s
75
76
77 # By default, exim forces a Sender: header containing the local
78 # account name at the local host name in all locally submitted messages
79 # that don't have the local account name at the local host name in the
80 # From: header, deletes any Sender: header present in the submitted
81 # message and forces the envelope sender of all locally submitted
82 # messages to the local account name at the local host name.
83 # The following settings allow local users to specify their own envelope sender
84 # in a locally submitted message. Sender: headers existing in a locally
85 # submitted message are not removed, and no automatic Sender: headers
86 # are added. These settings are fine for most hosts.
87 # If you run exim on a classical multi-user systems where all users
88 # have local mailboxes that can be reached via SMTP from the Internet
89 # with the local FQDN as the domain part of the address, you might want
90 # to disable the following three lines for traceability reasons.
91 .ifndef MAIN_FORCE_SENDER
92 local_from_check = false
93 local_sender_retain = true
94 untrusted_set_sender = *
95 .endif
96
97
98 # By default, Exim expects all envelope addresses to be fully qualified, that
99 # is, they must contain both a local part and a domain. Configure exim
100 # to accept unqualified addresses from certain hosts. When this is done,
101 # unqualified addresses are qualified using the settings of qualify_domain
102 # and/or qualify_recipient (see above).
103 # sender_unqualified_hosts = <unset>
104 # recipient_unqualified_hosts = <unset>
105
106
107 # Configure Exim to support the "percent hack" for certain domains.
108 # The "percent hack" is the feature by which mail addressed to x%y@z
109 # (where z is one of the domains listed) is locally rerouted to x@y
110 # and sent on. If z is not one of the "percent hack" domains, x%y is
111 # treated as an ordinary local part. The percent hack is rarely needed
112 # nowadays but frequently abused. You should not enable it unless you
113 # are sure that you really need it.
114 # percent_hack_domains = <unset>
115
116
117 # Bounce handling
118 .ifndef MAIN_IGNORE_BOUNCE_ERRORS_AFTER
119 MAIN_IGNORE_BOUNCE_ERRORS_AFTER = 2d
120 .endif
121 ignore_bounce_errors_after = MAIN_IGNORE_BOUNCE_ERRORS_AFTER
122
123 .ifndef MAIN_TIMEOUT_FROZEN_AFTER
124 MAIN_TIMEOUT_FROZEN_AFTER = 7d
125 .endif
126 timeout_frozen_after = MAIN_TIMEOUT_FROZEN_AFTER
127
128 .ifndef MAIN_FREEZE_TELL
129 MAIN_FREEZE_TELL = postmaster
130 .endif
131 freeze_tell = MAIN_FREEZE_TELL
132
133
134 # Define spool directory
135 .ifndef SPOOLDIR
136 SPOOLDIR = /var/spool/exim4
137 .endif
138 spool_directory = SPOOLDIR
139
140
141 # trusted users can set envelope-from to arbitrary values
142 .ifndef MAIN_TRUSTED_USERS
143 MAIN_TRUSTED_USERS = uucp
144 .endif
145 trusted_users = MAIN_TRUSTED_USERS
146 .ifdef MAIN_TRUSTED_GROUPS
147 trusted_groups = MAIN_TRUSTED_GROUPS
148 .endif
149
150
151 # users in admin group can do many other things
152 # admin_groups = <unset>
153
154
155 # customize logging. See spec.txt 48.15.
156 # If you want to debug, it is probably a good idea to set this to
157 # "+all -subject -arguments".
158 # If you use TLS, it might be a good idea to set "+tls_cipher
159 # +tls_peerdn".
160 # log_selector = <unset>
161
162
163 # SMTP Banner. The example includes the Debian version in the SMTP dialog
164 # MAIN_SMTP_BANNER = "${primary_hostname} ESMTP Exim ${version_number} (Debian package DEBCONFpackageversionDEBCONF) ${tod_full}"
165 # smtp_banner = $smtp_active_hostname ESMTP Exim $version_number $tod_full