| 1 | # Exim test configuration 0157 |
| 2 | |
| 3 | exim_path = EXIM_PATH |
| 4 | host_lookup_order = bydns |
| 5 | spool_directory = DIR/spool |
| 6 | log_file_path = DIR/spool/log/%slog |
| 7 | gecos_pattern = "" |
| 8 | gecos_name = CALLER_NAME |
| 9 | tls_advertise_hosts = |
| 10 | |
| 11 | # ----- Main settings ----- |
| 12 | |
| 13 | acl_smtp_rcpt = check_recipient |
| 14 | |
| 15 | domainlist local_domains = test.ex |
| 16 | hostlist relay_hosts = V4NET.0.0.1 : V4NET.0.0.2 |
| 17 | qualify_domain = test.ex |
| 18 | |
| 19 | # ----- ACL ----- |
| 20 | |
| 21 | begin acl |
| 22 | |
| 23 | check_recipient: |
| 24 | accept hosts = : |
| 25 | accept domains = +local_domains |
| 26 | accept hosts = V4NET.0.0.1 |
| 27 | endpass |
| 28 | message = invalid sender |
| 29 | senders = userx@test.ex |
| 30 | accept hosts = +relay_hosts |
| 31 | deny message = relay not permitted |
| 32 | |
| 33 | # End |