| 1 | # Exim test configuration 0077 |
| 2 | |
| 3 | exim_path = EXIM_PATH |
| 4 | host_lookup_order = bydns |
| 5 | primary_hostname = myhost.test.ex |
| 6 | rfc1413_query_timeout = 0s |
| 7 | spool_directory = DIR/spool |
| 8 | log_file_path = DIR/spool/log/%slog |
| 9 | gecos_pattern = "" |
| 10 | gecos_name = CALLER_NAME |
| 11 | |
| 12 | # ----- Main settings ----- |
| 13 | |
| 14 | domainlist local_domains = test.ex : myhost.test.ex |
| 15 | acl_smtp_rcpt = check_recipient |
| 16 | |
| 17 | |
| 18 | # ------ ACL ------ |
| 19 | |
| 20 | begin acl |
| 21 | |
| 22 | check_recipient: |
| 23 | deny hosts = ! @ : ! localhost |
| 24 | accept domains = +local_domains |
| 25 | deny message = relay not permitted |
| 26 | |
| 27 | |
| 28 | # End |