| 1 | # Exim test configuration 0116 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | |
| 6 | # ----- Main settings ----- |
| 7 | |
| 8 | qualify_domain = test.ex |
| 9 | queue_run_in_order |
| 10 | |
| 11 | |
| 12 | # ----- Routers ----- |
| 13 | |
| 14 | begin routers |
| 15 | |
| 16 | copydeliver: |
| 17 | driver = accept |
| 18 | local_parts = dcopy |
| 19 | retry_use_local_part |
| 20 | transport = appendfile |
| 21 | address_data = data from copydeliver |
| 22 | unseen |
| 23 | |
| 24 | copyalias: |
| 25 | driver = redirect |
| 26 | allow_defer |
| 27 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}} |
| 28 | local_parts = acopy |
| 29 | retry_use_local_part |
| 30 | address_data = data from copyalias |
| 31 | unseen = ${if eq {0}{0}{yes}{no}} |
| 32 | |
| 33 | alias: |
| 34 | driver = redirect |
| 35 | allow_defer |
| 36 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}} |
| 37 | local_parts = defer |
| 38 | retry_use_local_part |
| 39 | unseen = ${if eq {0}{1}{yes}{no}} |
| 40 | |
| 41 | deliver: |
| 42 | driver = accept |
| 43 | retry_use_local_part |
| 44 | transport = appendfile |
| 45 | unseen = ${if eq {0}{1}{yes}{no}} |
| 46 | |
| 47 | |
| 48 | # ----- Transports ----- |
| 49 | |
| 50 | begin transports |
| 51 | |
| 52 | appendfile: |
| 53 | driver = appendfile |
| 54 | file = DIR/test-mail/$local_part |
| 55 | user = CALLER |
| 56 | headers_add = Added: $address_data |
| 57 | |
| 58 | |
| 59 | # ----- Retry ----- |
| 60 | |
| 61 | |
| 62 | begin retry |
| 63 | |
| 64 | * * F,5d,1d |
| 65 | |
| 66 | |
| 67 | # End |