Testsuite: munge for non-WITH_CONTENT_SCAN builds
[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 = ${lookup {$local_part$local_part_suffix} dsearch,ret=full {DIR/aux-fixed/TESTNUM} {$value}fail}
31
32 r2:
33   driver = redirect
34   domains = lists.test.ex
35   senders = ${if exists {DIR/aux-fixed/TESTNUM/$local_part} \
36              {lsearch;${lookup {$local_part} dsearch,ret=full {DIR/aux-fixed/TESTNUM}}} \
37              {*}}
38   file = ${lookup {$local_part} dsearch,ret=full {DIR/aux-fixed/TESTNUM} {$value}fail}
39   forbid_pipe
40   forbid_file
41   one_time
42   skip_syntax_errors
43   errors_to = $local_part-request@lists.test.ex
44   syntax_errors_to = $local_part-request@lists.test.ex
45
46 r3:
47   driver = redirect
48   domains = lists.test.ex
49   allow_fail
50   data = :fail: $local_part@lists.test.ex is a closed mailing list
51
52 r4:
53   driver = accept
54   senders = :
55   transport = t1
56
57 r5:
58   driver = accept
59   transport = t2
60
61
62 # ------ Transports ------
63
64 begin transports
65
66 t1:
67   driver = appendfile
68   file = DIR/test-mail/$local_part
69   create_file = DIR/test-mail
70   user = CALLER
71
72 t2:
73   driver = appendfile
74   file = /dev/null
75   user = CALLER
76
77 # End