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