| 1 | # Exim test configuration 3205 |
| 2 | |
| 3 | exim_path = EXIM_PATH |
| 4 | host_lookup_order = bydns |
| 5 | primary_hostname = myhost.test.ex |
| 6 | rfc1413_query_timeout = 0s |
| 7 | spool_directory = DIR/spool |
| 8 | log_file_path = DIR/spool/log/%slog |
| 9 | gecos_pattern = "" |
| 10 | gecos_name = CALLER_NAME |
| 11 | |
| 12 | # ----- Main settings ----- |
| 13 | |
| 14 | acl_smtp_rcpt = acl_${tr{$sender_host_address}{.}{_}} |
| 15 | domainlist local_domains = test.ex |
| 16 | |
| 17 | # ----- ACL ----- |
| 18 | |
| 19 | begin acl |
| 20 | |
| 21 | acl_1_2_3_4: |
| 22 | deny senders = testdb;defer |
| 23 | accept domains = +local_domains |
| 24 | deny message = relay not permitted |
| 25 | |
| 26 | |
| 27 | acl_4_3_2_1: |
| 28 | accept hosts = : |
| 29 | deny hosts = testdb;defer |
| 30 | accept domains = +local_domains |
| 31 | deny message = relay not permitted |
| 32 | |
| 33 | # End |