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