| 1 | # Exim test configuration 5000 |
| 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 | # ----- Main settings ----- |
| 13 | |
| 14 | |
| 15 | # ----- Routers ----- |
| 16 | |
| 17 | begin routers |
| 18 | |
| 19 | localuser: |
| 20 | driver = accept |
| 21 | local_parts = userx |
| 22 | transport = $h_maildir:appendfile |
| 23 | |
| 24 | |
| 25 | # ----- Transports ----- |
| 26 | |
| 27 | begin transports |
| 28 | |
| 29 | maildir_appendfile: |
| 30 | driver = appendfile |
| 31 | directory = DIR/test-mail |
| 32 | maildir_format |
| 33 | quota = 10K |
| 34 | user = CALLER |
| 35 | |
| 36 | maildir_tagged_appendfile: |
| 37 | driver = appendfile |
| 38 | directory = DIR/test-mail |
| 39 | envelope_to_add |
| 40 | maildir_format |
| 41 | maildir_tag = ${expand:$h_tag:} |
| 42 | message_prefix = |
| 43 | quota = 20K |
| 44 | quota_size_regex = S=(\d+)$ |
| 45 | message_suffix = |
| 46 | user = CALLER |
| 47 | |
| 48 | maildir_taggedX_appendfile: |
| 49 | driver = appendfile |
| 50 | directory = DIR/test-mail |
| 51 | envelope_to_add |
| 52 | maildir_format |
| 53 | maildir_tag = ${expand:$h_tag:} |
| 54 | message_prefix = |
| 55 | quota = 20K |
| 56 | quota_size_regex = ,S=(\d+): |
| 57 | message_suffix = |
| 58 | user = CALLER |
| 59 | |
| 60 | |
| 61 | # ----- Retry ----- |
| 62 | |
| 63 | |
| 64 | begin retry |
| 65 | |
| 66 | * * F,5d,1d |
| 67 | |
| 68 | |
| 69 | # End |