# Exim test configuration 2118

.include DIR/aux-var/tls_conf_prefix

primary_hostname = myhost.test.ex

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

queue_only

tls_advertise_hosts = *
tls_certificate = DIR/aux-fixed/cert1
tls_privatekey = DIR/aux-fixed/cert1

acl_smtp_rcpt = acl_tls

# ------ ACLs ------

begin acl

acl_tls:
  accept endpass
         message = "You must encrypt"
         encrypted = *

# End