9becb261fd0934cf1ec7159b83b4ad1a7c84e91b
[exim.git] / test / confs / 0062
1 # Exim test configuration 0062
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 acl_smtp_data = check_message
15
16 domainlist local_domains = test.ex : myhost.ex
17
18 domainlist relay_domains = test.ex
19 hostlist relay_hosts = *-2.test.ex : *-3-alias.test.ex
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 check_message:
33   accept
34
35 # End