1 # Exim test configuration 0024
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
13 # ----- Main settings -----
15 domainlist local_domains = test.ex
16 domainlist relay_domains = ten-1.test.ex
18 hostlist relay_hosts = V4NET.255.255.0/24
20 trusted_users = CALLER
22 acl_smtp_rcpt = acl_rcpt
31 accept domains = +local_domains
32 local_parts = postmaster
34 require verify = sender
36 deny message = rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text
37 dnslists = rbl.test.ex
39 warn message = X-Warning: $sender_host_address is in a black list at $dnslist_domain ($dnslist_value)
40 log_message = found in $dnslist_domain
41 dnslists = rbl2.test.ex
43 accept domains = +local_domains
47 require verify = recipient
49 accept domains = +relay_domains
51 accept hosts = 127.0.0.1 : +relay_hosts
53 accept authenticated = *
55 deny message = relay not permitted
58 # ------ Routers ------
64 domains = ! +local_domains
70 local_parts = userx : postmaster
71 transport = local_delivery
72 cannot_route_message = unknown user
75 # ------ Transports ------
86 file = DIR/test-mail/$local_part