Fix CVE-2016-1531
[users/jgh/exim.git] / test / confs / 0080
1 # Exim test configuration 0080
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 acl_smtp_rcpt = check_recipient
16
17 qualify_domain = exim.test.ex
18
19
20 # ------ ACL -------
21
22 begin acl
23
24 check_recipient:
25   accept  recipients = postmaster@exim.test.ex
26   deny    message = host is listed in $dnslist_domain
27           dnslists = rbl.test.ex:rbl2.test.ex
28   require verify = sender
29   deny    message = unrouteable address
30          !verify = recipient
31   accept  domains = +local_domains
32   deny    message = relay not permitted
33
34
35 # ----- Routers -----
36
37 begin routers
38
39 system_aliases:
40   driver = redirect
41   allow_defer
42   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
43   retry_use_local_part
44
45 localuser:
46   driver = accept
47   local_parts = userx
48   transport = local_delivery
49
50
51 # ----- Transports -----
52
53 begin transports
54
55 local_delivery:
56   driver = appendfile
57   delivery_date_add
58   envelope_to_add
59   file = DIR/test-mail/$local_part
60   return_path_add
61   user = CALLER
62
63 # End