Cutthrough: Reflect 5xx recipient reject from target to originator
[users/heiko/exim.git] / test / confs / 0060
1 # Exim test configuration 0060
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.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_recipient
16 domainlist local_domains = test.ex : myhost.ex
17 domainlist relay_domains = test.ex
18 hostlist relay_hosts = "! V4NET.255.0.1 : !V4NET.255.0.2 : \
19   !DIR/aux-var/TESTNUM.d1 : ! DIR/aux-var/TESTNUM.d2 : \
20   ten-1.test.ex : ten-5-6.test.ex"
21
22
23 # ------ ACL ------
24
25 begin acl
26
27 check_recipient:
28   accept  domains = +local_domains
29   accept  domains = +relay_domains
30   accept  hosts = +relay_hosts
31   deny    message = relay not permitted
32
33 # End