1 # Exim test configuration 0024
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
10 gecos_name = CALLER_NAME
12 # ----- Main settings -----
14 domainlist local_domains = test.ex
15 domainlist relay_domains = ten-1.test.ex
17 hostlist relay_hosts = V4NET.255.255.0/24
19 trusted_users = CALLER
21 acl_smtp_rcpt = acl_rcpt
30 accept domains = +local_domains
31 local_parts = postmaster
33 require verify = sender
35 deny message = rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text
36 dnslists = rbl.test.ex
38 warn message = X-Warning: $sender_host_address is in a black list at $dnslist_domain ($dnslist_value)
39 log_message = found in $dnslist_domain
40 dnslists = rbl2.test.ex
42 accept domains = +local_domains
46 require verify = recipient
48 accept domains = +relay_domains
50 accept hosts = 127.0.0.1 : +relay_hosts
52 accept authenticated = *
54 deny message = relay not permitted
57 # ------ Routers ------
63 domains = ! +local_domains
69 local_parts = userx : postmaster
70 transport = local_delivery
71 cannot_route_message = unknown user
74 # ------ Transports ------
85 file = DIR/test-mail/$local_part