0c28c64846052e78c727f8e5cad9813a8389b057
[exim.git] / test / confs / 0069
1 # Exim test configuration 0069
2
3 LOG_SELECTOR=
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 disable_ipv6 = true
16
17 domainlist local_domains = test.ex : myhost.ex
18
19 acl_smtp_rcpt = check_recipient$local_part
20 sender_unqualified_hosts = +include_unknown: ^ten-1\\.test\\.ex
21 LOG_SELECTOR
22
23 # ------ ACL ------
24
25 begin acl
26
27 check_recipientx:
28   accept  hosts = :
29   deny    hosts = +include_unknown : ^ten-1\\.test\\.ex
30   accept  domains = +local_domains
31   deny    message = relay not permitted
32
33 check_recipienty:
34   accept  hosts = non.existent.invalid : V4NET.0.0.13
35   deny    message = "Denied"
36
37 check_recipientz:
38   accept  hosts = +ignore_unknown : non.existent.invalid : V4NET.0.0.13
39   deny    message = "Denied"
40
41 check_recipienta:
42   accept  hosts = :
43   deny    hosts = +include_defer : test.again.dns
44   accept  domains = +local_domains
45   deny    message = relay not permitted
46
47 check_recipientb:
48   accept  hosts = test.again.dns : V4NET.0.0.13
49   deny    message = "Denied"
50
51 check_recipientc:
52   accept  hosts = +ignore_defer : test.again.dns : V4NET.0.0.13
53   deny    message = "Denied"
54
55 # End