Fix CVE-2016-1531
[exim.git] / test / confs / 0167
1 # Exim test configuration 0167
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
11 # ----- Main settings -----
12
13 qualify_domain = test.ex
14 trusted_users = CALLER
15
16
17 # ----- Rewrite -----
18
19 begin rewrite
20
21 error@*  <>
22
23 *@*  "${if eq {$local_part}{remove}{<>}fail}" F
24
25
26 # ----- Routers -----
27
28 begin routers
29
30 user:
31   driver = accept
32   retry_use_local_part
33   transport = local_delivery
34
35
36 # ----- Transports -----
37
38 begin transports
39
40 local_delivery:
41   driver = appendfile
42   envelope_to_add
43   file = DIR/test-mail/$local_part
44   return_path = ${if eq{$return_path}{trakill@test.ex}{}fail}
45   return_path_add
46   user = CALLER
47
48 # End