| 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 | rfc1413_query_timeout = 0s |
| 9 | spool_directory = DIR/spool |
| 10 | log_file_path = DIR/spool/log/%slog |
| 11 | gecos_pattern = "" |
| 12 | gecos_name = CALLER_NAME |
| 13 | |
| 14 | # ----- Main settings ----- |
| 15 | |
| 16 | domainlist local_domains = test.ex : myhost.ex |
| 17 | |
| 18 | acl_smtp_rcpt = check_recipient$local_part |
| 19 | sender_unqualified_hosts = +include_unknown: ^ten-1\\.test\\.ex |
| 20 | LOG_SELECTOR |
| 21 | |
| 22 | # ------ ACL ------ |
| 23 | |
| 24 | begin acl |
| 25 | |
| 26 | check_recipientx: |
| 27 | accept hosts = : |
| 28 | deny hosts = +include_unknown : ^ten-1\\.test\\.ex |
| 29 | accept domains = +local_domains |
| 30 | deny message = relay not permitted |
| 31 | |
| 32 | check_recipienty: |
| 33 | accept hosts = non.existent.invalid : V4NET.0.0.13 |
| 34 | deny message = "Denied" |
| 35 | |
| 36 | check_recipientz: |
| 37 | accept hosts = +ignore_unknown : non.existent.invalid : V4NET.0.0.13 |
| 38 | deny message = "Denied" |
| 39 | |
| 40 | # End |