Fix CVE-2016-1531
[users/jgh/exim.git] / test / confs / 0043
1 # Exim test configuration 0043
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
11
12 # ----- Main settings -----
13
14 domainlist local_domains = exim.test.ex
15
16 acl_smtp_rcpt = check_recipient
17 log_selector = +smtp_incomplete_transaction
18 qualify_domain = exim.test.ex
19
20
21 # ----- ACL -----
22
23 begin acl
24
25 check_recipient:
26   accept  hosts = :
27   require verify = sender
28   deny    message = unrouteable address
29          !verify = recipient
30   accept  domains = +local_domains
31   deny    message = relay not permitted
32
33
34
35 # ----- Routers -----
36
37 begin routers
38
39 fail_remote_domains:
40   driver = redirect
41   domains = ! +local_domains
42   data = :fail: unrouteable mail domain "$domain"
43
44 system_aliases:
45   driver = redirect
46   allow_defer
47   allow_fail
48   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
49   retry_use_local_part
50
51 localuser:
52   driver = accept
53   local_parts = userx
54   transport = local_delivery
55
56
57 # ----- Transports -----
58
59 begin transports
60
61 local_delivery:
62   driver = appendfile
63   delivery_date_add
64   envelope_to_add
65   file = DIR/test-mail/$local_part
66   return_path_add
67   user = CALLER
68
69 # End