Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0069 |
2 | ||
3 | LOG_SELECTOR= | |
4 | ||
5 | exim_path = EXIM_PATH | |
bc3c7bb7 | 6 | keep_environment = |
afda344b PH |
7 | host_lookup_order = bydns |
8 | primary_hostname = myhost.test.ex | |
afda344b PH |
9 | spool_directory = DIR/spool |
10 | log_file_path = DIR/spool/log/%slog | |
11 | gecos_pattern = "" | |
12 | gecos_name = CALLER_NAME | |
23f3dc67 | 13 | tls_advertise_hosts = |
afda344b PH |
14 | |
15 | # ----- Main settings ----- | |
16 | ||
7da3cb7c JH |
17 | disable_ipv6 = true |
18 | ||
afda344b PH |
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 | ||
d52120f2 PH |
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 | ||
afda344b | 57 | # End |