1 # Exim test configuration 3461
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 rfc1413_query_timeout = 0s
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
12 gecos_name = CALLER_NAME
14 # ----- Main settings -----
16 acl_smtp_rcpt = accept
18 log_selector = +tls_peerdn
23 smtp_accept_max_nonmail = 0
25 tls_advertise_hosts = *
27 # Set certificate only if server
29 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
30 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
33 # ----- Authenticators -----
41 ${if and {{eq{$2}{userx}}{eq{$3}{secret}}}{yes}{no}}"
43 client_send = ^userx^secret
52 condition = ${if eq {SERVER}{server}{no}{yes}}
54 transport = send_to_server
59 transport = local_delivery
62 # ----- Transports -----
68 file = DIR/test-mail/$local_part
69 headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn