1 # Exim test configuration 0024
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 = V4NET.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 # ------ Routers ------
62 domains = ! +local_domains
68 local_parts = userx : postmaster
69 transport = local_delivery
70 cannot_route_message = unknown user
73 # ------ Transports ------
84 file = DIR/test-mail/$local_part