Testsuite: sort output of retry DB dumps
[users/jgh/exim.git] / test / confs / 0307
1 # Exim test configuration 0307
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 acl_smtp_rcpt = accept
14 trusted_users = CALLER
15
16
17 # ------ Routers ------
18
19 begin routers
20
21 r1:
22   driver = redirect
23   domains = lists.test.ex
24   local_part_suffix = -request
25   local_part_suffix_optional
26   senders = ${if eq {$local_part_suffix}{-request}{*}\
27             {\
28             ${if exists {DIR/aux-fixed/TESTNUM/$local_part}\
29              {lsearch;DIR/aux-fixed/TESTNUM/$local_part}{*}}\
30             }}
31   file = DIR/aux-fixed/TESTNUM/$local_part$local_part_suffix
32   forbid_pipe
33   forbid_file
34   one_time
35   skip_syntax_errors
36   errors_to = $local_part-request@lists.test.ex
37   syntax_errors_to = $local_part-request@lists.test.ex
38
39 r2:
40   driver = redirect
41   domains = lists.test.ex
42   allow_fail
43   data = :fail: $local_part@lists.test.ex is a closed mailing list
44
45 r3:
46   driver = accept
47   senders = :
48   transport = t1
49
50 r4:
51   driver = accept
52   transport = t2
53
54
55 # ------ Transports ------
56
57 begin transports
58
59 t1:
60   driver = appendfile
61   file = DIR/test-mail/$local_part
62   user = CALLER
63
64 t2:
65   driver = appendfile
66   file = /dev/null
67   user = CALLER
68
69 # End