Merge ssh://tahini.csx.cam.ac.uk/home/git/exim
[users/jgh/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 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 acl_smtp_rcpt = check_recipient
15 acl_smtp_data = check_message
16
17 domainlist local_domains = test.ex : myhost.ex
18
19 domainlist relay_domains = test.ex
20 hostlist relay_hosts = *-2.test.ex : *-3-alias.test.ex
21
22
23 # ----- ACL -----
24
25 begin acl
26
27 check_recipient:
28   accept  domains = +local_domains
29   accept  domains = +relay_domains
30   accept  hosts = +relay_hosts
31   deny    message = relay not permitted
32
33 check_message:
34   accept
35
36 # End