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 domains = +local_domains
31 local_parts = ^[.] : ^.*[@%!/|]
32 message = Restricted characters in address
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 # ------ Routers ------
62 domains = ! +local_domains
73 local_parts = userx : postmaster
74 transport = local_delivery
75 cannot_route_message = unknown user
78 # ------ Transports ------
89 file = DIR/test-mail/$local_part
90 create_file = DIR/test-mail