# Exim test configuration 0300

DELAY=0s
PAH=127.0.0.1

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

acl_smtp_connect = check_connect
acl_smtp_helo = check_helo
acl_smtp_rcpt = accept
pipelining_advertise_hosts = PAH


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

begin ACL

check_connect:
  accept     delay = DELAY

check_helo:
  warn     condition = ${if eq {$sender_helo_name}{dis.able}{yes}{no}}
           control = no_enforce_sync
  accept


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

begin routers

r1:
  driver = redirect
  data = :blackhole:

# End