| 1 | # Exim test configuration 5207 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | primary_hostname = myhost.test.ex |
| 6 | |
| 7 | # ----- Main settings ----- |
| 8 | |
| 9 | qualify_domain = test.ex |
| 10 | |
| 11 | # ----- Transports ----- |
| 12 | |
| 13 | begin transports |
| 14 | |
| 15 | t1: |
| 16 | driver = appendfile |
| 17 | file = DIR/test-mail/${if eq{$address_data}{}{$local_part}{$address_data}} |
| 18 | user = CALLER |
| 19 | |
| 20 | # ----- Routers ----- |
| 21 | |
| 22 | begin routers |
| 23 | |
| 24 | # Delivered without changing address_data |
| 25 | |
| 26 | nodata: |
| 27 | driver = accept |
| 28 | local_parts = nodata |
| 29 | transport = t1 |
| 30 | |
| 31 | r6: |
| 32 | driver = queryprogram |
| 33 | domains = r6 |
| 34 | address_data = qpgm |
| 35 | command = /bin/echo ACCEPT transport=t1 |
| 36 | command_user = nobody |
| 37 | |
| 38 | r7: |
| 39 | driver = queryprogram |
| 40 | domains = r7 |
| 41 | address_data = qpgm |
| 42 | command = /bin/echo redirect nodata@test.ex |
| 43 | command_user = nobody |
| 44 | |
| 45 | # ----- Retry ----- |
| 46 | |
| 47 | begin retry |
| 48 | |
| 49 | * * F,5d,5m |
| 50 | |
| 51 | # End |