| 1 | # Exim test configuration 3208 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | primary_hostname = myhost.test.ex |
| 6 | qualify_domain = test.ex |
| 7 | |
| 8 | # ----- Main settings ----- |
| 9 | |
| 10 | acl_smtp_rcpt = check_recipient |
| 11 | |
| 12 | domainlist local_domains = !*relay.ex : test.ex : testhack.ex : \ |
| 13 | testhack2.ex : testdb;defer |
| 14 | |
| 15 | domainlist relay_domains = test.ex : testhack.ex : testhack2.ex : \ |
| 16 | yesrelay.ex : testdb;defer |
| 17 | |
| 18 | percent_hack_domains = !*relay.ex : !test.ex : testhack.ex : testdb;defer |
| 19 | |
| 20 | |
| 21 | # ----- ACL ----- |
| 22 | |
| 23 | begin acl |
| 24 | |
| 25 | check_recipient: |
| 26 | # Exim 3 had no checking on -bs messages |
| 27 | accept hosts = : |
| 28 | accept domains = +local_domains |
| 29 | accept domains = +relay_domains |
| 30 | deny message = relay not permitted |
| 31 | |
| 32 | # End |