# Exim test configuration 0291

.include DIR/aux-var/std_conf_prefix

trusted_users = CALLER
primary_hostname = myhost.test.ex

# ----- Main settings -----


# ------ Routers ------

begin routers

# a=>b and b=>c
r1:
  driver = redirect
  domains = one
  data = ${if eq{$local_part}{a}{b}{${if eq{$local_part}{b}{c}}}}
  qualify_preserve_domain

# a=>b and b=>c, but not if generated by a
r2:
  driver = redirect
  domains = two
  data = ${if eq{$local_part}{a}{b}{${if eq{$local_part}{b}{c}}}}
  qualify_preserve_domain
  no_repeat_use

accept:
  driver = accept
  verify_only

# End