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