# Exim test configuration 3404

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

trusted_users = CALLER


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

begin authenticators

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

login:
  driver = plaintext
  public_name = LOGIN
  client_send = :userx:secret
  client_ignore_invalid_base64


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

begin routers

all:
  driver = manualroute
  domains = domain.com : myhost.test.ex
  headers_add = X-AID: >$authenticated_id<
  route_list = * 127.0.0.1 byname
  self = send
  transport = smtp

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

begin transports

smtp:
  driver = smtp
  hosts_try_auth = *
  port = PORT_S


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

begin retry

* * F,1h,10m


# End