Fix post-transport-crash.
[exim.git] / test / confs / 0167
1 # Exim test configuration 0167
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9
10 # ----- Main settings -----
11
12 qualify_domain = test.ex
13 trusted_users = CALLER
14
15
16 # ----- Rewrite -----
17
18 begin rewrite
19
20 error@*  <>
21
22 *@*  "${if eq {$local_part}{remove}{<>}fail}" F
23
24
25 # ----- Routers -----
26
27 begin routers
28
29 user:
30   driver = accept
31   retry_use_local_part
32   transport = local_delivery
33
34
35 # ----- Transports -----
36
37 begin transports
38
39 local_delivery:
40   driver = appendfile
41   envelope_to_add
42   file = DIR/test-mail/$local_part
43   return_path = ${if eq{$return_path}{trakill@test.ex}{}fail}
44   return_path_add
45   user = CALLER
46
47 # End