# Exim test configuration 3404

exim_path = EXIM_PATH
host_lookup_order = bydns
primary_hostname = myhost.test.ex
rfc1413_query_timeout = 0s
spool_directory = DIR/spool
log_file_path = DIR/spool/log/%slog
gecos_pattern = ""
gecos_name = CALLER_NAME

# ----- 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