Use compressed form of ipv6 in $sender_host_address under -bh. Bug 3027
[exim.git] / test / confs / 0057
1 # Exim test configuration 0057
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.ex
6
7 # ----- Main settings -----
8
9 acl_smtp_rcpt = check_recipient
10
11 domainlist local_domains = test.ex : myhost.ex : *.test.ex
12 domainlist relay_domains = test.ex : !*
13
14 percent_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
20 begin acl
21
22 check_recipient:
23   accept  domains = +local_domains
24   accept  domains = +relay_domains
25   deny    message = relay not permitted
26
27
28 # ----- Routers -----
29
30 begin routers
31
32 fail_remote_domains:
33   driver = redirect
34   domains = ! +local_domains
35   data = :fail: unrouteable mail domain "$domain"
36
37 localuser:
38   driver = accept
39   local_parts = userx
40   verify_only
41
42 # End