Fix non-TLS build
[users/heiko/exim.git] / test / confs / 0306
1 # Exim test configuration 0306
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 acl_smtp_rcpt = rcpt
10 trusted_users = CALLER
11
12
13 # ------ ACLs ------
14
15 begin acl
16
17 rcpt:
18   accept endpass
19          verify = recipient
20
21
22 # ------ Routers ------
23
24 begin routers
25
26 r1:
27   driver = redirect
28   domains = lists.test.ex
29   local_part_suffix = -request
30   file = DIR/aux-fixed/TESTNUM/${bless:$local_part$local_part_suffix}
31
32 r2:
33   driver = redirect
34   domains = lists.test.ex
35   senders = ${if exists {DIR/aux-fixed/TESTNUM/$local_part}\
36              {lsearch;${bless:DIR/aux-fixed/TESTNUM/$local_part}}{*}}
37   file = DIR/aux-fixed/TESTNUM/${bless:$local_part}
38   forbid_pipe
39   forbid_file
40   one_time
41   skip_syntax_errors
42   errors_to = $local_part-request@lists.test.ex
43   syntax_errors_to = $local_part-request@lists.test.ex
44
45 r3:
46   driver = redirect
47   domains = lists.test.ex
48   allow_fail
49   data = :fail: $local_part@lists.test.ex is a closed mailing list
50
51 r4:
52   driver = accept
53   senders = :
54   transport = t1
55
56 r5:
57   driver = accept
58   transport = t2
59
60
61 # ------ Transports ------
62
63 begin transports
64
65 t1:
66   driver = appendfile
67   file = DIR/test-mail/${bless:$local_part}
68   user = CALLER
69
70 t2:
71   driver = appendfile
72   file = /dev/null
73   user = CALLER
74
75 # End