1 # Exim test configuration 5890
6 .include DIR/aux-var/tls_conf_prefix
8 primary_hostname = myhost.test.ex
10 # ----- Main settings -----
12 domainlist local_domains = test.ex : *.test.ex
14 acl_smtp_helo = check_helo
15 acl_smtp_rcpt = check_recipient
16 log_selector = +received_recipients +tls_resumption
18 tls_advertise_hosts = *
20 # Set certificate only if server
22 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
24 tls_require_ciphers = OPTION
25 tls_resumption_hosts = 127.0.0.1
33 accept condition = ${if def:tls_in_cipher}
34 logwrite = tls_in_resumption ${listextract {$tls_in_resumption} {_RESUME_DECODE}}
38 accept domains = +local_domains
39 deny message = relay not permitted
42 accept condition = ${if def:tls_out_cipher}
43 condition = ${if eq {$event_name}{tcp:close}}
44 logwrite = tls_out_resumption ${listextract {$tls_out_resumption} {_RESUME_DECODE}}
53 condition = ${if eq {SERVER}{server}{no}{yes}}
55 transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
61 # ----- Transports -----
70 helo_data = helo.data.changed
72 tls_resumption_hosts = *
74 tls_resumption_hosts = :
76 event_action = ${acl {log_resumption}}
83 event_action = ${acl {log_resumption}}