1 # Exim test configuration 3460
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
9 gecos_name = CALLER_NAME
11 # ----- Main settings -----
13 domainlist local_domains = test.ex
14 hostlist auth_over_tls_hosts = 127.0.0.1
16 acl_smtp_auth = check_auth
18 tls_advertise_hosts = *
19 tls_certificate = DIR/aux-fixed/cert1
20 tls_privatekey = DIR/aux-fixed/cert1
27 accept hosts = +auth_over_tls_hosts
29 message = STARTTLS required before AUTH
34 # ----- Authenticators -----
43 ${if and {{eq{$2}{userx}}{eq{$3}{secret}}}{yes}{no}}"