# Exim test configuration 3600

SERVER=

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

acl_smtp_rcpt = check_recipient
queue_only
trusted_users = CALLER


# ----- ACL -----

begin acl

check_recipient:
  deny     message = authentication required
          !authenticated = *
  accept


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

begin authenticators

# Forced expansion failure
spabad:
  driver = spa
  public_name = NTLMX
  client_password = ${if eq{1}{0}{xxx}fail}
  client_username = username
  server_password = ok@test.ex
  server_set_id = $auth1

spa:
  driver = spa
  public_name = NTLM
  client_password = $sender_address
  client_username = username
  server_debug_print = +++SPA \$auth1="$auth1"
  server_password = ok@test.ex
  server_set_id = $auth1


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

begin routers

r1:
  driver = accept
  transport = t1


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

begin transports

t1:
  driver = smtp
  hosts = 127.0.0.1
  port = PORT_D
  hosts_try_fastopen =	:
  allow_localhost
  hosts_require_auth = *


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

begin retry

*  *  F,1d,1d

# End
