1 # Exim test configuration 3411
3 .include DIR/aux-var/std_conf_prefix
5 primary_hostname = myhost.test.ex
7 # ----- Main settings -----
9 domainlist local_domains = test.ex
10 domainlist relay_domains = ten-1.test.ex
12 hostlist relay_hosts = 10.255.255.0/24
14 trusted_users = CALLER
16 acl_smtp_rcpt = acl_rcpt
25 accept domains = +local_domains
26 local_parts = postmaster
28 require verify = sender
30 deny message = rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text
31 dnslists = rbl.test.ex
33 warn message = X-Warning: $sender_host_address is in a black list at $dnslist_domain ($dnslist_value)
34 log_message = found in $dnslist_domain
35 dnslists = rbl2.test.ex
37 accept domains = +local_domains
41 require verify = recipient
43 accept domains = +relay_domains
45 accept hosts = 127.0.0.1 : +relay_hosts
47 accept authenticated = *
49 deny message = relay not permitted
52 # ------ Authenticators ------
59 server_condition = ${if eq {$3}{secret}{yes}{no}}
62 # ------ Routers ------
68 domains = ! +local_domains
74 local_parts = userx : postmaster
75 transport = local_delivery
76 cannot_route_message = unknown user
79 # ------ Transports ------
90 file = DIR/test-mail/$local_part