Manualroute: use same host for all RCPTs of a message, even under hosts_randomize...
[users/jgh/exim.git] / test / confs / 0065
1 # Exim test configuration 0065
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 acl_smtp_rcpt = check_recipient
14 domainlist local_domains = test.ex : myhost.ex
15 domainlist relay_domains = test.ex
16 hostlist relay_hosts = "1.2.3.4 : !1.2.3.0/24 : 1.2.0.0/16 : \
17                      net16-lsearch;DIR/aux-fixed/TESTNUM.nets : \
18                      net24-lsearch;DIR/aux-fixed/TESTNUM.nets : \
19                      net-lsearch;DIR/aux-fixed/TESTNUM.nets"
20
21
22 # ------ ACL ------
23
24 begin acl
25
26 check_recipient:
27   accept  domains = +local_domains
28   accept  domains = +relay_domains
29   accept  hosts = +relay_hosts
30   deny    message = relay not permitted
31
32
33 # End