Allow relative file names in .include lines (Closes 1971)
[exim.git] / test / confs / 0307
CommitLineData
37ff4e03 1# Exim test configuration 0307
afda344b 2
4fab92fb
HSHR
3.include DIR/aux-var/std_conf_prefix
4
afda344b 5primary_hostname = myhost.test.ex
afda344b
PH
6
7# ----- Main settings -----
8
9acl_smtp_rcpt = accept
10trusted_users = CALLER
11
12
13# ------ Routers ------
14
15begin routers
16
17r1:
18 driver = redirect
19 domains = lists.test.ex
20 local_part_suffix = -request
21 local_part_suffix_optional
22 senders = ${if eq {$local_part_suffix}{-request}{*}\
23 {\
24 ${if exists {DIR/aux-fixed/TESTNUM/$local_part}\
25 {lsearch;DIR/aux-fixed/TESTNUM/$local_part}{*}}\
26 }}
27 file = DIR/aux-fixed/TESTNUM/$local_part$local_part_suffix
28 forbid_pipe
29 forbid_file
30 one_time
31 skip_syntax_errors
32 errors_to = $local_part-request@lists.test.ex
33 syntax_errors_to = $local_part-request@lists.test.ex
34
35r2:
36 driver = redirect
37 domains = lists.test.ex
38 allow_fail
39 data = :fail: $local_part@lists.test.ex is a closed mailing list
40
41r3:
42 driver = accept
43 senders = :
44 transport = t1
45
46r4:
47 driver = accept
48 transport = t2
49
50
51# ------ Transports ------
52
53begin transports
54
55t1:
56 driver = appendfile
57 file = DIR/test-mail/$local_part
58 user = CALLER
59
60t2:
61 driver = appendfile
62 file = /dev/null
63 user = CALLER
64
65# End