# Exim test configuration 3405

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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


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


begin authenticators

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


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

begin routers

all:
  driver = manualroute
  headers_add = X-AID: >$authenticated_id<
  route_list = * 127.0.0.1 byname
  self = send
  transport = smtp
  no_more


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

begin transports

smtp:
  driver = smtp
  headers_add = X-TAID: >$authenticated_id<
  hosts_try_auth = *
  port = PORT_S

# End