Cutthrough: Reflect 5xx recipient reject from target to originator
[users/heiko/exim.git] / test / confs / 0237
1 # Exim test configuration 0237
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 : *.test.ex
15 qualify_domain = test.ex
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 bounces:
23   driver = accept
24   caseful_local_part
25   retry_use_local_part
26   senders = :
27   transport = local_delivery
28
29 notallowed:
30   driver = redirect
31   allow_defer
32   caseful_local_part
33   data = $local_part
34   domains = no.test.ex
35   forbid_file
36   forbid_pipe
37   hide_child_in_errmsg
38   retry_use_local_part
39
40 allowed:
41   driver = redirect
42   allow_defer
43   caseful_local_part
44   data = $local_part
45   file_transport = address_file
46   hide_child_in_errmsg
47   pipe_transport = address_pipe
48   retry_use_local_part
49   user = CALLER
50
51
52 # ----- Transports -----
53
54 begin transports
55
56 local_delivery:
57   driver = appendfile
58   file = DIR/test-mail/$local_part
59   user = CALLER
60
61 address_file:
62   driver = appendfile
63   user = CALLER
64
65 address_pipe:
66   driver = pipe
67   return_output
68
69
70 # ----- Retry -----
71
72
73 begin retry
74
75 * * F,5d,1d
76
77
78 # End