Testsuite: unbreak testcase
[exim.git] / test / confs / 0057
CommitLineData
afda344b
PH
1# Exim test configuration 0057
2
d4dc049f
JH
3.include DIR/aux-var/std_conf_prefix
4
afda344b 5primary_hostname = myhost.ex
afda344b
PH
6
7# ----- Main settings -----
8
9acl_smtp_rcpt = check_recipient
10
11domainlist local_domains = test.ex : myhost.ex : *.test.ex
12domainlist relay_domains = test.ex : !*
13
14percent_hack_domains = ! a.test.ex : !b.test.ex : \
15 !DIR/aux-fixed/TESTNUM.d1 : ! DIR/aux-fixed/TESTNUM.d2 : *.test.ex
16
17
18# ------ ACL ------
19
20begin acl
21
22check_recipient:
23 accept domains = +local_domains
24 accept domains = +relay_domains
25 deny message = relay not permitted
26
27
28# ----- Routers -----
29
30begin routers
31
32fail_remote_domains:
33 driver = redirect
34 domains = ! +local_domains
35 data = :fail: unrouteable mail domain "$domain"
36
37localuser:
38 driver = accept
39 local_parts = userx
40 verify_only
41
42# End