Cutthrough: Reflect 5xx recipient reject from target to originator
[users/heiko/exim.git] / test / confs / 0518
1 # Exim test configuration 0518
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11 tls_advertise_hosts =
12
13 # ----- Main settings -----
14
15 acl_smtp_rcpt = check_rcpt
16
17 queue_only
18
19
20 # ----- ACLs -----
21
22 begin acl
23
24 check_rcpt:
25   accept  verify = recipient/callout
26
27
28 # ----- Routers -----
29
30 begin routers
31
32 r1:
33   driver = accept
34   local_part_prefix = *+
35   local_part_suffix = -*
36   local_part_prefix_optional
37   local_part_suffix_optional
38   transport = ${if eq {$domain}{include}{t1}{t2}}
39
40
41 # ----- Transports -----
42
43 begin transports
44
45 t1:
46   driver = smtp
47   hosts = 127.0.0.1
48   port = PORT_S
49   allow_localhost
50   rcpt_include_affixes
51
52 t2:
53   driver = smtp
54   hosts = 127.0.0.1
55   port = PORT_S
56   allow_localhost
57
58 # End