| 1 | # Exim test configuration 3208 |
| 2 | |
| 3 | exim_path = EXIM_PATH |
| 4 | host_lookup_order = bydns |
| 5 | primary_hostname = myhost.test.ex |
| 6 | qualify_domain = test.ex |
| 7 | rfc1413_query_timeout = 0s |
| 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 | acl_smtp_rcpt = check_recipient |
| 16 | |
| 17 | domainlist local_domains = !*relay.ex : test.ex : testhack.ex : \ |
| 18 | testhack2.ex : testdb;defer |
| 19 | |
| 20 | domainlist relay_domains = test.ex : testhack.ex : testhack2.ex : \ |
| 21 | yesrelay.ex : testdb;defer |
| 22 | |
| 23 | percent_hack_domains = !*relay.ex : !test.ex : testhack.ex : testdb;defer |
| 24 | |
| 25 | |
| 26 | # ----- ACL ----- |
| 27 | |
| 28 | begin acl |
| 29 | |
| 30 | check_recipient: |
| 31 | # Exim 3 had no checking on -bs messages |
| 32 | accept hosts = : |
| 33 | accept domains = +local_domains |
| 34 | accept domains = +relay_domains |
| 35 | deny message = relay not permitted |
| 36 | |
| 37 | # End |