| 1 | # Exim test configuration 3205 |
| 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 = acl_${tr{$sender_host_address}{.}{_}} |
| 10 | domainlist local_domains = test.ex |
| 11 | |
| 12 | # ----- ACL ----- |
| 13 | |
| 14 | begin acl |
| 15 | |
| 16 | acl_1_2_3_4: |
| 17 | deny senders = testdb;defer |
| 18 | accept domains = +local_domains |
| 19 | deny message = relay not permitted |
| 20 | |
| 21 | |
| 22 | acl_4_3_2_1: |
| 23 | accept hosts = : |
| 24 | deny hosts = testdb;defer |
| 25 | accept domains = +local_domains |
| 26 | deny message = relay not permitted |
| 27 | |
| 28 | # End |