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