Add variables for wildcard portion of local-part affix. Bug 281
[exim.git] / test / confs / 0069
1 # Exim test configuration 0069
2
3 LOG_SELECTOR=
4
5 .include DIR/aux-var/std_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 disable_ipv6 = true
12
13 domainlist local_domains = test.ex : myhost.ex
14
15 acl_smtp_rcpt = check_recipient$local_part
16 sender_unqualified_hosts = +include_unknown: ^ten-1\\.test\\.ex
17 LOG_SELECTOR
18
19 # ------ ACL ------
20
21 begin acl
22
23 check_recipientx:
24 accept hosts = :
25 deny hosts = +include_unknown : ^ten-1\\.test\\.ex
26 accept domains = +local_domains
27 deny message = relay not permitted
28
29 check_recipienty:
30 accept hosts = non.existent.invalid : V4NET.0.0.13
31 deny message = "Denied"
32
33 check_recipientz:
34 accept hosts = +ignore_unknown : non.existent.invalid : V4NET.0.0.13
35 deny message = "Denied"
36
37 check_recipienta:
38 accept hosts = :
39 deny hosts = +include_defer : test.again.dns
40 accept domains = +local_domains
41 deny message = relay not permitted
42
43 check_recipientb:
44 accept hosts = test.again.dns : V4NET.0.0.13
45 deny message = "Denied"
46
47 check_recipientc:
48 accept hosts = +ignore_defer : test.again.dns : V4NET.0.0.13
49 deny message = "Denied"
50
51 # End