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