| 1 | # Exim test configuration 0064 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | primary_hostname = myhost.test.ex |
| 6 | |
| 7 | # ----- Main settings ----- |
| 8 | |
| 9 | acl_smtp_rcpt = check_recipient |
| 10 | domainlist local_domains = test.ex : myhost.ex |
| 11 | domainlist relay_domains = test.ex |
| 12 | hostlist relay_hosts = lsearch;DIR/aux-fixed/TESTNUM.hosts |
| 13 | |
| 14 | # ------ ACL ------ |
| 15 | |
| 16 | begin acl |
| 17 | |
| 18 | check_recipient: |
| 19 | accept domains = +local_domains |
| 20 | accept domains = +relay_domains |
| 21 | accept hosts = +relay_hosts |
| 22 | deny message = relay not permitted |
| 23 | |
| 24 | # End |