| 1 | # Exim test configuration 0451 |
| 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 | |
| 13 | # ----- Main settings ----- |
| 14 | |
| 15 | qualify_domain = test.ex |
| 16 | |
| 17 | acl_smtp_rcpt = accept |
| 18 | acl_smtp_data = data_check |
| 19 | |
| 20 | |
| 21 | |
| 22 | # ----- Routers ----- |
| 23 | |
| 24 | begin routers |
| 25 | |
| 26 | r1: |
| 27 | driver = redirect |
| 28 | allow_fail |
| 29 | data = ${if eq{$local_part}{good}{}{:fail:custom message}} |
| 30 | |
| 31 | r2: |
| 32 | driver = accept |
| 33 | local_parts = good |
| 34 | verify_only |
| 35 | |
| 36 | |
| 37 | |
| 38 | # ----- ACL ----- |
| 39 | |
| 40 | begin AcL |
| 41 | |
| 42 | data_check: |
| 43 | accept message = message="$acl_verify_message" |
| 44 | verify = sender |
| 45 | |
| 46 | |
| 47 | # End |