| 1 | # Exim test configuration 0308 |
| 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 | # Use first three components of address to select ACL |
| 16 | acl_smtp_rcpt = acl_${sg{${tr{$sender_host_address}{.}{_}}}{^(.*)_.*\$}{\$1}} |
| 17 | |
| 18 | # ----- ACLs ----- |
| 19 | |
| 20 | begin acl |
| 21 | |
| 22 | acl_V4NET_0_0: |
| 23 | accept hosts = *.test.ex |
| 24 | accept hosts = V4NET.0.0.97 |
| 25 | |
| 26 | # End |