appendfile: taint-enforce file & directory options
[users/jgh/exim.git] / test / confs / 0041
1 # Exim test configuration 0041
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 domainlist local_domains = test.ex
9
10 acl_smtp_vrfy = check_vrfy
11 acl_smtp_expn = check_expn
12 qualify_domain = test.ex
13 no_write_rejectlog
14 recipient_unqualified_hosts = 3.3.3.3
15
16
17 # ----- ACLs -----
18
19 begin acl
20
21 check_vrfy:
22   deny   local_parts = hardfail
23          message = 599 custom reject
24   accept local_parts = acceptable
25   accept local_parts = ok_with_dom
26          domains = test.ex
27
28 check_expn:
29   accept hosts = 2.2.2.2
30
31 # ----- Routers -----
32
33 begin routers
34
35 system_aliases:
36   driver = redirect
37   allow_defer
38   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
39   retry_use_local_part
40
41 localuser:
42   driver = accept
43   local_parts = userx : ok_with_dom : acceptable
44   transport = local_delivery
45
46
47 # ----- Transports -----
48
49 begin transports
50
51 local_delivery:
52   driver = appendfile
53   delivery_date_add
54   envelope_to_add
55   file = DIR/test-mail/${bless:$local_part}
56   return_path_add
57   user = CALLER
58
59
60 # ----- Retry -----
61
62 # End