1 # Exim test configuration 0024
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 = V4NET.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 # ------ Routers ------
58 domains = ! +local_domains
64 local_parts = userx : postmaster
65 transport = local_delivery
66 cannot_route_message = unknown user
69 # ------ Transports ------
80 file = DIR/test-mail/$local_part