Fix CVE-2016-1531
[exim.git] / test / confs / 0306
CommitLineData
afda344b
PH
1# Exim test configuration 0306
2
3exim_path = EXIM_PATH
bc3c7bb7 4keep_environment =
afda344b
PH
5host_lookup_order = bydns
6primary_hostname = myhost.test.ex
afda344b
PH
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
23f3dc67 11tls_advertise_hosts =
afda344b
PH
12
13# ----- Main settings -----
14
15acl_smtp_rcpt = rcpt
16trusted_users = CALLER
17
18
19# ------ ACLs ------
20
21begin acl
22
23rcpt:
24 accept endpass
25 verify = recipient
26
27
28# ------ Routers ------
29
30begin routers
31
32r1:
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
38r2:
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
51r3:
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
57r4:
58 driver = accept
59 senders = :
60 transport = t1
61
62r5:
63 driver = accept
64 transport = t2
65
66
67# ------ Transports ------
68
69begin transports
70
71t1:
72 driver = appendfile
73 file = DIR/test-mail/$local_part
74 user = CALLER
75
76t2:
77 driver = appendfile
78 file = /dev/null
79 user = CALLER
80
81# End