# Exim test configuration 0253

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

log_selector = +return_path_on_delivery
trusted_users = CALLER
remote_max_parallel = 1


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

begin routers

r0:
  driver = accept
  senders = :
  transport = t0

r1:
  driver = accept
  senders = abc@x.y.z
  transport = t1

r2:
  driver = accept
  senders = xyz@x.y.z
  transport = t2

r3:
  driver = accept
  transport = t3
  errors_to = lmn@myhost.test.ex


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

begin transports

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

t1:
  driver = appendfile
  batch_max = 100
  file = DIR/test-mail/t1
  return_path = modified@x.y.z
  use_bsmtp
  user = CALLER

t2:
  driver = appendfile
  file = DIR/test-mail/t2
  return_path = abc=$local_part+$domain@verp.domain
  use_bsmtp
  user = CALLER

t3:
  driver = smtp
  hosts = 127.0.0.1
  port = PORT_S
  hosts_try_fastopen = :
  max_rcpt = 1
  allow_localhost
  return_path = pqr=$local_part+$domain@verp.domain


# End
