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