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