| 1 | # Exim test configuration 0324 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | primary_hostname = myhost.test.ex |
| 6 | |
| 7 | # ----- Main settings ----- |
| 8 | |
| 9 | |
| 10 | # ----- Routers ----- |
| 11 | |
| 12 | begin routers |
| 13 | |
| 14 | r1: |
| 15 | driver = accept |
| 16 | transport = t1 |
| 17 | headers_add = X-match: ${if match{$message_headers}{final}{YES}{NO}}\n\ |
| 18 | Y-match: ${if match{$h_X-Long:}{final}{YES}{NO}}\n\ |
| 19 | Z-match: ${if match{$h_X-LONG:}{another}{YES}{NO}} |
| 20 | |
| 21 | |
| 22 | # ----- Transports ----- |
| 23 | |
| 24 | begin transports |
| 25 | |
| 26 | t1: |
| 27 | driver = appendfile |
| 28 | file = DIR/test-mail/$local_part |
| 29 | user = CALLER |
| 30 | |
| 31 | # End |