| 1 | # Exim test configuration 0072 |
| 2 | |
| 3 | ONCE=once=DIR/spool/autolog |
| 4 | ONLY= |
| 5 | RETURN= |
| 6 | |
| 7 | exim_path = EXIM_PATH |
| 8 | host_lookup_order = bydns |
| 9 | spool_directory = DIR/spool |
| 10 | log_file_path = DIR/spool/log/%slog |
| 11 | gecos_pattern = "" |
| 12 | gecos_name = CALLER_NAME |
| 13 | tls_advertise_hosts = |
| 14 | |
| 15 | # ----- Main settings ----- |
| 16 | |
| 17 | qualify_domain = test.ex |
| 18 | |
| 19 | |
| 20 | # ----- Routers ----- |
| 21 | |
| 22 | begin routers |
| 23 | |
| 24 | filter: |
| 25 | driver = redirect |
| 26 | local_parts = userx-filter |
| 27 | allow_filter |
| 28 | data = #Exim filter\n seen mail text "This is an autoreply." |
| 29 | user = EXIMUSER |
| 30 | |
| 31 | |
| 32 | reply: |
| 33 | driver = accept |
| 34 | retry_use_local_part |
| 35 | senders = ! |
| 36 | transport = reply |
| 37 | |
| 38 | localuser: |
| 39 | driver = accept |
| 40 | check_local_user |
| 41 | transport = local_delivery |
| 42 | |
| 43 | |
| 44 | # ----- Transports ----- |
| 45 | |
| 46 | begin transports |
| 47 | |
| 48 | reply: |
| 49 | driver = autoreply |
| 50 | text = "Test auto reply to ${escape:$h_subject:}" |
| 51 | to = $reply_address |
| 52 | user = EXIMUSER |
| 53 | ONCE |
| 54 | RETURN |
| 55 | ONLY |
| 56 | |
| 57 | local_delivery: |
| 58 | driver = appendfile |
| 59 | delivery_date_add |
| 60 | envelope_to_add |
| 61 | file = DIR/test-mail/$local_part |
| 62 | return_path_add |
| 63 | |
| 64 | |
| 65 | # End |