1 From: Andromeda <andromeda@htmlworkshop.com>
2 Date: Sun, 15 Nov 1998 23:24:10 +0200 (original)
3 Date: Wed, 14 Jul 1999 21:42:18 +0200 (small modification)
5 Herewith my configuration:
7 ######################################################################
8 # Runtime configuration file for Exim #
9 ######################################################################
12 # This is a default configuration file which will operate correctly in
13 # uncomplicated installations. Please see the manual for a complete list
14 # of all the runtime configuration options.
17 # This file is divided into several parts, all but the last of which are
18 # terminated by a line containing the word "end". The parts must appear
19 # in the correct order, and all must be present (even if some of them are
20 # in fact empty). Blank lines, and lines starting with # are ignored.
22 deliver_load_max = 5.0
23 return_size_limit = 10k
25 message_filter_user = exim
27 exim_path = /usr/exim/bin/exim
29 # Let's fix this gecos thing -- Siviwe (28/06/97)
30 gecos_pattern="([^,]*)"
33 # implement complete sender and recipient verification, including fixups.
40 # allow IP addresses to connect
45 # implement some anti-spam (RBL) - Andromeda 27/02/98
47 rbl_domains = rbl.maps.vix.com
50 # implement virtual domain mail relay - Andromeda 6/10/98
52 sender_address_relay = "partial-lsearch;/usr/exim/local/localdomains"
54 # implement customised SMTP welcome banner - Andromeda 10/11/98
56 smtp_banner = "Welcome! This system does not accept Unsolicited \
57 Commercial Email and will\nblacklist offenders through RBL and our \
58 internal list. Have a nice day!\n\n${primary_hostname} ESMTP Exim \
59 ${version_number} ${tod_full}"
61 # implement sender blacklisting using rejection lists - Andromeda 11/11/98
62 # also implement a feedback mechanism for un-blacklisting
64 sender_reject_recipients = "@@lsearch;/usr/exim/local/blacklist"
65 recipients_reject_except = "@@lsearch;/usr/exim/local/blacklist-except"
67 sender_host_reject_recipients = "+allow_unknown: \
68 lsearch;/usr/exim/local/hosts-blacklist"
70 # future implementations for specific spamming hosts and nets
72 #sender_host_reject_except = "/usr/exim/local/hosts-except"
73 #sender_net_reject_except = /usr/exim/local/nets-except
76 # implement customised SMTP error rejection messages
79 "$prohibition_reason|${lookup{$prohibition_reason}lsearch\
80 {/usr/exim/reject.messages}{$value}}"
82 ######################################################################
83 # MAIN CONFIGURATION SETTINGS #
84 ######################################################################
86 # Specify your host's canonical name here. If this option is not set, the
87 # uname() function is called to obtain the name.
91 # Specify the domain you want to be added to all unqualified addresses
92 # here. If this option is not set, the primary_hostname value is used.
93 qualify_domain = eons.net
95 # If you want unqualified recipient addresses to be qualified with a different
96 # domain to unqualified sender addresses, specify the recipient domain here.
97 # If this option is not set, the qualify_domain value is used.
101 # Specify your local domains as a colon-separated list here. If this option
102 # is not set, the qualify_recipient value is used as the only local domain.
103 # If you do not want to do any local deliveries, uncomment the following line,
104 # but do not supply any data for it.
106 local_domains = "eons.net:fusion.eons.net:mail.eons.net:\
107 lsearch;/usr/exim/aliases/domains"
109 # No local deliveries will ever be run under the uids of these users.
113 # If you are running Exim under its own uid (recommended), then you should
114 # set up that uid as a trusted user by de-commenting the following and
115 # changing the name if necessary.
117 trusted_users = exim:majordom
123 ######################################################################
124 # TRANPORTS CONFIGURATION #
125 ######################################################################
127 # This transport is used for local delivery to user mailboxes.
131 file = /var/spool/mail/${local_part}
133 # This transport is used for handling pipe addresses generated by alias
134 # or .forward files. It has a conventional name, since it is not actually
135 # mentioned elsewhere in this configuration file.
143 # This transport is used for handling file addresses generated by alias
144 # or .forward files. It has a conventional name, since it is not actually
145 # mentioned elsewhere in this configuration file.
151 # This transport is used for handling autoreplies generated by the filtering
152 # option of the forwardfile director. It has a conventional name, since it
153 # is not actually mentioned elsewhere in this configuration file.
158 # This transport is used for delivering messages over SMTP connections.
167 ######################################################################
168 # DIRECTORS CONFIGURATION #
169 ######################################################################
171 # This director handles aliasing using a traditional /etc/aliases file.
174 except_domains = "lsearch;/usr/exim/aliases/domains"
177 search_type = lsearch
179 # This director handles forwarding using traditional .forward files.
180 # If you want it also to allow mail filtering when a forward file
181 # starts with the string "# Exim filter", uncomment the "filter" option.
182 # Note the except_domains part - needed for the virtual hosts...
185 except_domains = "lsearch;/usr/exim/aliases/domains"
187 driver = forwardfile;
191 # This director matches local user mailboxes.
194 except_domains = "lsearch;/usr/exim/aliases/domains"
196 transport = local_delivery;
198 # This director matches local virtual hosts
201 domains = "lsearch;/usr/exim/aliases/domains",
204 file = /usr/exim/aliases/$domain-aliases,
205 search_type = lsearch*@
211 ######################################################################
212 # ROUTERS CONFIGURATION #
213 ######################################################################
216 # driver = domainlist,
220 # This router routes to remote hosts over SMTP using a DNS lookup with
227 # This router routes to remote hosts over SMTP by explicit IP address,
228 # given as a "domain literal" in the form [nnn.nnn.nnn.nnn]. The RFCs
229 # require this facility, which is why it is enabled by default in Exim.
230 # If you want to lock it out, set forbid_domain_literals in the main
231 # configuration section above.
241 ######################################################################
242 # RETRY CONFIGURATION #
243 ######################################################################
245 # This single retry rule applies to all domains and all errors. It specifies
246 # retries every 2 minutes for 2 hours, then increasing retry intervals,
247 # starting at 2 hours and increasing each time by a factor of 1.5, up to 16
248 # hours, then retries every 8 hours until 4 days have passed since the first
251 # Domain Error Retries
252 # ------ ----- -------
254 * * F,2h,2m; G,16h,2h,1.5; F,4d,8h
260 ######################################################################
261 # REWRITE CONFIGURATION #
262 ######################################################################
263 # <source pattern> <replacement> <flags>
265 # End of Andromeda Exim configuration file