Fix CVE-2016-1531
[exim.git] / test / confs / 0103
1 # Exim test configuration 0103
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
11
12 # ----- Main settings -----
13
14 domainlist local_domains = test.ex : special
15 log_selector = +all_parents
16 qualify_domain = test.ex
17
18
19 # ----- Rewrite -----
20
21 begin rewrite
22
23 \N^WAS...@x\.y\.zwas$   rewritten@x.y.z
24
25
26 # ----- Routers -----
27
28 begin routers
29
30 special:
31   driver = redirect
32   allow_defer
33   allow_fail
34   data = $local_part
35   domains = special
36   retry_use_local_part
37
38 accept:
39   driver = accept
40   local_parts = CALLER : wasabcwas : rewritten
41   retry_use_local_part
42   transport = appendfile
43
44 test_no_rewrite:
45   driver = redirect
46   data = WAS${local_part}WAS
47   local_parts = abc@x.y.z
48   no_rewrite
49
50 test_rewrite:
51   driver = redirect
52   data = WAS${local_part}WAS
53   local_parts = xyz@x.y.z
54
55
56 # ----- Transports -----
57
58 begin transports
59
60 appendfile:
61   driver = appendfile
62   file = DIR/test-mail/$local_part
63   user = CALLER
64
65
66 # ----- Retry -----
67
68 begin retry
69
70 * * F,5d,1d
71
72 # End