| 1 | # Exim test configuration 0291 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | trusted_users = CALLER |
| 6 | primary_hostname = myhost.test.ex |
| 7 | |
| 8 | # ----- Main settings ----- |
| 9 | |
| 10 | |
| 11 | # ------ Routers ------ |
| 12 | |
| 13 | begin routers |
| 14 | |
| 15 | # a=>b and b=>c |
| 16 | r1: |
| 17 | driver = redirect |
| 18 | domains = one |
| 19 | data = ${if eq{$local_part}{a}{b}{${if eq{$local_part}{b}{c}}}} |
| 20 | qualify_preserve_domain |
| 21 | |
| 22 | # a=>b and b=>c, but not if generated by a |
| 23 | r2: |
| 24 | driver = redirect |
| 25 | domains = two |
| 26 | data = ${if eq{$local_part}{a}{b}{${if eq{$local_part}{b}{c}}}} |
| 27 | qualify_preserve_domain |
| 28 | no_repeat_use |
| 29 | |
| 30 | accept: |
| 31 | driver = accept |
| 32 | verify_only |
| 33 | |
| 34 | # End |