| 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 |
| 8 | spool_directory = DIR/spool |
| 9 | log_file_path = DIR/spool/log/%slog |
| 10 | gecos_pattern = "" |
| 11 | gecos_name = CALLER_NAME |
| 12 | tls_advertise_hosts = |
| 13 | |
| 14 | # ----- Main settings ----- |
| 15 | |
| 16 | disable_ipv6 = true |
| 17 | |
| 18 | domainlist local_domains = test.ex : myhost.ex |
| 19 | |
| 20 | acl_smtp_rcpt = check_recipient$local_part |
| 21 | sender_unqualified_hosts = +include_unknown: ^ten-1\\.test\\.ex |
| 22 | LOG_SELECTOR |
| 23 | |
| 24 | # ------ ACL ------ |
| 25 | |
| 26 | begin acl |
| 27 | |
| 28 | check_recipientx: |
| 29 | accept hosts = : |
| 30 | deny hosts = +include_unknown : ^ten-1\\.test\\.ex |
| 31 | accept domains = +local_domains |
| 32 | deny message = relay not permitted |
| 33 | |
| 34 | check_recipienty: |
| 35 | accept hosts = non.existent.invalid : V4NET.0.0.13 |
| 36 | deny message = "Denied" |
| 37 | |
| 38 | check_recipientz: |
| 39 | accept hosts = +ignore_unknown : non.existent.invalid : V4NET.0.0.13 |
| 40 | deny message = "Denied" |
| 41 | |
| 42 | check_recipienta: |
| 43 | accept hosts = : |
| 44 | deny hosts = +include_defer : test.again.dns |
| 45 | accept domains = +local_domains |
| 46 | deny message = relay not permitted |
| 47 | |
| 48 | check_recipientb: |
| 49 | accept hosts = test.again.dns : V4NET.0.0.13 |
| 50 | deny message = "Denied" |
| 51 | |
| 52 | check_recipientc: |
| 53 | accept hosts = +ignore_defer : test.again.dns : V4NET.0.0.13 |
| 54 | deny message = "Denied" |
| 55 | |
| 56 | # End |