| 1 | # Exim test configuration 0218 |
| 2 | |
| 3 | exim_path = EXIM_PATH |
| 4 | host_lookup_order = bydns |
| 5 | primary_hostname = myhost.test.ex |
| 6 | spool_directory = DIR/spool |
| 7 | log_file_path = DIR/spool/log/%slog |
| 8 | gecos_pattern = "" |
| 9 | gecos_name = CALLER_NAME |
| 10 | |
| 11 | # ----- Main settings ----- |
| 12 | |
| 13 | log_selector = \ |
| 14 | +sender_on_delivery |
| 15 | ignore_bounce_errors_after = 0s |
| 16 | qualify_domain = test.ex |
| 17 | queue_run_in_order |
| 18 | queue_only |
| 19 | |
| 20 | |
| 21 | # ----- ACLs ---- |
| 22 | |
| 23 | begin acl |
| 24 | |
| 25 | expand_check: |
| 26 | accept message = ACL |
| 27 | |
| 28 | # ----- Routers ----- |
| 29 | |
| 30 | begin routers |
| 31 | |
| 32 | bounce: |
| 33 | driver = redirect |
| 34 | allow_defer |
| 35 | allow_fail |
| 36 | data = :fail: just discard |
| 37 | retry_use_local_part |
| 38 | senders = : |
| 39 | debug_print = R: $router_name (${acl {expand_check}}) |
| 40 | |
| 41 | client: |
| 42 | driver = accept |
| 43 | retry_use_local_part |
| 44 | transport = send_to_server |
| 45 | debug_print = R: $router_name (${acl {expand_check}}) |
| 46 | |
| 47 | |
| 48 | # ----- Transports ----- |
| 49 | |
| 50 | begin transports |
| 51 | |
| 52 | send_to_server: |
| 53 | driver = smtp |
| 54 | allow_localhost |
| 55 | command_timeout = 1s |
| 56 | hosts = 127.0.0.1 |
| 57 | port = PORT_S |
| 58 | debug_print = T: $transport_name (${acl {expand_check}}) |
| 59 | |
| 60 | |
| 61 | # ----- Retry ----- |
| 62 | |
| 63 | |
| 64 | begin retry |
| 65 | |
| 66 | * * F,5d,10s |
| 67 | |
| 68 | |
| 69 | # End |