Fix CVE-2016-1531
[exim.git] / test / confs / 0428
1 # Exim test configuration 0428
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
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 primary_hostname = mail.test.ex
15 qualify_domain = test.ex
16 trusted_users = CALLER
17
18 # ----- Routers -----
19
20 begin routers
21
22 rb:
23   driver = accept
24   senders = :
25   transport = t2
26
27 r0:
28   driver = redirect
29   local_parts = redirected
30   allow_filter
31   user = CALLER
32   file_transport = t1
33   data = "#Sieve filter\n keep;"
34
35 r1:
36   driver = redirect
37   local_parts = ^restrict-
38   allow_filter
39   forbid_file
40   skip_syntax_errors
41   data = "#Sieve filter\n$h_filter:"
42   user = CALLER
43   file_transport = t1
44
45 r2:
46   driver = redirect
47   local_part_suffix = -*
48   local_part_suffix_optional
49   allow_filter
50   data = "#Sieve filter\n$h_filter:"
51   user = CALLER
52   file_transport = t1
53   reply_transport = t3
54   sieve_vacation_directory = DIR/test-vacation-directory
55
56
57 # ----- Transports -----
58
59 begin transports
60
61 t1:
62   driver = appendfile
63   file = ${if eq{$address_file}{inbox} \
64               {DIR/test-mail/$local_part} \
65               {${if eq{${substr_0_1:$address_file}}{/} \
66                     {$address_file} \
67                     {DIR/test-mail/$address_file} \
68               }} \
69          }
70   delivery_date_add
71   envelope_to_add
72   return_path_add
73   user = CALLER
74
75 t2:
76   driver = appendfile
77   file = DIR/test-mail/$local_part
78   delivery_date_add
79   envelope_to_add
80   return_path_add
81   user = CALLER
82
83 t3:
84   driver = autoreply
85
86 # End