# Exim test configuration 3412

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

bounce_sender_authentication = mailer-daemon@test.ex
trusted_users = CALLER


# ----- Authentication -----

begin authenticators

plain:
  driver = plaintext
  public_name = PLAIN
  client_send = ^userx^secret


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

begin routers

local:
  driver = redirect
  domains = test.ex
  allow_fail
  data = :fail: no deliveries made locally

remote:
  driver = accept
  transport = smtp


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

begin transports

smtp:
  driver = smtp
  allow_localhost
  hosts = 127.0.0.1
  port = PORT_S
  hosts_try_auth = *

# End