Fix CVE-2016-1531
[exim.git] / test / confs / 0284
1 # Exim test configuration 0284
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 rfc1413_query_timeout = 0s
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 qualify_domain = test.ex
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 all:
23   driver = accept
24   address_data = ${if match{$local_part}{^(.)}{$1}}
25   transport = ${if match{$local_part}{^.*-(.*)\$}{$1}fail}
26
27
28 # ----- Transports -----
29
30 begin transports
31
32 t1:
33   driver = appendfile
34   batch_max = 100
35   file = DIR/test-mail/batched
36   envelope_to_add
37   user = CALLER
38
39 t2:
40   driver = appendfile
41   batch_max = 100
42   file = DIR/test-mail/$local_part
43   envelope_to_add
44   user = CALLER
45
46 t3:
47   driver = appendfile
48   batch_max = 100
49   file = DIR/test-mail/$domain
50   envelope_to_add
51   user = CALLER
52
53 t4:
54   driver = appendfile
55   batch_max = 100
56   batch_id = $address_data
57   file = DIR/test-mail/batched
58   envelope_to_add
59   user = CALLER
60
61 # ----- Retry -----
62
63 begin retry
64
65 * * F,1d,1d
66
67 # End