Merge from master into 4.next
[users/heiko/exim.git] / test / confs / 0065
1 # Exim test configuration 0065
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 acl_smtp_rcpt = check_recipient
10 domainlist local_domains = test.ex : myhost.ex
11 domainlist relay_domains = test.ex
12 hostlist relay_hosts = "1.2.3.4 : !1.2.3.0/24 : 1.2.0.0/16 : \
13                      net16-lsearch;DIR/aux-fixed/TESTNUM.nets : \
14                      net24-lsearch;DIR/aux-fixed/TESTNUM.nets : \
15                      net-lsearch;DIR/aux-fixed/TESTNUM.nets"
16
17
18 # ------ ACL ------
19
20 begin acl
21
22 check_recipient:
23   accept  domains = +local_domains
24   accept  domains = +relay_domains
25   accept  hosts = +relay_hosts
26   deny    message = relay not permitted
27
28
29 # End