1 # Exim test configuration 3411
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
9 gecos_name = CALLER_NAME
11 # ----- Main settings -----
13 domainlist local_domains = test.ex
14 domainlist relay_domains = ten-1.test.ex
16 hostlist relay_hosts = 10.255.255.0/24
18 trusted_users = CALLER
20 acl_smtp_rcpt = acl_rcpt
29 accept domains = +local_domains
30 local_parts = postmaster
32 require verify = sender
34 deny message = rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text
35 dnslists = rbl.test.ex
37 warn message = X-Warning: $sender_host_address is in a black list at $dnslist_domain ($dnslist_value)
38 log_message = found in $dnslist_domain
39 dnslists = rbl2.test.ex
41 accept domains = +local_domains
45 require verify = recipient
47 accept domains = +relay_domains
49 accept hosts = 127.0.0.1 : +relay_hosts
51 accept authenticated = *
53 deny message = relay not permitted
56 # ------ Authenticators ------
63 server_condition = ${if eq {$3}{secret}{yes}{no}}
66 # ------ Routers ------
72 domains = ! +local_domains
78 local_parts = userx : postmaster
79 transport = local_delivery
80 cannot_route_message = unknown user
83 # ------ Transports ------
94 file = DIR/test-mail/$local_part