1 # Exim test configuration 3411
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
10 gecos_name = CALLER_NAME
12 # ----- Main settings -----
14 domainlist local_domains = test.ex
15 domainlist relay_domains = ten-1.test.ex
17 hostlist relay_hosts = 10.255.255.0/24
19 trusted_users = CALLER
21 acl_smtp_rcpt = acl_rcpt
30 accept domains = +local_domains
31 local_parts = postmaster
33 require verify = sender
35 deny message = rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text
36 dnslists = rbl.test.ex
38 warn message = X-Warning: $sender_host_address is in a black list at $dnslist_domain ($dnslist_value)
39 log_message = found in $dnslist_domain
40 dnslists = rbl2.test.ex
42 accept domains = +local_domains
46 require verify = recipient
48 accept domains = +relay_domains
50 accept hosts = 127.0.0.1 : +relay_hosts
52 accept authenticated = *
54 deny message = relay not permitted
57 # ------ Authenticators ------
64 server_condition = ${if eq {$3}{secret}{yes}{no}}
67 # ------ Routers ------
73 domains = ! +local_domains
79 local_parts = userx : postmaster
80 transport = local_delivery
81 cannot_route_message = unknown user
84 # ------ Transports ------
95 file = DIR/test-mail/$local_part