7d08f964090073e3d3b54dffd0ca59bef54d67a4
[users/heiko/exim.git] / test / confs / 0065
1 # Exim test configuration 0065
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.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 = "1.2.3.4 : !1.2.3.0/24 : 1.2.0.0/16 : \
19                      net16-lsearch;DIR/aux-fixed/TESTNUM.nets : \
20                      net24-lsearch;DIR/aux-fixed/TESTNUM.nets : \
21                      net-lsearch;DIR/aux-fixed/TESTNUM.nets"
22
23
24 # ------ ACL ------
25
26 begin acl
27
28 check_recipient:
29   accept  domains = +local_domains
30   accept  domains = +relay_domains
31   accept  hosts = +relay_hosts
32   deny    message = relay not permitted
33
34
35 # End