appendfile: taint-enforce file & directory options
[exim.git] / test / confs / 0485
CommitLineData
afda344b
PH
1# Exim test configuration 0485
2
d4dc049f
JH
3.include DIR/aux-var/std_conf_prefix
4
afda344b 5primary_hostname = myhost.test.ex
afda344b
PH
6
7# ----- Main settings -----
8
9hostlist ahosts = net-lsearch;DIR/aux-fixed/TESTNUM.data
10hostlist bhosts = net-lsearch;DIR/aux-fixed/TESTNUM.data2
11
12acl_smtp_helo = acl_check_helo
13acl_smtp_mail = acl_check_mail
14acl_smtp_rcpt = acl_check_rcpt
15trusted_users = CALLER
16
17
18# ----- ACLs -----
19
20begin acl
21
22acl_check_helo:
23 warn hosts = +ahosts
24 logwrite = at HELO: >$host_data<
25 accept
26
27acl_check_mail:
28 warn logwrite = at MAIL: >$host_data<
29 warn senders = third@non-null
30 logwrite = other lookup at MAIL: ${lookup{xyz}lsearch{DIR/aux-fixed/TESTNUM.data3}}
31 warn !senders = :
32 hosts = +bhosts
33 logwrite = at MAIL (non-null): >$host_data<
34 accept
35
36acl_check_rcpt:
37 warn logwrite = at RCPT: >$host_data<
38 warn logwrite = Expansions: $qualify_domain, $local_part@$domain
39 accept
40
41
42# ----- Routers -----
43
44begin routers
45
46r1:
47 driver = accept
48 transport = t1
49
50
51# ----- Transports -----
52
53begin transports
54
55t1:
56 driver = appendfile
0d2e392e 57 file = DIR/test-mail/${bless:$local_part}
afda344b
PH
58 user = CALLER
59
60# End