| 1 | # Exim test configuration 0153 |
| 2 | |
| 3 | exim_path = EXIM_PATH |
| 4 | host_lookup_order = bydns |
| 5 | rfc1413_query_timeout = 0s |
| 6 | spool_directory = DIR/spool |
| 7 | log_file_path = DIR/spool/log/%slog |
| 8 | gecos_pattern = "" |
| 9 | gecos_name = CALLER_NAME |
| 10 | |
| 11 | # ----- Main settings ----- |
| 12 | |
| 13 | |
| 14 | # ----- Routers ----- |
| 15 | |
| 16 | begin routers |
| 17 | |
| 18 | virtual: |
| 19 | driver = redirect |
| 20 | domains = *.virt.test.ex |
| 21 | address_data = ${if match{$domain}{^(.*)\\.virt\\.test\\.ex\$}{$1}} |
| 22 | data = ${if exists{DIR/aux-fixed/TESTNUM.alias.$address_data} \ |
| 23 | {${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias.$address_data}}} \ |
| 24 | fail} |
| 25 | no_more |
| 26 | |
| 27 | list: |
| 28 | driver = redirect |
| 29 | domains = list.test.ex |
| 30 | file = ${if exists{DIR/aux-fixed/TESTNUM.list.$local_part} \ |
| 31 | {DIR/aux-fixed/TESTNUM.list.$local_part}fail} |
| 32 | no_more |
| 33 | |
| 34 | real: |
| 35 | driver = accept |
| 36 | verify_only |
| 37 | |
| 38 | |
| 39 | # End |