Cutthrough: Reflect 5xx recipient reject from target to originator
[users/heiko/exim.git] / test / confs / 0087
1 # Exim test configuration 0087
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 domainlist local_domains = test.ex
16
17 acl_smtp_rcpt = check_recipient
18 acl_smtp_data = check_message
19
20
21 # ----- ACL -----
22
23 begin acl
24
25 check_recipient:
26   accept  hosts = :
27   require verify = sender
28   accept  domains = +local_domains
29   deny    message = relay not permitted
30
31 check_message:
32   require verify = header_sender
33   accept
34
35
36 # ----- Routers -----
37
38 begin routers
39
40 defer:
41   driver = redirect
42   local_parts = defer
43   allow_defer
44   data = :defer: this is a forced defer
45
46 localuser:
47   driver = accept
48   local_parts = userx
49   verify_only
50
51
52 # End