Commit | Line | Data |
---|---|---|
afda344b PH |
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 | |
afda344b PH |
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 | domainlist local_domains = test.ex : myhost.ex | |
16 | ||
17 | acl_smtp_rcpt = check_recipient$local_part | |
18 | sender_unqualified_hosts = +include_unknown: ^ten-1\\.test\\.ex | |
19 | LOG_SELECTOR | |
20 | ||
21 | # ------ ACL ------ | |
22 | ||
23 | begin acl | |
24 | ||
25 | check_recipientx: | |
26 | accept hosts = : | |
27 | deny hosts = +include_unknown : ^ten-1\\.test\\.ex | |
28 | accept domains = +local_domains | |
29 | deny message = relay not permitted | |
30 | ||
31 | check_recipienty: | |
32 | accept hosts = non.existent.invalid : V4NET.0.0.13 | |
33 | deny message = "Denied" | |
34 | ||
35 | check_recipientz: | |
36 | accept hosts = +ignore_unknown : non.existent.invalid : V4NET.0.0.13 | |
37 | deny message = "Denied" | |
38 | ||
d52120f2 PH |
39 | check_recipienta: |
40 | accept hosts = : | |
41 | deny hosts = +include_defer : test.again.dns | |
42 | accept domains = +local_domains | |
43 | deny message = relay not permitted | |
44 | ||
45 | check_recipientb: | |
46 | accept hosts = test.again.dns : V4NET.0.0.13 | |
47 | deny message = "Denied" | |
48 | ||
49 | check_recipientc: | |
50 | accept hosts = +ignore_defer : test.again.dns : V4NET.0.0.13 | |
51 | deny message = "Denied" | |
52 | ||
afda344b | 53 | # End |