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