# Exim test configuration 0380

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

domainlist local_domains = test.ex


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

begin routers

# This isn't part of this test per se; it's just a check for a bug
# that got fixed (crashing when debugging a forced fail in address_data).
# The router will always decline.

r0:
  driver = accept
  address_data = ${if eq {a}{b}{x}fail}
  transport = t1

r1:
  driver = redirect
  local_parts = aaaa
  file = DIR/non-exist/aaaa

r2:
  driver = redirect
  local_parts = bbbb
  ignore_enotdir
  file = DIR/non-exist/bbbb

r3:
  driver = accept
  transport = t1

# ----- Transports -----

begin transports

t1:
  driver = appendfile
  file = DIR/test-mail/$local_part
  create_file = DIR/test-mail
  user = CALLER


# ----- Retry -----

begin retry

* * F,5d,10s


# End
