1 # Exim test configuration 3465
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
11 gecos_name = CALLER_NAME
13 # ----- Main settings -----
15 acl_smtp_rcpt = accept
17 domainlist local_domains = test.ex
19 log_selector = +smtp_no_mail
23 tls_advertise_hosts = *
24 tls_certificate = DIR/aux-fixed/cert1
25 tls_privatekey = DIR/aux-fixed/cert1
28 # ----- Authenticators -----
36 ${if and {{eq{$2}{userx}}{eq{$3}{secret1}}}{yes}{no}}"
38 client_condition = ${if !eq {$tls_out_cipher}{}}
39 client_send = ^userx^secret1
44 server_prompts = User Name : Password
46 ${if and {{eq{$auth1}{usery}}{eq{$auth2}{secret2}}}{yes}{no}}"
47 server_set_id = $auth1
48 client_send = : usery : secret2
60 # ----- Transports -----
68 hosts_avoid_tls = HOSTS_AVOID_TLS
69 tls_try_verify_hosts = :
70 hosts_require_auth = *
73 # These can be made visible by adding "-d-all+deliver+transport+tls" to the script 1st queuerun
74 headers_add = X-tls-cipher: <$tls_cipher>
75 headers_add = X-tls-out-cipher: <$tls_out_cipher>