| 1 | # Exim test configuration 0377 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | primary_hostname = myhost.test.ex |
| 6 | |
| 7 | # ----- Main settings ----- |
| 8 | |
| 9 | domainlist local_domains = test.ex |
| 10 | |
| 11 | |
| 12 | # ----- Routers ----- |
| 13 | |
| 14 | begin routers |
| 15 | |
| 16 | defer: |
| 17 | driver = redirect |
| 18 | local_parts = ^defer |
| 19 | allow_defer |
| 20 | data = :defer: forced defer |
| 21 | |
| 22 | unseen_aaaa: |
| 23 | driver = redirect |
| 24 | local_parts = aaaa |
| 25 | condition = ${if first_delivery{yes}{no}} |
| 26 | data = defer_aaaa@$domain |
| 27 | unseen |
| 28 | |
| 29 | seen_aaaa: |
| 30 | driver = accept |
| 31 | local_parts = aaaa |
| 32 | transport = t1 |
| 33 | |
| 34 | bbbb: |
| 35 | driver = redirect |
| 36 | local_parts = bbbb |
| 37 | condition = ${if first_delivery{yes}{no}} |
| 38 | data = bbbb@$domain, defer_bbbb@$domain |
| 39 | |
| 40 | bbbb_0: |
| 41 | driver = accept |
| 42 | local_parts = bbbb |
| 43 | transport = t1 |
| 44 | |
| 45 | cccc_2nd_time: |
| 46 | driver = redirect |
| 47 | local_parts = cccc |
| 48 | condition = ${if first_delivery{no}{yes}} |
| 49 | data = $local_part@$domain |
| 50 | |
| 51 | cccc_redirect: |
| 52 | driver = redirect |
| 53 | local_parts = cccc |
| 54 | data = cccc@$domain, defer_cccc@$domain |
| 55 | |
| 56 | cccc_accept: |
| 57 | driver = accept |
| 58 | local_parts = cccc |
| 59 | transport = t1 |
| 60 | |
| 61 | |
| 62 | # ----- Transports ----- |
| 63 | |
| 64 | begin transports |
| 65 | |
| 66 | t1: |
| 67 | driver = appendfile |
| 68 | file = DIR/test-mail/$local_part |
| 69 | user = CALLER |
| 70 | |
| 71 | |
| 72 | # ----- Retry ----- |
| 73 | |
| 74 | begin retry |
| 75 | |
| 76 | * * F,5d,10s |
| 77 | |
| 78 | |
| 79 | # End |