| 1 | # Exim test configuration 0305 |
| 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 | domainlist ok_domains = ${if eq{$domain}{ten-1.test.ex}{$domain}} |
| 16 | |
| 17 | acl_smtp_rcpt = acl1 |
| 18 | |
| 19 | # ----- ACLs ----- |
| 20 | |
| 21 | begin acl |
| 22 | |
| 23 | acl1: |
| 24 | accept domains = +ok_domains |
| 25 | |
| 26 | |
| 27 | # ------ Routers ------ |
| 28 | |
| 29 | begin routers |
| 30 | |
| 31 | r1: |
| 32 | driver = accept |
| 33 | domains = +ok_domains |
| 34 | verify_only |
| 35 | |
| 36 | |
| 37 | # End |