a65b9ed65d8851af22fa2073f0bf2d0741f984da
[users/jgh/exim.git] / test / confs / 0167
1 # Exim test configuration 0167
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 qualify_domain = test.ex
9 trusted_users = CALLER
10
11
12 # ----- Rewrite -----
13
14 begin rewrite
15
16 error@*  <>
17
18 *@*  "${if eq {$local_part}{remove}{<>}fail}" F
19
20
21 # ----- Routers -----
22
23 begin routers
24
25 user:
26   driver = accept
27   retry_use_local_part
28   transport = local_delivery
29
30
31 # ----- Transports -----
32
33 begin transports
34
35 local_delivery:
36   driver = appendfile
37   envelope_to_add
38   file = DIR/test-mail/$local_part
39   return_path = ${if eq{$return_path}{trakill@test.ex}{}fail}
40   return_path_add
41   user = CALLER
42
43 # End