Merge branch 'master'
[exim.git] / test / confs / 0062
1 # Exim test configuration 0062
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 acl_smtp_data = check_message
17
18 domainlist local_domains = test.ex : myhost.ex
19
20 domainlist relay_domains = test.ex
21 hostlist relay_hosts = *-2.test.ex : *-3-alias.test.ex
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 check_message:
35   accept
36
37 # End